Troubleshooting
Problem
Attempts to install IBM Installation Manager from a network location fails with the error 'Could not create the Java virtual machine.'
Symptom
When you run the following network installation command, the error occurs.
C:\Users\user1>\\FTPservername\somepath\agent.installer.win32.win32.x86_1.8.1000.20141126_2002\install.exe
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Even if you run the java -version, the same error occurs.
C:\Users\user1>\\FTPservername\somepath\agent.installer.win32.win32.x86_1.8.1000.20141126_2002\jre_7.0.7001.20140909_1712\jre\bin\java.exe -version
Cause
The UNC path you specified is too long. It should be less 100 characters. The issue has been identified as product defect under APAR IV72854. There is a regression in Java 7 which causes running a JVM from a long UNC path to fail with the error. For earlier JVM Java 6 versions, this error will not occur.
Resolving The Problem
You can perform one the following solutions to resolve the error.
- Option 1: Use the pushd command.
- Option 2: Make the network path shorter as the below.
- Option 3: Copy the install repository into a local directory then run install.exe.
C:\Users\user1>pushd
\\FTPservername\somepath\agent.installer.win32.win32.x86_1.8.1000.20141126_2002
Z:\somepath\agent.installer.win32.win32.x86_1.8.1000.20141126_2002>install.exe
Z:\somepath\agent.installer.win32.win32.x86_1.8.1000.20141126_2002>popd
C:\Users\user1>
C:\Users\user1>\\FTPservername\somepath\IM181\install.exe
Product Synonym
Rational Team Concert
Was this topic helpful?
Document Information
Modified date:
25 October 2021
UID
swg21698055