Skip to main content



      Home
Home » Newcomers » Newcomers » Two -vm flags on my Eclipse
Two -vm flags on my Eclipse [message #267226] Mon, 22 December 2008 03:24 Go to next message
Eclipse UserFriend
When I try to run Eclipse for Developers (3.3.2) on Windows XP and I
specify the virtual machine in the .ini file like this:

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-Xms40m
-Xmx512m -vmargs
-Dosgi.requiredJavaVersion=1.5
-vm C:\Program Files\Java\jdk1.5.0_14\jre\bin\client\jvm.dll

However, when I run Eclipse I am finding that another "-vm" flag is being
set elsewhere. If I go to Help->About->Configuration Details, I can see

-vm C:\Program Files\Java\jdk1.5.0_14\jre\bin\client\jvm.dll
-vm
C:/j2sdk1.4.2_16/bin\..\jre\bin\client\jvm.dll

Where is this 1.4.2 flag likely to be set ? I've looked in the Windows
shortcut (it's not there) and my JAVA_HOME is set to the 1.5 JDK, so I
don't think that's responsible.

Any help gratefully received.

Matt
Re: Two -vm flags on my Eclipse [message #267232 is a reply to message #267226] Mon, 22 December 2008 05:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jacek.pospychala.pl.ibm.com

Matt,
put -vm argument before -vmargs.
Arguments after -vmargs are not processed by Eclipse, but sent directly
to JVM, so your -vm parameter may have been ignored.

Matt Freake pisze:
> When I try to run Eclipse for Developers (3.3.2) on Windows XP and I
> specify the virtual machine in the .ini file like this:
>
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256M
> -Xms40m
> -Xmx512m -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -vm C:\Program Files\Java\jdk1.5.0_14\jre\bin\client\jvm.dll
>
> However, when I run Eclipse I am finding that another "-vm" flag is
> being set elsewhere. If I go to Help->About->Configuration Details, I
> can see
>
> -vm C:\Program Files\Java\jdk1.5.0_14\jre\bin\client\jvm.dll
> -vm
> C:/j2sdk1.4.2_16/bin\..\jre\bin\client\jvm.dll
>
> Where is this 1.4.2 flag likely to be set ? I've looked in the Windows
> shortcut (it's not there) and my JAVA_HOME is set to the 1.5 JDK, so I
> don't think that's responsible.
>
> Any help gratefully received.
>
> Matt
>
Re: Two -vm flags on my Eclipse [message #267246 is a reply to message #267226] Mon, 22 December 2008 09:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

On 12/22/2008 3:24 AM, Matt Freake wrote:
> When I try to run Eclipse for Developers (3.3.2) on Windows XP and I
> specify the virtual machine in the .ini file like this:
>
> -showsplash
> org.eclipse.platform
> --launcher.XXMaxPermSize
> 256M
> -Xms40m
> -Xmx512m -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -vm C:\Program Files\Java\jdk1.5.0_14\jre\bin\client\jvm.dll


There are several problems with this eclipse.ini content. Read this wiki
page (http://wiki.eclipse.org/Eclipse.ini) carefullly and you should be
able to correct it. If not, post again with your revised contents.

Hope this helps,
Eric
Re: Two -vm flags on my Eclipse [message #267255 is a reply to message #267246] Mon, 22 December 2008 11:17 Go to previous message
Eclipse UserFriend
Thanks for the help. That has resolved my issue.

Cheers,

Matt
Previous Topic:Crystal Reports conversion tools
Next Topic:Eclipse editor line height (leading)
Goto Forum:
  


Current Time: Fri Nov 07 10:54:58 EST 2025

Powered by FUDForum. Page generated in 0.47267 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top