Bug 158823 - [WorkbenchLauncher] Switch Workspace fails - eclipse.vm property has not been set
Summary: [WorkbenchLauncher] Switch Workspace fails - eclipse.vm property has not been...
Status: RESOLVED DUPLICATE of bug 222107
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.1.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 179700 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-26 14:16 EDT by Dan Hoyt CLA
Modified: 2008-06-27 14:51 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Hoyt CLA 2006-09-26 14:16:25 EDT
After launching a standalone Eclipse Platform-based product we've developed, our workbench UI comes up fine, but the workspace cannot be changed.  When attempting any Switch Workspace, even to the same workspace, Eclipse errors with:

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

Our product is built for both Windows and Solaris; Switch Workspace works fine on Solaris, but fails on Windows.

The eclipse.exe is launched with an explicit -vm parameter, which is supposed to set the eclipse.vm property, but it doesn't seem to be doing that on Windows.  



Here's the Windows launch with parameters:

start "RWB" /b /wait "C:\Program Files (x86)\RWB\eclipse.exe" -vm "C:\Program Files (x86)\Java\j2re1.4.2_11\bin\javaw.exe" -install "C:\Program Files (x86)\RWB" -configuration "C:\Program Files (x86)\RWB\configuration" -data "C:\Program Files (x86)\RWB\workspace" 1>>"C:\Program Files (x86)\RWB\workspace\.metadata\out.log" 2>>"C:\Program Files (x86)\RWB\workspace\.metadata\err.log"

From the Configuration Details button in the help, it shows the system properties, which is clearly missing the eclipse.vm property, even though the -vm launch parameter is specified:

*** Date: Tue Sep 26 11:32:49 MDT 2006

*** Platform Details:

*** System properties:
awt.toolkit=sun.awt.windows.WToolkit
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=I20050627-1435
eclipse.commands=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files (x86)\RWB\\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
fc_380
-install
C:\Program Files (x86)\RWB
-configuration
C:\Program Files (x86)\RWB\\configuration
-data
C:\Program Files (x86)\RWB\\workspace
-vm C:\Program
Files
(x86)\Java\j2re1.4.2_11\bin\javaw.exe -vmargs -Xms40m -Xmx256m -jar C:\Program
Files
(x86)\RWB\\startup.jar
eclipse.product=com.tsccos.rwb.core.workbench
eclipse.startTime=1159291531806
eof=eof
file.encoding=Cp1252
file.encoding.pkg=sun.io
file.separator=\
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=C:\Program Files (x86)\RWB\\startup.jar
java.class.version=48.0
java.endorsed.dirs=C:\Program Files (x86)\Java\j2re1.4.2_11\lib\endorsed
java.ext.dirs=C:\Program Files (x86)\Java\j2re1.4.2_11\lib\ext
java.home=C:\Program Files (x86)\Java\j2re1.4.2_11
java.io.tmpdir=C:\DOCUME~1\dhoyt\LOCALS~1\Temp\
java.library.path=C:\Program Files (x86)\Java\j2re1.4.2_11\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin;C:\Program Files (x86)\cvsnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\Program Files (x86)\ATI Technologies\ATI.ACE\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.4.2_11-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.4
java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.4.2_11
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.4.2_11-b06
line.separator=

org.osgi.framework.bootdelegation=*
org.osgi.framework.executionenvironment=J2SE-1.4
org.osgi.framework.language=en
org.osgi.framework.os.name=Windows2003
org.osgi.framework.os.version=5.2
org.osgi.framework.processor=x86
org.osgi.framework.system.packages=javax.accessibility,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.3.0
org.osgi.supports.framework.extension=true
os.arch=x86
os.name=Windows 2003
os.version=5.2
osgi.arch=x86
osgi.bundles=org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start
osgi.bundlestore=C:\Program Files (x86)\RWB\configuration\org.eclipse.osgi\bundles
osgi.configuration.area=file:/C:/Program Files (x86)/RWB/configuration/
osgi.framework=file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.osgi_3.1.2.jar
osgi.framework.beginningstartlevel=1
osgi.framework.shape=jar
osgi.framework.version=3.1.2
osgi.install.area=file:/C:/Program Files (x86)/RWB/
osgi.instance.area=file:/C:/Program Files (x86)/RWB/workspace/
osgi.instance.area.default=file:/C:/Documents and Settings/dhoyt/workspace/
osgi.logfile=C:\Program Files (x86)\RWB\workspace\.metadata\.log
osgi.manifest.cache=C:\Program Files (x86)\RWB\configuration\org.eclipse.osgi\manifests
osgi.nl=en_US
osgi.os=win32
osgi.splashLocation=C:\Program Files (x86)\RWB\configuration\splash.bmp
osgi.splashPath=platform:/base/plugins/com.tsccos.rwb.product, platform:/base/configuration, platform:/base/plugins/org.eclipse.platform
osgi.syspath=C:\Program Files (x86)\RWB\plugins
osgi.ws=win32
path.separator=;
sun.arch.data.model=32
sun.boot.class.path=C:\Program Files (x86)\Java\j2re1.4.2_11\lib\rt.jar;C:\Program Files (x86)\Java\j2re1.4.2_11\lib\i18n.jar;C:\Program Files (x86)\Java\j2re1.4.2_11\lib\sunrsasign.jar;C:\Program Files (x86)\Java\j2re1.4.2_11\lib\jsse.jar;C:\Program Files (x86)\Java\j2re1.4.2_11\lib\jce.jar;C:\Program Files (x86)\Java\j2re1.4.2_11\lib\charsets.jar;C:\Program Files (x86)\Java\j2re1.4.2_11\classes
sun.boot.library.path=C:\Program Files (x86)\Java\j2re1.4.2_11\bin
sun.cpu.endian=little
sun.cpu.isalist=pentium i486 i386
sun.io.unicode.encoding=UnicodeLittle
sun.java2d.fontpath=
sun.os.patch.level=Service Pack 1
user.country=US
user.dir=C:\Program Files (x86)\RWB
user.home=C:\Documents and Settings\dhoyt
user.language=en
user.name=dhoyt
user.timezone=America/Denver
user.variant=

*** Features:
[SNIP] Proprietary features [END SNIP]
org.eclipse.platform (3.1.2) "Eclipse Platform"
org.eclipse.rcp (3.1.2) "Eclipse RCP"

*** Plug-in Registry:
[SNIP] Proprietary plugins [END SNIP]
org.apache.ant (1.6.5) "Apache Ant" [Resolved]
org.apache.commons.codec (1.3.0) "Commons Codec" [Resolved]
org.apache.lucene (1.4.3) "Apache Lucene" [Resolved]
org.eclipse.ant.core (3.1.1) "Ant Build Tool Core" [Resolved]
org.eclipse.compare (3.1.1) "Compare Support" [Resolved]
org.eclipse.core.boot (3.1.0) "Core Boot" [Resolved]
org.eclipse.core.commands (3.1.0) "Commands" [Active]
org.eclipse.core.expressions (3.1.0) "Expression Language" [Active]
org.eclipse.core.filebuffers (3.1.2) "File Buffers" [Resolved]
org.eclipse.core.resources (3.1.2) "Core Resource Management" [Active]
org.eclipse.core.resources.compatibility (3.1.0) "Core Resource Management Compatibility Fragment" [Resolved]
org.eclipse.core.resources.win32 (3.1.0) "Core Resource Management Win32 Fragment" [Resolved]
org.eclipse.core.runtime (3.1.2) "Core Runtime" [Active]
org.eclipse.core.runtime.compatibility (3.1.0) "Core Runtime Plug-in Compatibility" [Active]
org.eclipse.core.variables (3.1.0) "Core Variables" [Resolved]
org.eclipse.debug.core (3.1.2) "Debug Core" [Active]
org.eclipse.debug.ui (3.1.2) "Debug UI" [Active]
org.eclipse.help (3.1.0) "Help System Core" [Active]
org.eclipse.help.appserver (3.1.0) "Help Application Server" [Resolved]
org.eclipse.help.base (3.1.0) "Help System Base" [Resolved]
org.eclipse.help.ui (3.1.1) "Help System UI" [Resolved]
org.eclipse.help.webapp (3.1.0) "Help System Webapp" [Resolved]
org.eclipse.jface (3.1.1) "JFace" [Active]
org.eclipse.jface.text (3.1.2) "JFace Text" [Active]
org.eclipse.ltk.core.refactoring (3.1.0) "Refactoring Core" [Resolved]
org.eclipse.ltk.ui.refactoring (3.1.1) "Refactoring UI" [Resolved]
org.eclipse.osgi.services (3.1.2) "OSGi Release 3 Services" [Resolved]
org.eclipse.osgi.util (3.1.1) "OSGi R3 Utility Classes" [Resolved]
org.eclipse.platform (3.1.2) "Eclipse Platform" [Resolved]
org.eclipse.platform.doc.user (3.1.1) "Eclipse Workbench User Guide" [Resolved]
org.eclipse.rcp (3.1.0) "Eclipse RCP" [Resolved]
org.eclipse.search (3.1.2) "Search Support" [Resolved]
org.eclipse.swt (3.1.0) "Standard Widget Toolkit" [Resolved]
org.eclipse.swt.win32.win32.x86 (3.1.2) "Standard Widget Toolkit for Windows" [Resolved]
org.eclipse.team.core (3.1.1) "Team Support Core" [Resolved]
org.eclipse.team.cvs.core (3.1.1) "CVS Team Provider Core" [Resolved]
org.eclipse.team.cvs.ssh (3.1.0) "CVS SSH Core" [Resolved]
org.eclipse.team.cvs.ssh2 (3.1.0) "CVS SSH2" [Resolved]
org.eclipse.team.cvs.ui (3.1.1) "CVS Team Provider UI" [Resolved]
org.eclipse.team.ui (3.1.1) "Team Support UI" [Resolved]
org.eclipse.text (3.1.1) "Text" [Active]
org.eclipse.tomcat (4.1.30.1) "Tomcat Wrapper" [Resolved]
org.eclipse.ui (3.1.2) "Eclipse UI" [Active]
org.eclipse.ui.browser (3.1.1) "Browser Support" [Resolved]
org.eclipse.ui.cheatsheets (3.1.1) "Cheat Sheets" [Active]
org.eclipse.ui.console (3.1.2) "Console" [Resolved]
org.eclipse.ui.editors (3.1.1) "Default Text Editor" [Resolved]
org.eclipse.ui.externaltools (3.1.1) "External Tools" [Active]
org.eclipse.ui.forms (3.1.0) "Eclipse Forms" [Resolved]
org.eclipse.ui.ide (3.1.1) "Eclipse IDE UI" [Active]
org.eclipse.ui.intro (3.1.1) "Welcome Framework" [Resolved]
org.eclipse.ui.presentations.r21 (3.1.0) "R21 Presentation Plug-in" [Resolved]
org.eclipse.ui.tools.heapstatus (1.0.0.200411231540) "Heap Status" [Active]
org.eclipse.ui.views (3.1.1) "Views" [Active]
org.eclipse.ui.win32 (3.1.0) "Eclipse UI Win32 Enhancements" [Resolved]
org.eclipse.ui.workbench (3.1.2) "Workbench" [Active]
org.eclipse.ui.workbench.compatibility (3.1.0) "Workbench Compatibility" [Resolved]
org.eclipse.ui.workbench.texteditor (3.1.2) "Text Editor Framework" [Resolved]
org.eclipse.update.configurator (3.1.0) "Install/Update Configurator" [Active]
org.eclipse.update.core (3.1.2) "Install/Update Core" [Resolved]
org.eclipse.update.core.win32 (3.1.0) "Install/Update Core for Windows" [Resolved]
org.eclipse.update.scheduler (3.1.0) "Automatic Updates Scheduler" [Active]
org.eclipse.update.ui (3.1.1) "Install/Update UI" [Resolved]
system.bundle (3.1.2) "OSGi System Bundle" [Active]

*** User Preferences:
#Tue Sep 26 11:32:50 MDT 2006
[SNIP] Proprietary preferences [END SNIP]
@org.eclipse.ui=3.1.2
\!/=
/instance/org.eclipse.ui.ide/platformState=109
@org.eclipse.core.resources=3.1.2
@org.eclipse.ui.ide=3.1.1
/instance/org.eclipse.ui.ide/WELCOME_DIALOG=false
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES_PROTOCOL=2
/configuration/org.eclipse.ui.ide/MAX_RECENT_WORKSPACES=5
/configuration/org.eclipse.ui.ide/RECENT_WORKSPACES=C\:\\Program Files (x86)\\RWB-2.0.RC1\\workspace
/instance/org.eclipse.ui.ide/quickStart=true
file_export_version=3.0

*** Current Install Configuration:
Install configuration:
 Last changed on Sep 26, 2006
 Location: file:/C:/Program Files (x86)/RWB/configuration/org.eclipse.update/platform.xml

 Configured sites:
  platform:/base/

 Configured features:
[SNIP] Proprietary features [END SNIP]
  ID: org.eclipse.platform, Version: 3.1.2
  ID: org.eclipse.rcp, Version: 3.1.2

 Configured plug-ins:
[SNIP] Proprietary plugins [END SNIP]
  file:/C:/Program Files (x86)/RWB/plugins/org.apache.ant_1.6.5/
  file:/C:/Program Files (x86)/RWB/plugins/org.apache.commons.codec_1.3.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.apache.lucene_1.4.3/
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ant.core_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.compare_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.core.boot_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.core.commands_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.core.expressions_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.core.filebuffers_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.core.resources.compatibility_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.core.resources.win32_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.core.resources_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.core.runtime.compatibility_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.core.runtime_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.core.variables_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.debug.core_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.debug.ui_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.help.appserver_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.help.base_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.help.ui_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.help.webapp_3.1.0/
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.help_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.jface.text_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.jface_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ltk.core.refactoring_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ltk.ui.refactoring_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.osgi.services_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.osgi.util_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.osgi_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.platform.doc.user_3.1.1/
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.platform_3.1.2/
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.rcp_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.search_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.swt.win32.win32.x86_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.swt_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.team.core_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.team.cvs.core_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.team.cvs.ssh2_3.1.0/
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.team.cvs.ssh_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.team.cvs.ui_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.team.ui_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.text_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.tomcat_4.1.30.1/
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.browser_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.cheatsheets_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.console_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.editors_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.externaltools_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.forms_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.ide_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.intro_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.presentations.r21_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.tools.heapstatus_1.0.0.200411231540/
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.views_3.1.1.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.win32_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.workbench.compatibility_3.1.0/
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.workbench.texteditor_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui.workbench_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.ui_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.update.configurator_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.update.core.win32_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.update.core_3.1.2.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.update.scheduler_3.1.0.jar
  file:/C:/Program Files (x86)/RWB/plugins/org.eclipse.update.ui_3.1.1.jar

-------------------------------------------

By contrast, on Solaris, using similar launch parameters:

/export/home/dhoyt/rwb/eclipse -vm /usr/local/jre-1.5.0_06/bin/javaw -install /export/home/dhoyt/rwb -configuration /export/home/dhoyt/.rwb/configuration -data /export/home/dhoyt/.rwb/workspace 1>>/export/home/dhoyt/.rwb/workspace/.metadata/out.log 2>>/export/home/dhoyt/.rwb/workspace/.metadata/err.log &

Configuration Details also shows the eclipse.vm and eclipse.vmargs properties:

*** Date: Tue Sep 26 11:38:06 MDT 2006

*** Platform Details:

*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=I20050627-1435
eclipse.commands=-os
solaris
-ws
motif
-arch
sparc
-launcher
/export/home/dhoyt/rwb/eclipse
-name
Eclipse
-showsplash
600
-exitdata
70c
-install
/export/home/dhoyt/rwb
-configuration
/export/home/dhoyt/.rwb/configuration
-data
/export/home/dhoyt/.rwb/workspace
-vm
/usr/local/jre-1.5.0_06/bin/javaw
eclipse.product=com.tsccos.rwb.core.workbench
eclipse.startTime=1159292262225
eclipse.vm=/usr/local/jre-1.5.0_06/bin/javaw
eclipse.vmargs=-Xms40m
-Xmx256m
-jar
/export/home/dhoyt/rwb/startup.jar
eof=eof
file.encoding=ISO8859-1
file.encoding.pkg=sun.io
file.separator=/
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path=/export/home/dhoyt/rwb/startup.jar
java.class.version=49.0
java.endorsed.dirs=/usr/local/jre-1.5.0_06/lib/endorsed
java.ext.dirs=/usr/local/jre-1.5.0_06/lib/ext
java.home=/usr/local/jre-1.5.0_06
java.io.tmpdir=/var/tmp/
java.library.path=/usr/local/jre-1.5.0_06/lib/sparc/client:/usr/local/jre-1.5.0_06/lib/sparc:/usr/local/jre-1.5.0_06/../lib/sparc:.:../bin:../lib:/boss/projects/pub/SUNWspro/lib:/usr/lib
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.5.0_06-b05
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.5
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.5.0_06
java.vm.info=mixed mode, sharing
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.5.0_06-b05
line.separator=

org.osgi.framework.bootdelegation=*
org.osgi.framework.executionenvironment=J2SE-1.5
org.osgi.framework.language=en
org.osgi.framework.os.name=SunOS
org.osgi.framework.os.version=5.9
org.osgi.framework.processor=sparc
org.osgi.framework.system.packages=javax.accessibility,javax.activity,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.events,org.w3c.dom.ls,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.3.0
org.osgi.supports.framework.extension=true
os.arch=sparc
os.name=SunOS
os.version=5.9
osgi.arch=sparc
osgi.bundles=org.eclipse.core.runtime@2:start, org.eclipse.update.configurator@3:start
osgi.bundlestore=/export/home/dhoyt/.rwb/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:/export/home/dhoyt/.rwb/configuration/
osgi.framework=file:/export/home/dhoyt/rwb/plugins/org.eclipse.osgi_3.1.2.jar
osgi.framework.beginningstartlevel=1
osgi.framework.shape=jar
osgi.framework.version=3.1.2
osgi.install.area=file:/export/home/dhoyt/rwb/
osgi.instance.area=file:/export/home/dhoyt/.rwb/workspace/
osgi.instance.area.default=file:/export/home/dhoyt/workspace/
osgi.logfile=/export/home/dhoyt/.rwb/workspace/.metadata/.log
osgi.manifest.cache=/export/home/dhoyt/.rwb/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.os=solaris
osgi.sharedConfiguration.area=file:/export/home/dhoyt/rwb/configuration/
osgi.splashLocation=/export/home/dhoyt/rwb/configuration/splash.bmp
osgi.splashPath=platform:/base/plugins/com.tsccos.rwb.product, platform:/base/configuration, platform:/base/plugins/org.eclipse.platform
osgi.syspath=/export/home/dhoyt/rwb/plugins
osgi.ws=motif
path.separator=:
sun.arch.data.model=32
sun.boot.class.path=/usr/local/jre-1.5.0_06/lib/rt.jar:/usr/local/jre-1.5.0_06/lib/i18n.jar:/usr/local/jre-1.5.0_06/lib/sunrsasign.jar:/usr/local/jre-1.5.0_06/lib/jsse.jar:/usr/local/jre-1.5.0_06/lib/jce.jar:/usr/local/jre-1.5.0_06/lib/charsets.jar:/usr/local/jre-1.5.0_06/classes
sun.boot.library.path=/usr/local/jre-1.5.0_06/lib/sparc
sun.cpu.endian=big
sun.cpu.isalist=sparcv9+vis2 sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc
sun.io.unicode.encoding=UnicodeBig
sun.jnu.encoding=ISO8859-1
sun.management.compiler=HotSpot Client Compiler
sun.os.patch.level=unknown
user.country=US
user.dir=/export/home/dhoyt/rwb
user.home=/export/home/dhoyt
user.language=en
user.name=dhoyt
user.timezone=US/Mountain

*** Features:
[SNIP] Proprietary features [END SNIP]
org.eclipse.platform (3.1.2) "Eclipse Platform"
org.eclipse.rcp (3.1.2) "Eclipse RCP"

*** Plug-in Registry:
[SNIP] Proprietary plugins [END SNIP]
org.apache.ant (1.6.5) "Apache Ant" [Resolved]
org.apache.commons.codec (1.3.0) "Commons Codec" [Resolved]
org.apache.lucene (1.4.3) "Apache Lucene" [Resolved]
org.eclipse.ant.core (3.1.1) "Ant Build Tool Core" [Resolved]
org.eclipse.compare (3.1.1) "Compare Support" [Resolved]
org.eclipse.core.boot (3.1.0) "Core Boot" [Resolved]
org.eclipse.core.commands (3.1.0) "Commands" [Active]
org.eclipse.core.expressions (3.1.0) "Expression Language" [Active]
org.eclipse.core.filebuffers (3.1.2) "File Buffers" [Resolved]
org.eclipse.core.resources (3.1.2) "Core Resource Management" [Active]
org.eclipse.core.resources.compatibility (3.1.0) "Core Resource Management Compatibility Fragment" [Resolved]
org.eclipse.core.resources.win32 (3.1.0) "win32FragmentName" [Installed]
org.eclipse.core.runtime (3.1.2) "Core Runtime" [Active]
org.eclipse.core.runtime.compatibility (3.1.0) "Core Runtime Plug-in Compatibility" [Active]
org.eclipse.core.variables (3.1.0) "Core Variables" [Resolved]
org.eclipse.debug.core (3.1.2) "Debug Core" [Active]
org.eclipse.debug.ui (3.1.2) "Debug UI" [Active]
org.eclipse.help (3.1.0) "Help System Core" [Active]
org.eclipse.help.appserver (3.1.0) "Help Application Server" [Resolved]
org.eclipse.help.base (3.1.0) "Help System Base" [Resolved]
org.eclipse.help.ui (3.1.1) "Help System UI" [Resolved]
org.eclipse.help.webapp (3.1.0) "Help System Webapp" [Resolved]
org.eclipse.jface (3.1.1) "JFace" [Active]
org.eclipse.jface.text (3.1.2) "JFace Text" [Resolved]
org.eclipse.ltk.core.refactoring (3.1.0) "Refactoring Core" [Resolved]
org.eclipse.ltk.ui.refactoring (3.1.1) "Refactoring UI" [Resolved]
org.eclipse.osgi.services (3.1.2) "OSGi Release 3 Services" [Resolved]
org.eclipse.osgi.util (3.1.1) "OSGi R3 Utility Classes" [Resolved]
org.eclipse.platform (3.1.2) "Eclipse Platform" [Resolved]
org.eclipse.platform.doc.user (3.1.1) "Eclipse Workbench User Guide" [Resolved]
org.eclipse.rcp (3.1.0) "Eclipse RCP" [Resolved]
org.eclipse.search (3.1.2) "Search Support" [Resolved]
org.eclipse.swt (3.1.0) "Standard Widget Toolkit" [Resolved]
org.eclipse.swt.gtk.solaris.sparc (3.1.1) "Standard Widget Toolkit for GTK 2.0" [Installed]
org.eclipse.swt.motif.solaris.sparc (3.1.1) "Standard Widget Toolkit for Motif" [Resolved]
org.eclipse.swt.win32.win32.x86 (3.1.2) "Standard Widget Toolkit for Windows" [Installed]
org.eclipse.team.core (3.1.1) "Team Support Core" [Resolved]
org.eclipse.team.cvs.core (3.1.1) "CVS Team Provider Core" [Resolved]
org.eclipse.team.cvs.ssh (3.1.0) "CVS SSH Core" [Resolved]
org.eclipse.team.cvs.ssh2 (3.1.0) "CVS SSH2" [Resolved]
org.eclipse.team.cvs.ui (3.1.1) "CVS Team Provider UI" [Resolved]
org.eclipse.team.ui (3.1.1) "Team Support UI" [Resolved]
org.eclipse.text (3.1.1) "Text" [Resolved]
org.eclipse.tomcat (4.1.30.1) "Tomcat Wrapper" [Resolved]
org.eclipse.ui (3.1.2) "Eclipse UI" [Active]
org.eclipse.ui.browser (3.1.1) "Browser Support" [Resolved]
org.eclipse.ui.cheatsheets (3.1.1) "Cheat Sheets" [Active]
org.eclipse.ui.console (3.1.2) "Console" [Resolved]
org.eclipse.ui.editors (3.1.1) "Default Text Editor" [Resolved]
org.eclipse.ui.externaltools (3.1.1) "External Tools" [Active]
org.eclipse.ui.forms (3.1.0) "Eclipse Forms" [Resolved]
org.eclipse.ui.ide (3.1.1) "Eclipse IDE UI" [Active]
org.eclipse.ui.intro (3.1.1) "Welcome Framework" [Resolved]
org.eclipse.ui.presentations.r21 (3.1.0) "R21 Presentation Plug-in" [Resolved]
org.eclipse.ui.tools.heapstatus (1.0.0.200411231540) "Heap Status" [Active]
org.eclipse.ui.views (3.1.1) "Views" [Active]
org.eclipse.ui.win32 (3.1.0) "Eclipse UI Win32 Enhancements" [Installed]
org.eclipse.ui.workbench (3.1.2) "Workbench" [Active]
org.eclipse.ui.workbench.compatibility (3.1.0) "Workbench Compatibility" [Resolved]
org.eclipse.ui.workbench.texteditor (3.1.2) "Text Editor Framework" [Resolved]
org.eclipse.update.configurator (3.1.0) "Install/Update Configurator" [Active]
org.eclipse.update.core (3.1.2) "Install/Update Core" [Resolved]
org.eclipse.update.core.win32 (3.1.0) "fragmentNameWin" [Installed]
org.eclipse.update.scheduler (3.1.0) "Automatic Updates Scheduler" [Active]
org.eclipse.update.ui (3.1.1) "Install/Update UI" [Resolved]
system.bundle (3.1.2) "OSGi System Bundle" [Active]

*** User Preferences:
#Tue Sep 26 11:38:06 MDT 2006
[SNIP] Proprietary preferencess [END SNIP]
@org.eclipse.ui=3.1.2
/instance/org.eclipse.ui.ide/platformState=112
/instance/org.eclipse.core.resources/version=1
@org.eclipse.core.resources=3.1.2
/instance/org.eclipse.ui.ide/quickStart=true
\!/=
file_export_version=3.0
/instance/org.eclipse.ui/showIntro=false
@org.eclipse.ui.ide=3.1.1

*** Current Install Configuration:
Install configuration:
 Last changed on Sep 26, 2006
 Location: file:/export/home/dhoyt/.rwb/configuration/org.eclipse.update/platform.xml

 Configured sites:
  platform:/base/

 Configured features:
[SNIP] Proprietary features [END SNIP]
  ID: org.eclipse.platform, Version: null
  ID: org.eclipse.rcp, Version: null

 Configured plug-ins:
[SNIP] Proprietary plugins [END SNIP]
  file:/export/home/dhoyt/rwb/plugins/org.apache.ant_1.6.5/
  file:/export/home/dhoyt/rwb/plugins/org.apache.lucene_1.4.3/
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ant.core_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.compare_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.core.boot_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.core.commands_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.core.expressions_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.core.filebuffers_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.core.resources.compatibility_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.core.resources.win32_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.core.resources_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.core.runtime.compatibility_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.core.runtime_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.core.variables_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.debug.core_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.debug.ui_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.help.appserver_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.help.base_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.help.ui_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.help.webapp_3.1.0/
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.help_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.jface.text_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.jface_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ltk.core.refactoring_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ltk.ui.refactoring_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.osgi.services_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.osgi.util_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.osgi_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.platform.doc.user_3.1.1/
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.platform_3.1.2/
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.rcp_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.search_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.swt.gtk.solaris.sparc_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.swt.motif.solaris.sparc_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.swt.win32.win32.x86_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.swt_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.team.core_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.team.cvs.core_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.team.cvs.ssh2_3.1.0/
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.team.cvs.ssh_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.team.cvs.ui_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.team.ui_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.text_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.tomcat_4.1.30.1/
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.browser_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.cheatsheets_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.console_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.editors_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.externaltools_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.forms_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.ide_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.intro_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.presentations.r21_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.views_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.win32_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.workbench.compatibility_3.1.0/
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.workbench.texteditor_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui.workbench_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.ui_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.update.configurator_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.update.core.win32_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.update.core_3.1.2.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.update.scheduler_3.1.0.jar
  file:/export/home/dhoyt/rwb/plugins/org.eclipse.update.ui_3.1.1.jar
  file:/export/home/dhoyt/rwb/plugins/org.apache.commons.codec_1.3.0.jar
Comment 1 Kim Horne CLA 2006-10-02 10:20:52 EDT
Somewhat related to workbench launcher.
Comment 2 Boris Bokowski CLA 2006-10-02 10:35:08 EDT
Moving to Runtime.  Is there anything we should do differently, or is this a problem in core.runtime?
Comment 3 Dan Hoyt CLA 2006-10-10 15:26:33 EDT
Interesting new information.  If I put the -vm parameter anywhere AFTER the -install parameter, the eclipse.vm property gets set properly -- but it still fails to switch the workspace, although with a different error.

The new start line:
Here's the Windows launch with parameters:

start "RWB" /b /wait "C:\Program Files (x86)\RWB\eclipse.exe" -install "C:\Program Files
(x86)\RWB" -configuration "C:\Program Files (x86)\RWB\configuration" -data
"C:\Program Files (x86)\RWB\workspace" -vm "C:\Program
Files (x86)\Java\j2re1.4.2_11\bin\javaw.exe" 1>>"C:\Program Files
(x86)\RWB\workspace\.metadata\out.log" 2>>"C:\Program Files
(x86)\RWB\workspace\.metadata\err.log"

And the diff is (new file on the right):

29a30,31
> -vm
> C:\Program Files (x86)\Java\j2re1.4.2_11\bin\javaw.exe
32c34,35
< eclipse.startTime=1160506768609
---
> eclipse.startTime=1160507000203
> eclipse.vm=C:\Program Files (x86)\Java\j2re1.4.2_11\bin\javaw.exe
34,36c37
< -vm C:\Program
< Files
< (x86)\Java\j2re1.4.2_11\bin\javaw.exe -vmargs -Xms40m -Xmx256m -jar C:\Program

---
> -vm C:\WINDOWS\system32\javaw.exe -vmargs -Xms40m -Xmx256m -jar C:\Program
51c52
< java.library.path=C:\Program Files (x86)\Java\j2re1.4.2_11\bin;.;C:\WINDOWS\sy
stem32;C:\WINDOWS;[snip]
---
> java.library.path=C:\WINDOWS\system32;.;C:\WINDOWS\system32;C:\WINDOWS;[snip]

The new error when attempting to switch workspace is:

Title: Java Virtual Machine Launcher
Message: Could not create the Java virtual machine.

Followed by another message box with the title "Eclipse" and the message:
C:\Program Files (x86)\Java\j2re1.4.2_11\bin\javaw.exe
-os
win32
-ws
win32
-arch
x86
-launcher
C:\Program Files (x86)\RWB-2.0.RC2\\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
f84_384
-install
C:\Program Files (x86)\RWB
-configuration
C:\Program Files (x86)\RWB\\configuration
-data
C:\Program Files (x86)\RWB\\workspace
-vm
C:\Program Files (x86)\Java\j2re1.4.2_11\bin\javaw.exe
-vm C:\WINDOWS\system32\javaw.exe -vmargs -Xms40m -Xmx256m -jar C:\Program
Files
(x86)\RWB\\startup.jar
Comment 4 Ulf Gohde CLA 2006-10-23 06:05:33 EDT
I have the same problem -> Switch Workspace fails - eclipse.vm property has not been set.

I can switch the workspace once. If I try to do it a 2nd time it fails with the eclipse.vm message.

I am sure that it worked more than once a week or 2 ago. I am not aware of any changes in my confguration...
Comment 5 Ulf Gohde CLA 2006-10-23 06:09:50 EDT
I did change something....

I removed the default workspace so that I get asked on startup for the workspace. I changed it back (passing in a workspace directory on startup) and now the switching to other workspaces works fine.
Comment 6 Tod Creasey CLA 2006-11-13 15:21:49 EST
This is preventing a switch workspace in a self hosted environment which is making it very challenging to test functionality on restart
Comment 7 Tod Creasey CLA 2006-11-13 15:37:56 EST
Is there a workaround for this?
Comment 8 Pascal Rapicault CLA 2006-11-14 20:14:44 EST
Dan, have you tried without specifying the -vm argument on the command line (for example setting it in the eclipse.ini file)?
Have you tried with a more recent version of eclipse.exe (for example the one in 3.2)?
From your second message it looks like somehow another -vm gets specified on the restart command line causing the problem.

Tod, it is not possible to have the switch workspace operation working when self hosting because the code handling the restart is contained in the eclipse.exe, and the eclipse.exe is not used in this scenario. PDE directly starts java.exe.
The only known workaround the selfhosting problem is to export your plugins, run the eclipse to which you exported in debug mode and attach to it using a "remote java application" launch configuration.
Comment 9 Jeff McAffer CLA 2006-11-14 21:25:45 EST
note that we may be able to allow switch workspace while self hosting with the new launcher story.  Details are still up in the air but there are is at least one scenario where this would work...
Comment 10 Dan Hoyt CLA 2006-11-15 12:42:42 EST
Re: specifying the -vm argument and/or trying 3.2

No, to both.  

My installation is environment variable based, so putting the -vm parameter in the eclipse.ini isn't practical.  Also, I've noticed that since the introduction of the eclipse.ini, eclipse no longer recognizes -vmargs on the command line, so I may need to eliminate the eclipse.ini file anyway.  I ran across a bug report at some point noting that this behavior was designed, but it doesn't make sense for us, as we use a root/user type of install, and the eclipse.ini is in the root installation, but the user may need to override the RAM parameters in the user installation, depending on his machine's makeup.  So if the Eclipse behavior with respect to the eclipse.ini file and command line parameters is either/or, meaning I have to pick only one, then command line parameters are more flexible.

As to 3.2, I have had problems moving to 3.2 for the last release of our RWB product (a standalone Eclipse workbench based product), primarily because of problems upgrading to the 3.2 BIRT.  We use only the charting part of the BIRT package, and the full prereqs for all of BIRT are much larger than I want to ship, so I have to create my own features with just the parts I need, and it's just not working right under 3.2.  

I'll be looking at a 3.2 upgrade again in the next couple weeks, so this whole thing may become a non-issue for me.  I'll let you know.
Comment 11 Dan Hoyt CLA 2006-12-01 14:09:31 EST
Update on the 3.2 upgrade:

I managed to get our product working properly with the Eclipse 3.2.1 platform, by using the 3.1.2-compatible BIRT and prerequisites.

Unfortunately, Switch Workspace still fails.
Comment 12 Dan Hoyt CLA 2007-02-02 13:21:31 EST
I have a workaround that may shed more light on the problem:

First, background. 
1) I have upgraded to Eclipse 3.2.1
2) I have upgraded to the 3.2-compatible BIRT charts by creating my own feature with only the plugins neede for graphs (http://wiki.eclipse.org/index.php/BIRT/FAQ/Charts2.1#What_JARs_are_needed_on_the_classpath_to_deploy_the_Eclipse_Chart_Engine.3F).
3) I moved the "vm" parameter back to the beginning.

Now, with 3.2.1, I found that if I have a "\" at the end of the "install" parameter (which comes right after the "vm" parameter), Switch Workspace fails.  When I remove the trailing "\", it works!

Comment 13 DJ Houghton CLA 2007-03-28 06:03:51 EDT
*** Bug 179700 has been marked as a duplicate of this bug. ***
Comment 14 John Arthorne CLA 2008-06-27 14:51:15 EDT
> Now, with 3.2.1, I found that if I have a "\" at the end of the "install"
> parameter (which comes right after the "vm" parameter), Switch Workspace fails.
> When I remove the trailing "\", it works!

Ah, so this is a duplicate of bug 222107.

*** This bug has been marked as a duplicate of bug 222107 ***