Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Java 8 and Java 9 interoperability
Java 8 and Java 9 interoperability [message #1770208] Wed, 09 August 2017 06:56 Go to next message
Benjamin Brandl is currently offline Benjamin BrandlFriend
Messages: 1
Registered: August 2017
Junior Member
Java 9 will be released on the 21st of September. The eclipse IDE already supports this new version. But during testing a rcp application I ran into problems.

To run an rcp application with java 9, some parameters need to be added to the ini file:

Despite some reflection warnings from some libraries, the application runs fine.

But with this modification, the application won't start anymore with java 8 as the new parameters are unknown there.

Is there any way to run a rcp application with both java 8 and java 9.
Re: Java 8 and Java 9 interoperability [message #1773290 is a reply to message #1770208] Tue, 26 September 2017 07:46 Go to previous message
Andreas Buchen is currently offline Andreas BuchenFriend
Messages: 123
Registered: July 2009
Senior Member
I am also interested in a solution. The users of my RCP do not care about Java 8 vs. Java 9. (I actually have enough troubles explaining 32bit vs. 64bit as it depends on the Java VM not the Operating System).

Looking at Bug 493761, the Launcher would not pass the Java 9 parameters ("--add-modules") to a Java 8 VM, but that was behavior removed again.

Have you tried the VM option to ignore unrecognized parameters?
Previous Topic:RCP application migrated to e4 based on compatibility layer key binding is ignored
Next Topic:Add MenuEntry in the Properties View Rightclick Menu
Goto Forum:

Current Time: Sat Oct 24 04:40:18 GMT 2020

Powered by FUDForum. Page generated in 0.01191 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top