Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332810

Summary: addJvmArg does not work with 32 bit eclipse on 64 bit windows
Product: [Eclipse Project] Equinox Reporter: Prashant Deva <prashant.deva>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: pascal
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Prashant Deva CLA 2010-12-16 22:00:35 EST
I have a p2.inf with the following contents in my feature project.

instructions.install = \
    addJvmArg(jvmArg:-Xmx900m);
instructions.install.import= \
    org.eclipse.equinox.p2.touchpoint.eclipse.addJvmArg


On a 64 bit Windows 7 installation-

The script works fine on Eclipse 3.6.1 64 bit and the eclipse.ini is modified to -Xmx900m after installation.

However the 32 bit version of eclipse on the 64 bit windows does not get its eclipse.ini updated.

I have ensured that eclipse is not in any 'admin' dirs like program files. Its in a regular folder, eg - c:\testeclipse\eclipse
Comment 1 Pascal Rapicault CLA 2010-12-17 09:24:37 EST
I don't see why that could be since this is all pure java code. Could you please create a sample feature and attach it.