About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Question & Answer
Question
"Error: cannot launch the agent, Java VM not initialized" while exporting a UML 2.1 XMI model.
Answer
The exact error message is as follows:
Error: no Java Runtime Lib JVM.dll found in PATH environment variable, please update PATH with '<Your Java Runtime Environment Directory>\bin' directory location
Error: if PATH environment variable is already configured, try to move '<Your Java Runtime Environment Directory>\bin' directory location to the beginning of PATH environment variable
Error: cannot launch the agent, Java VM not initialized
This error occurs if the Java runtime environment is not installed, or if the environment variable for the runtime environment is not set.
Follow the steps listed below to overcome the error:
- Download and Install Java runtime environment from the following link:
http://www.java.com/en/ - If the jre is already installed, then set the PATH environment variable to point to the bin directory of the jre
for example: "C:\Program Files\Java\jre1.6.0_03\bin" (Refer to the attached path.jpg) - Restart TAU
Please note: The above path is specific to the installation.
3.0, 3.1, 4.0AnswerProduct versionPartner ContentInternal ContentCategoryReference IDAuthor
[{"Product":{"code":"SSYQGX","label":"Rational Tau"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Historical Number
40077
Was this topic helpful?
Document Information
More support for:
Rational Tau
Software version:
Version Independent
Document number:
363627
Modified date:
16 June 2018
UID
swg21325079