We want eclipse.ini to point to another JRE. How can we change our eclipse.ini file via eclipse update mechanism to make -vm parameter point to another jre.
We want to add a new line -vm and then C:\jdk1.7.0_21\bin\javaw.exe on the following new line in eclipse.ini via p2 repository update.
You can use a p2.inf file to customize the p2 metadata generated for your bundle.
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_customizing_metadata.html http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata http://wiki.eclipse.org/Equinox/p2/Engine/Touchpoint_Instructions
You want touchpoint instructions, the "addProgramArg" and "addJvmArg" add arguments to the eclipse.ini file. (You may also want removeProgramArg and removeJvmArg in the unconfigure or uninstall phase to remove the options when your plugin gets uninstalled or upgraded)
I hope this helps you.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments