Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Can not switch workspaces with Eclipse 3.5 Galileo RC1
Can not switch workspaces with Eclipse 3.5 Galileo RC1 [message #270921] Tue, 19 May 2009 15:47 Go to next message
Simon Linden is currently offline Simon LindenFriend
Messages: 35
Registered: July 2009
Member
Hello,

I copied the new version of Eclipse 3.5 Galileo RC1 (win32) on my PC -
checked the checksumfile so the download File should be o.k.
Unpacked the zip archive in a new, fresh directory and started Eclipse -
everything is fine. But when I try to switch the workspace ("File" =>
"Switch Workspace") i get the error:

"Missing System Property
Unable to relaunch the platform because the eclipse.vm property has not
been set."

"Switch Workspace" works with Eclipse 3.5 Galileo M7.
Does anybody know the reason and how to solve the problem?

Many thanks in advance!
Re: Can not switch workspaces with Eclipse 3.5 Galileo RC1 [message #270923 is a reply to message #270921] Tue, 19 May 2009 15:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Simon Linden wrote:
> Hello,
>
> I copied the new version of Eclipse 3.5 Galileo RC1 (win32) on my PC -
> checked the checksumfile so the download File should be o.k.
> Unpacked the zip archive in a new, fresh directory and started Eclipse -
> everything is fine. But when I try to switch the workspace ("File" =>
> "Switch Workspace") i get the error:
>
> "Missing System Property
> Unable to relaunch the platform because the eclipse.vm property has not
> been set."
>
> "Switch Workspace" works with Eclipse 3.5 Galileo M7.
> Does anybody know the reason and how to solve the problem?
>
> Many thanks in advance!
>

Please enter a critical bug about this: https://bugs.eclipse.org/bugs

Thanks,
Eric
Re: Can not switch workspaces with Eclipse 3.5 Galileo RC1 [message #270947 is a reply to message #270923] Wed, 20 May 2009 11:42 Go to previous messageGo to next message
Simon Linden is currently offline Simon LindenFriend
Messages: 35
Registered: July 2009
Member
Hello Eric,

thanks for your quick reply!

Eric Rizzo wrote:
> Please enter a critical bug about this: https://bugs.eclipse.org/bugs

I didn't open a bug already. Instead I have some more information about
the error.

I normally start Eclipse via an application called "Eclipse Launcher" [
http://www.xdreamteam.ch/ ]. It's a very old program (from 2004). I use
the up to date Version 2.0.2 of this application and it looks like there
is no further development on this application anymore... :-(
If I start Eclipse that way I run in this error.

If I launch Eclipse by double klick on eclipse.exe the error didn't occur.

So I checked the runtime configuration between the two Eclipse launch
("Help" => "About Eclipse" => "Installation Details" - Tab "Configuration")

If Eclipse is launched by double klick there is a property "eclipse.vm"
...
eclipse.startTime=1242812666209
eclipse.vm=C:\Programme\Java\jre1.6.0_06\bin\client\jvm.dll
eclipse.vmargs=-Xms40m
...

If I launch Eclipse by "Eclipse Launcher" the property "eclipse.vm" is
missing.

This would be the reason why...

Thanks
Re: Can not switch workspaces with Eclipse 3.5 Galileo RC1 [message #270949 is a reply to message #270947] Wed, 20 May 2009 13:14 Go to previous message
Simon Linden is currently offline Simon LindenFriend
Messages: 35
Registered: July 2009
Member
Hello,

now I found a solution for me - so I didn't open a bug.

In the past I added some JVM parameters to the launch configuration of the
"Eclipse Launcher". Normally Eclipse Launcher starts Eclipse with this
parameters:
'${ECLIPSE-HOME}\eclipse.exe -vm ${PATH_TO_JAVA}\javaw.exe -data
"{WORKSPACEDIRECTORY}" -showlocation -vmargs -Xmx512m'

I have to remove the parameter "-vmargs -Xmx512m" in the launch
configuration of the "Eclipse Launcher".

To set JVM Parameters - now I use the eclipse.ini:
"...
--launcher.XXMaxPermSize
512m
-vmargs
-Xms128m
-Xmx512m
-XX:PermSize=128m
"

If I start Eclipse this way the necessary property "eclipse.vm" is
available in the runtime configuration ("Help" => "About Eclipse" =>
"Installation Details" - Tab "Configuration"):

"...
eclipse.vm=C:\jdk1.6.0_06\bin\javaw.exe
eclipse.vmargs=-Xms128m
-Xmx512m
-XX:PermSize=128m
-XX:MaxPermSize=512m
-jar
..."

So I'm glad by now - hope this help someone out there.

regards
Previous Topic:Eclipse won't start up
Next Topic:Project renaming Bug?
Goto Forum:
  


Current Time: Fri Mar 29 00:13:20 GMT 2024

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

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

Back to the top