Skip to main content



      Home
Home » Eclipse Projects » Oomph » Installing Eclipse with bundled JRE
Installing Eclipse with bundled JRE [message #1837877] Tue, 09 February 2021 07:59 Go to next message
Eclipse UserFriend
Hi,

my goal is to provide an Eclipse installation for a team using the Eclipse installer. One thing is, that we develop in Java 8 but want to use the current Eclipse distribution which requires Java 9+.
Since the default environment of the users don't have a Java 9+ installation on their computer, I thought it might be possible to install a bundled (JustJ?) JRE (11) with the Eclipse installation and use this one to start Eclipse.
I tried adding the JustJ repository and requirement to my .setup file, but it won't set the -vm argument in the eclipse.ini to this.

Can anyone help me setting what to put into my setup file?

Also, if possible, the selection of the JRE on the product choosing wizard page could be disabled this way. Is that possible?

Thanks in advance!
Sascha
Re: Installing Eclipse with bundled JRE [message #1837884 is a reply to message #1837877] Tue, 09 February 2021 09:44 Go to previous messageGo to next message
Eclipse UserFriend
The installer already gives a choice of a JustJ JRE:

https://ed-merks.blogspot.com/2020/08/no-java-no-problem.html

There is not yet a way to supress that choice.

But Oomph is open source so if you wanted that you could help contribute toward that fund someone to do that. Likely some special value (0?) for ProductVersion.requiredJavaVersion to indicate that no Java version is required because the product will install the required JRE would do the trick.
Re: Installing Eclipse with bundled JRE [message #1837886 is a reply to message #1837884] Tue, 09 February 2021 10:02 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for your quick response.

It seems something is not working the way is should for me. Could it be because I redirect oomph to my own local org.eclipse.setup (for hosting an own index with products/projects)?

I installed the latest EclipseInstaller with JRE.

Ok, so disabling the JRE Chooser was a bit optional for me, but I will see what I can do :)
Re: Installing Eclipse with bundled JRE [message #1837890 is a reply to message #1837886] Tue, 09 February 2021 11:08 Go to previous messageGo to next message
Eclipse UserFriend
Yes, if you have an older copy, you'll need to update it.

This annotation is present

https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/setups/org.eclipse.setup#n14

And that causes this resource to be available :

https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/setups/org.eclipse.jres.setup

Via the annotation it is located and used by the wizard in org.eclipse.oomph.setup.ui.wizards.SetupWizard.IndexLoader.indexLoaded(Index)
Re: Installing Eclipse with bundled JRE [message #1837910 is a reply to message #1837890] Wed, 10 February 2021 04:45 Go to previous message
Eclipse UserFriend
Hi,

ok, that worked. Thank you very much :)
Previous Topic:Is there a way to set a default Installation Folder?
Next Topic:Eclipse 2020-06 Installation Error with xtext
Goto Forum:
  


Current Time: Sat May 17 05:33:54 EDT 2025

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

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

Back to the top