Community
Participate
Working Groups
When I try to install the Eclipse Platform SDK from this update site (http://download.eclipse.org/eclipse/updates/3.7), I get this error: An error occurred while configuring the installed items session context was:(profile=com.springsource.sts.ide, phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --> [R]toolingorg.eclipse.platform.sdk.ini.cocoa.macosx.x86_64 3.7.1.M20110909-1335, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.AddJVMArgumentAction). An error occurred while processing the JVM argument. Invalid format for byte argument: 768m . Any idea what I can do?
It seems like this happens when I manually edited the ini file (eclipse.ini or sts.ini). When I do the install using a clean installation, it works (but deletes the ini file, which is also not indended, or is it?)
I was able to reproduce and debug the issue. A simple space character at the end of the -Xmx768m, i.e. "-Xmx768m " makes AddJVMArgumentAction.getBytePower(String) fail since the argument is not trimmed and thus the "m" is not detected correctly.
Thanks Christian. I think this has always been an issue. There is Bug 185399 which handles blank lines at the end of the file and whitespace in the middle, but I'm not sure it handles whitespace at the end of a line.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.