[ 
https://issues.apache.org/jira/browse/NETBEANS-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric VILLARD updated NETBEANS-2385:
-----------------------------------
    Affects Version/s: 12.5

> Snap package unable to run
> --------------------------
>
>                 Key: NETBEANS-2385
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2385
>             Project: NetBeans
>          Issue Type: Bug
>          Components: platform - Launchers&CLI
>    Affects Versions: 10.0, 11.0, 12.5
>         Environment: Ubuntu 14.04
>            Reporter: Bartosz Tomasik
>            Assignee: Laszlo Kishalmi
>            Priority: Major
>
> I'm using Netbeans snap package. However it seems there's some clash on what 
> netbeans detect as default java and what it tries to use, if I provide 
> _jdkhome_ as an argument everything works. otherwise I get error:
> {quote}{{$ netbeans }}
> {{JVMJ9VM007E Command-line option unrecognised: 
> --add-opens=java.base/java.net=ALL-UNNAMED}}
> {{Error: Could not create the Java Virtual Machine.}}
> {{Error: A fatal exception has occurred. Program will exit.}}
> {quote}
> in contradiction all of this works as expected:
> netbeans --jdkhome /usr/lib/jvm/java-1.11.0-openjdk-amd64
> netbeans --jdkhome /usr/lib/jvm/java-1.8.0-openjdk-amd64
> netbeans --jdkhome /usr/lib/jvm/ibm-java80-jdk-x86_64
> jdk11 is my default java
> {quote}$ update-java-alternatives -l
> ibm-java80-jdk-x86_64          80         /usr/lib/jvm/ibm-java80-jdk-x86_64
> ibm-java80-jre-x86_64          80         /usr/lib/jvm/ibm-java80-jre-x86_64
> java-1.11.0-openjdk-amd64      1111       
> /usr/lib/jvm/java-1.11.0-openjdk-amd64
> java-1.8.0-openjdk-amd64       1081       
> /usr/lib/jvm/java-1.8.0-openjdk-amd64
> java-1.9.0-openjdk-amd64       1091       
> /usr/lib/jvm/java-1.9.0-openjdk-amd64
> {quote}



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

---------------------------------------------------------------------
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