Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 466867 - When manually passing a VM to the eclipse-installer, it should offer that VM for the installation too
Summary: When manually passing a VM to the eclipse-installer, it should offer that VM ...
Status: RESOLVED FIXED
Alias: None
Product: Oomph
Classification: Tools
Component: Setup (show other bugs)
Version: 1.1.0   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 468239
Blocks:
  Show dependency tree
 
Reported: 2015-05-08 13:16 EDT by Martin Oberhuber CLA
Modified: 2015-05-28 09:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2015-05-08 13:16:59 EDT
Build ID: Mars M7

I've downloaded eclipse-installer for 64bit Linux and launched on Ubuntu 12.
Since I only have Java 6, I've symlinked a JRE folder into the installer in order to give it access to my Java 7:

cd eclipse-installer
ln -s ../../../jdk/jdk1.7.0_45 ./jre
./oomph

The installer starts fine now and offers me choices for the installation in dropdowns (some openjdk-java7 that I didn't know existed). But it doesn't offer the JVM that I've just manually passed to the installer.

Expected:
In case a VM is manually specified (through whatever method, eg -vm argument or linked jre folder, or PATH setting), one of the dropdown choices (perhaps the default one) should be the JVM that was explicitly given, such that the target install can leverage it too.
Comment 1 Ed Merks CLA 2015-05-28 09:32:30 EDT
The fix is committed to master.

http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/commit/?id=13bb84027e0aa7a3992c93a9402218cf8c312b8f

I.e., it will include the JRE pointed at by java.home of the running installer in the list of JREs.