Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332810 - addJvmArg does not work with 32 bit eclipse on 64 bit windows
Summary: addJvmArg does not work with 32 bit eclipse on 64 bit windows
Status: CLOSED WORKSFORME
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-16 22:00 EST by Prashant Deva CLA
Modified: 2011-06-10 23:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.