One Star

[resolved] Failed to create Java Virtual Machine

After I installed TOS_DI-Win32-r74687-V5.0.1.exe, run tos_di-win32-x86, got an error messagebox "Failed to create Java Virtual Machine"
Following are what I did:
1. download TOS_DI-Win32-r74687-V5.0.1.exe
2. Run TOS_DI-Win32-r74687-V5.0.1.exe, installation directory is C:\TOS
3. Installed Java 1.7.0_02
4. Set JAVA_HOME in system environment variables to E:\xx\Java\jdk1.7.0_02
5. Set classpath to ".;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar"
6. Append "%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin" to PATH
At command line, type "java -version", a message was displayed "java version 1.7.0_02 ......."
Then run tos_di-win32-x86.exe. And got the error messagebox.
Could anyone help me what I should do to make this work?
Thanks.
James
1 ACCEPTED SOLUTION

Accepted Solutions
One Star

Re: [resolved] Failed to create Java Virtual Machine

It worked!. Great. Thanks for your help.
5 REPLIES
One Star

Re: [resolved] Failed to create Java Virtual Machine

Hi James
At command line, type "javac".
Can you see the description of command "javac"?
If not, i'm afraid there are something wrong about java environment variables.
Best regards!
Pedro
One Star

Re: [resolved] Failed to create Java Virtual Machine

I typed "javac -version", got this message "javac 1.7.0_02"
One Star

Re: [resolved] Failed to create Java Virtual Machine

Hi
Change TOS_DI-Win32-r74687-V5.0.1.ini as follow.
XX:MaxPermSize=256m
//change into
XX:MaxPermSize=128m

Wait for your feedback.
Best regards!
Pedro
One Star

Re: [resolved] Failed to create Java Virtual Machine

It worked!. Great. Thanks for your help.
One Star

Re: [resolved] Failed to create Java Virtual Machine

modify the configuration setting file with the below entries which would eliminate the Java error.
-vmargs
-Xms64m
-Xmx256m
-XX:MaxPermSize=512m
-Dfile.encoding=UTF-8