[jbosstools-issues] [JBoss JIRA] (JBDS-3743) Cannot use JBDS 10.2 with jdk 9 EA build 140
Nick Boldt (JIRA)
issues at jboss.org
Fri Oct 21 14:27: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:26 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 by editing `jbdevstudio.ini` with these values you can START devstudio 10.2 using jdk 9 ea build 140:
{code}-vm
/opt/jdk-9-ea+140/bin/java
...
-vmargs
--add-modules=java.se.ee{code}
!launchdevstudio10.2.0.AM2-with-jdk9ea140-configuration-settings.png|thumbnail!
However... (and this is why I reopened this issue, really)
On startup there's no JRE available:
!launchdevstudio10.2.0.AM2-with-jdk9ea140-jre-not-supported.png|thumbnail!
I tried adding JDK 9 ea build 140, and Eclipse rejects the /opt/jdk-9-ea+140 folder with:
{code}
Target is not a JDK root. System library was not found.
{code}
So... I don't see any way to actually USE devstudio with JDK 9, other than simply launching it and then using JDK 8 for everything else.
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}
!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!
> Cannot use JBDS 10.2 with jdk 9 EA build 140
> --------------------------------------------
>
> 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: 10.0.0.Alpha1, 10.2.0.AM2
> Reporter: Martin Malina
> Assignee: Snjezana Peco
> Fix For: 10.x
>
> 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