I have JDK 1.5.0_07. I use it all the time from Eclipse, so I know it is correct.
It was installed using the Windows installer. In the past JRE and JDK have installed in places like C:/java/jre_xxxx. With this installer it goes into C:\Program Files\Java\jdk1.5.0_07\jre\bin\client Note the space between Program and Files.
I have seen java programs unable to deal with spaces in path names.
My recent install of SS build 653c claims not to be able to find the JVM. The path "Auto-detect" grabs looks right.
If I am right and it is the space in the path name is there a work around?
If I am wrong, what is it?
Gallagher Financial Systems
Subject:SS 2006 R3 Ent cannot find JRE JDK Author:(Deleted User) Date:11 Jul 2006 10:15 AM
"The spaces should not create any problem."
It seems to. When the JDK is rooted at "C:\Program Files\Java\\jdk1.5.0_07\" autodetect fills in nothing.
When I coppied it to "C:\\Java\\jdk1.5.0_07\" autodect can see it and fill in the data.
If the statement "Are you running multiple JVM in your system?" means are there multiple JRE, JSK directories on the system the answer is yes.
If it means are there multiple JVM services running at the same time then no. I have tested both with Apache Tom Cat started and stopped and it does not seem the change the result.
"Did you re-start Stylus Studio after clicking auto-detect?"
Yes, and reboot as well.
"Do you see all fields populated in the Java Virtual machine options page after auto-detect?"
Yes. Values are
Enable JVM on
Run time Library: C:\Program Files\Java\jre1.5.0_07\bin\client\jvm.dll
Parameters:-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
Home Directory: C:\Java\jdk1.5.0_07
command Line: C:\Java\jdk1.5.0_07\bin\java.exe
Yet when I try to access many features like, save a file I get the message "Stylus Studio could not load the Java Virtural Machine for the following reason Java Run Time Initialization failed."
THe entire reason I upgraded to "Enterprise is to use features that require the JVM. If I cannot get this configured correctly I will be asking for a refund. I have been trying for over a week.
Now the autodeect works and gets the parameters pointed to in the regstry as you indicated. It was pointing to 1.5 when it should have pointed to 1.5.0_07. I fixed it, rebooted opened SS ran autodetect, exited SS, opened SS.
The bad news is a still get the same "Java Runtime Environment Failed to Initiliaze" message.
OK I suspect that having in the PATH SDK 1.5 and JRE 1.3 and JRE 1.1.8 may get you in trouble.
Try the following experiment
- open a DOS console and cd to
"c:\Program Files\Stylus Studio 2006 Release 3 XML Enterprise Edition\bin"
- type SET PATH= then press enter
- type struzzo.exe and press enter
At this point Stylus Studio should start
SS did start. However, I get the same error message.
Perhaps I was not clear before. The error message does not come up on loading. If I mislead you I am sorry.
I get the error message when I try any of the functions that are documented to need the SKD, like browsing for a WSDL document as well as any file reference ( open a document, get the error message, File open dialog appears.)
Same result. After SS opens Menu selection file/opem creates the error message.
In Help/About the JVM text panel contains
Java Runtime Environment boot library
C:\Program Files\Java\jre1.5.0_07\lib\rt.jar not found.
Infact there is no rt.jar in that directory.
I find that I have several copies of rt.jar on my system. Apparently the JRE JDK in older versions contained the rt.jar file. Now I find the all my java based applications send a rt.jar file of their own with the application.
There is a copy in
C:\Program Files\Java\jdk1.5.0_07\jre\lib. Since several of the SS features require the JDK I would expect SS to look in the JDK/JRE/lib directory.
Sonds like a JRE/SDK version compatibility issue for SS.
Shold I copy it someplace you are looking, or change a path to where it is located?
Subject:SS 2006 R3 Ent cannot find JRE JDK Author:(Deleted User) Date:17 Jul 2006 08:56 AM
I will try that however I do not agree with that recomendation.
Note that in your system you are using the JRE and C:\Program Files\Java\jre1.5.0_07\lib contains the rt.jar file.
Same as my sytem however, I am using the SDK. It was my understanding the the advanced features of SS require the SDK. When the SDK is being used the default location for rt.jar is
Note that the file is one layer deeper in the SDK case in jre\lib.
If SDK is not required for advanced features then I can revert to JRE.
Subject:SS 2006 R3 Ent cannot find JRE JDK Author:Bogdan Stavrev Date:03 Oct 2007 03:43 PM
Excuse me if this is not the right place to put my question, bum I'm realy desperate already, and I don't know hwo to ask.
I'm trying to install Arhi CAD 10 on my PC for like 2 weeks now, and I cannot install it. I have done a million things already, but I keep receiving the an Error Message that says that Cannot find JVM and to try again using "-is:javahome <JAVA HOME DIR>".
I will be so so so appriciated if someone can help me out with this...
Thank you in advance...