IBM Support

IBM Installation Manager のインストールは 'Could not create the Java virtual machine.' のエラーで失敗します

Troubleshooting


Problem

UNC 形式のパスでネットワーク上の端末にある IBM Installation Manager のインストールを実行すると、'Could not create the Java virtual machine.' というメッセージが表示されてインストールが失敗します。

Symptom

install.exe を UNC のパスを使用してインストールを開始すると、JVM を作成できないエラーが発生します。


C:\Users\user1>\\<server_name>\...\agent.installer.win32.win32.x86_1.8.1000.20141126_2002\install.exe




java -version のコマンドだけでもエラーが発生します。


C:\Users\user1>\\<server_name>\...\agent.installer.win32.win32.x86_1.8.1000.20141126_2002\jre_7.0.7001.20140909_1712\jre\bin\java.exe -version


Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Cause

UNC のネットワーク・パスは長すぎます。パスは半角 100 文字以内に抑える必要があります。この問題は Java 7 の JVM 障害 APAR IV72854 として確認されました。Java 6 とその前のバージョンの場合は、エラーは発生しません。

Resolving The Problem

次のいづれかの回避方法を実施します。


オプション1: pushd コマンドを使用する。

C:\Users\user1>pushd \\<server_name>\...\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>



オプション2: ネットワークのパスを半角 100 文字以内に抑える。

C:\Users\user1>\\server_name\shortpath\IM181\install.exe



オプション3: インストール・メディアをローカルの端末にコピーして UNC でないパスで install.exe を実行する。

[{"Product":{"code":"SSDV2W","label":"IBM Installation Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Install","Platform":[{"code":"PF033","label":"Windows"}],"Version":"1.8;1.8.1;1.8.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
25 October 2021

UID

swg21902076