Does mwe2 require Java 1.7? [message #1404604] |
Mon, 04 August 2014 12:38 |
|
An attempt to run my headless build using Java 1.6 fails with:
java.lang.NoClassDefFoundError: org/eclipse/emf/mwe2/launch/runtime/Mwe2Launcher
Running the exact same build with a Java 1.7 works OK. Has mwe2 dropped support for < 1.7? If so, does that apply to xtext in general?
|
|
|
|
Re: Does mwe2 require Java 1.7? [message #1404634 is a reply to message #1404628] |
Mon, 04 August 2014 15:14 |
|
No other errors/warnings. And I can switch back and forth between 1.6 and 1.7. It always fails with 1.6 and it always succeeds with 1.7.
I noticed that the IDE requires 1.7 now. Could it be that the OSGi runtime filters the classpath based on dependencies that has that requirement somehow? Another thing that I've encountered in the past is that I've been using a 1.7 target inadvertently and hence ended up with illegal bytecodes in the class files.
|
|
|
|
|
Re: Does mwe2 require Java 1.7? [message #1404671 is a reply to message #1404642] |
Mon, 04 August 2014 22:16 |
|
I made some more tests and discovered that this somehow is related to my use of the JRockit JVM. Using jrockit-jdk1.6.0_45 produces the error but using Oracle's jdk1.6.0_45 does not. I'll let it rest there. Doesn't seem meaningful to spend time figuring out subtle class-loading differences in two jdk's that are no longer supported.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06182 seconds