How can I change eclipse.ini file via p2 repository update to make -vm to look another JRE?

ilke Muhtaroglu

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.

MBaev

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.

edited at
0

Comments

0 comments
Login to comment

Related

How can I repair a damaged eclipse $HOME/.p2 repository?

How can I change JRE version in Eclipse project?

How can I export Git change sets from one repository to another via sneaker net (external files)?

How can I change the look of applications running via NoMachine?

How to clear Eclipse p2 repository cache

Programmatically how do I get at -VM option in eclipse.ini file entries

How to update the JRE in Eclipse

How can I customize Eclipse to look like this?

Eclipse oxygen p2 repository unresponsive

can we use dependencies from Eclipse p2 repository in a regular Maven build

How can I change the whole look of a JTextField

How can I change the look of a button

iOS: how can I make one view trigger an update in another?

How can I modify this DT theme to make it look more like another

How can i parse an ini file as object

How can I make a username change and also update the session?

How I can change value varible in a file in another file in javascript

How to change workspace JRE in Eclipse

How can I make a copy of a file in Google Drive via Python?

how can I change label of xml field into a different string uding .ini file?

Uploading via CURL - how can I change the destination file name?

How make Eclipse/EGit recognize existing repository information after update?

How can I make one python file run another?

electron, how can I make another window with loading a different file

How can I skip JRE code when debugging in Eclipse?

How can I fetch another remote repository?

How can I add another repository in git?

How can I change php.ini settings so I can alter the maximum data being sent through a file transfer?

Android MVVM: how can I update data in a Repository from another Repository, when same data is part of response from different server endpoints?