You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nlpcraft.apache.org by "Sergey Kamov (Jira)" <ji...@apache.org> on 2021/01/19 07:57:00 UTC

[jira] [Commented] (NLPCRAFT-211) Release verify java version issue.

    [ https://issues.apache.org/jira/browse/NLPCRAFT-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17267727#comment-17267727 ] 

Sergey Kamov commented on NLPCRAFT-211:
---------------------------------------

The server doesn't work under Java 15 (at least OpenJDK 15), the reason is Apache Ignite.

So 'mvn clean verify' doesn't work for Java 15 too.

One thing is not clear for me - when JAVA_HOME is not set directly, seems  'mvn clean verify' can use different JAVA versions for the main thread and external server start on pre-test-integration phase.

I think there is one solution: 
 * add a comment on site that now we support only java 11 (not 11 and higher)
 * add the comment that for start 'mvn clean verify' (which starts integration tests) from the command line - the user has to export JAVA_HOME variable directly which should point to Java 11.

[~smakov]  - What do you think ?

> Release verify java version issue.
> ----------------------------------
>
>                 Key: NLPCRAFT-211
>                 URL: https://issues.apache.org/jira/browse/NLPCRAFT-211
>             Project: NLPCraft
>          Issue Type: Bug
>          Components: build &amp; release
>            Reporter: Sergey Kamov
>            Assignee: Sergey Kamov
>            Priority: Major
>             Fix For: 0.7.4
>
>
>  - I don't have JAVA_HOME env variable, but `java -version` command shows '11'.
>  - When I execute `mvn clean verify`, on pre-integration phase sever started under java 15 and hang on start.
> We have to set a concrete java version in pom.xml for integration tests if it is possible or describe how to avoid this problem if the user has java 15 because it can be used somehow.
> (Checked under two different bigSur installation, where were installed: oracle jdk8 and 11, open java 15 was installed indirect way, maybe with `brew`)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)