[jbosstools-issues] [JBoss JIRA] (JBDS-3743) Cannot start JBDS 10 with jdk 1.9 EA

Nick Boldt (JIRA) issues at jboss.org
Fri Oct 21 14:21:00 EDT 2016


    [ https://issues.jboss.org/browse/JBDS-3743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13310547#comment-13310547 ] 

Nick Boldt edited comment on JBDS-3743 at 10/21/16 2:20 PM:
------------------------------------------------------------

Reopened to fix JIRA title (this is re: devstudio 10, not 9).

But wanted to also note some other gotchas with using devstudio 10.2.0.AM2 and jdk 9:

a) installer won't run with jdk 9, as noted above
b) installer DOES run with jdk 8, then editing jbdevstudio.ini with these values does allow it to start using jdk 9 ea build 140:

{code}-vm
/opt/jdk-9-ea+140/bin/java
...
-vmargs
--add-modules=java.se.ee{code}

See also !launchdevstudio10.2.0.AM2-with-jdk9ea140-configuration-settings.png|thumbnail!

But then on startup there's no JRE available:

!launchdevstudio10.2.0.AM2-with-jdk9ea140-jre-not-supported.png|thumbnail!




was (Author: nickboldt):
Reopened to fix JIRA title (this is re: devstudio 10, not 9).

But wanted to also note some other gotchas with using devstudio 10.2.0.AM2 and jdk 9:

a) installer won't run with jdk 9, as noted above
b) installer DOES run with jdk 8, then editing jbdevstudio.ini with these values does allow it to start using jdk 9 ea build 140:

{code}-vm
/opt/jdk-9-ea+140/bin/java
...
-vmargs
--add-modules=java.se.ee{code}

See also [^launchdevstudio10.2.0.AM2-with-jdk9ea140-configuration-settings.png]

But then on startup there's no JRE available:

[^launchdevstudio10.2.0.AM2-with-jdk9ea140-jre-not-supported.png]



> Cannot start JBDS 10 with jdk 1.9 EA
> ------------------------------------
>
>                 Key: JBDS-3743
>                 URL: https://issues.jboss.org/browse/JBDS-3743
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: installer, upstream
>    Affects Versions: 9.1.0.Beta1
>            Reporter: Martin Malina
>            Assignee: Snjezana Peco
>             Fix For: 10.0.0.Alpha1
>
>         Attachments: launchdevstudio10.2.0.AM2-with-jdk9ea140-configuration-settings.png, launchdevstudio10.2.0.AM2-with-jdk9ea140-jre-not-found-cant-build.png, launchdevstudio10.2.0.AM2-with-jdk9ea140-jre-not-supported.png
>
>
> Oracle changed their JDK 1.9 Early Access builds recently. Now the installed jdk reports its version as 9-ea instead of 1.9 used previously. This caused a problem with the JBDS installer: JBDS-3581
> But even if I select jdk 1.8 in the installer and change jbdevstudio.ini to point to my 1.9 installation, JBDS won't start (I'm on Mac).
> It just shows an error saying where to look for log. The log is linked here:
> https://issues.jboss.org/secure/attachment/12396824/1453206771791.log
> Upstream BZ: https://bugs.eclipse.org/bugs/show_bug.cgi?id=486213



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list