Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Running Eclipse with Java 9

Hi Ed

For any Eclipse install <= Oxygen 1 you have to add --add-modules=ALL-SYSTEM. For more details and potential issues see https://wiki.eclipse.org/Configure_Eclipse_for_Java_9.

In the latest I-build and in Oxygen 1a (and the 4.7.1a M-builds we will provide) one does not have to specify this anymore. Also, with those builds you won't have to remove the argument when you decide to launch with Java 8 again.

Dani



From:        Ed Merks <ed.merks@xxxxxxxxx>
To:        Cross project issues <cross-project-issues-dev@xxxxxxxxxxx>
Date:        22.09.2017 11:35
Subject:        [cross-project-issues-dev] Running Eclipse with Java 9
Sent by:        cross-project-issues-dev-bounces@xxxxxxxxxxx




Hi,

Now that Java 9 is out, people of course install it and naturally try to
use it to run Eclipse.  That doesn't seem to actually work with
Oxygen-R.  I wonder if it should?

Of course when the user uses the installer to install it, they blame the
problem on the installer:

 
https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.eclipse.org_bugs_show-5Fbug.cgi-3Fid-3D522622&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=1UITCR5rxUZHSFczvfaNFK4ymEbEiccRX7VKchpqz0Y&m=P37IsqQPuFedUEIHbe4gj5lbbf48C5sOSr94JTSFMvw&s=6q2f0ykJ-Si8V1WZPWnGKN-HYVFpEGpPN7mfo3I_sow&e=

But I downloaded a package and it fails the same way.

It's easily fixed by adding the VM option:

  --add-modules=java.se.ee

But I don't recall what the actual strategy here is for ensuring that
Eclipse Oxygen runs with Java 9. Is that support only part of the coming
maintenance release(s)?  It seems just an issue of this option.  Where
will this option come from?  Will it just be "--add-modules=java.se.ee",
is it specified in some other way later, or is it magically injected by
the launcher?  It's certainly not in eclipse.ini of the Oxygen-R packages...

Regards,
Ed

_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://urldefense.proofpoint.com/v2/url?u=https-3A__dev.eclipse.org_mailman_listinfo_cross-2Dproject-2Dissues-2Ddev&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=1UITCR5rxUZHSFczvfaNFK4ymEbEiccRX7VKchpqz0Y&m=P37IsqQPuFedUEIHbe4gj5lbbf48C5sOSr94JTSFMvw&s=dxirzNPETIUIFvwYCppMqTRuubbmQHIN9vGb2vlLnTg&e=




Back to the top