Product: TIBCO Spotfire®
Not able to modify startup string for Spotfire S+ Workbench
Customer tries to modify the startup string for S+ Workbench but gets the error "Could not create the Java virtual machine."
Also happens if S+ Workbench is installed in a (longer) non-standard path.
This is actually due to a Windows limitation on the length of shortcut startup strings. There are two ways to handle this:
Option A:
-----------------------------------------------------
The solution is to include the Eclipse commands in an eclipse.ini file under the eclipse directory in the S+ installation directory. To do that, create file C:\Program Files (x86)\TIBCO\splus82\eclipse\eclipse.ini, and include the following commands in it:
-product com.tibco.statsvc.plugin.platform.splusWorkbench
-vm C:\Program Files (x86)\TIBCO\splus82\java\jre\bin\javaw.exe
-vmargs -Dsplus.shome=C:\Program Files (x86)\TIBCO\splus82
-Xss1280k
-Xmx400m
Then remove all the commands from the end of the shortcut path, so that the shortcut path is just:
"C:\Program Files (x86)\TIBCO\splus82\eclipse\eclipse.exe"
Option B:
-----------------------------------------------------
Install S+ 8.2 into a non-standard location (i.e. not under Program Files (x86)), so that the full shortcut path is shorter in length.
This is a limitation of Windows shortcuts. According to:
http://msdn.microsoft.com/en-us/library/bb774944.aspx
the target path of a shortcut is (at most) MAX_PATH characters. According to:
http://msdn.microsoft.com/en-us/library/aa365247.aspx#maxpath
MAX_PATH is 260 characters.
Comments
0 comments
Article is closed for comments.