Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will Eclipse 3.8 (or Juno) be able to run on Java 9?

My application is based on Eclipse 3.8, and I'd like to know if it will run over Java.

I'm not using a newer version because it has performance issues. From my experience, Eclipse 3.8 is a lot faster compared to any newer versions of Eclipse.

Does someone know something about this?

UPDATE: The previous title may suggest that I want Eclipse 3.8 to be able to support the new features of Java 9. But, I really just want to know if I'll be able to run the application over Java 9 JRE.

like image 904
Jose Renato Avatar asked Jan 05 '23 19:01

Jose Renato


1 Answers

Yes it works, but only with a small patch.

It fails because the org.eclipse.osgi bundle of Eclipse 3.8 (Juno) has no runtime profiles for Java 8 or Java 9. If you add those it works for me.

I made successful tests with an RCP-based app on target plattform 3.8.2 (http://archive.eclipse.org/eclipse/downloads/drops/R-3.8.2-201301310800/) running under Java 9 Oracle JVM under Windows 7.

What to do: You have to patch the org.eclipse.osgi bundle:

  • strip signing information
  • manually add an entry for the Java 9 Runtime Enironment in the profile.list of the bundle and add a JavaSE-1.9.profile definition

E.g.: https://github.com/derWallace/org.eclipse.osgi

But no guarantees that this is a good deal for production!

like image 82
derWallace Avatar answered Jan 08 '23 00:01

derWallace