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

Geertjan Wielenga commented on NETBEANS-257:
--------------------------------------------

There is no need to use ‘ant tryme’.

Set the JDK in netbeans.conf in the installation directory, e.g. in 
nbbuild/netbeans if you built it yourself.

> improve feedback of ant try for OpenJDK
> ---------------------------------------
>
>                 Key: NETBEANS-257
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-257
>             Project: NetBeans
>          Issue Type: Improvement
>    Affects Versions: 9.0
>         Environment: Ubuntu 17.10
>            Reporter: Karl Richter
>
> After building with `ant` in a cleaned `git` clone, I get the recommendation 
> to run with a 9.x JDK in order to avoid the download of a library. That's not 
> possible intuitively because `env JAVA_HOME=/usr/lib/jvm/java-9-openjdk-amd64 
> ant tryme` fails due to `tryme:
>      [exec] Cannot find java. Please use the --jdkhome switch.` and I have no 
> idea how to pass the `--jdkhome` switch through `ant`. Please add information 
> to the error message (there's no need to explain it here, I'll just wait for 
> the fix and figure it out from the new feedback).
> experienced with 9.0-alpha-rc2-353-g74d81e7c9



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to