Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

[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
Labels (2)
1 Solution

Accepted Solutions
_AnonymousUser
Specialist III
Specialist III
Author

It worked!. Great. Thanks for your help.

View solution in original post

5 Replies
Anonymous
Not applicable

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
_AnonymousUser
Specialist III
Specialist III
Author

I typed "javac -version", got this message "javac 1.7.0_02"
Anonymous
Not applicable

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
_AnonymousUser
Specialist III
Specialist III
Author

It worked!. Great. Thanks for your help.
_AnonymousUser
Specialist III
Specialist III
Author

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