LinuxサーバーにFortify 4.40をインストールしました。ソースアナライザを実行するAntタスクがあります。ソースアナライザはLinuxサーバ上のメモリが不足しているにもかかわらず実行できますので、私はPCでFortifyをインストールしてそこで動作させることができるかどうかを確認しました。私は私のPC上でAntタスクを実行しようとするとFortify 4.40がWindows 7上でJava 8を見つけることができません
、私は次のエラーを取得:すべての
[sourceanalyzer] [error]: Unable to find a suitable Java VM. The following were attempted:
[sourceanalyzer] > C:\Program Files\HP_Fortify\HP_Fortify_SCA_and_Apps_4.40\jre\bin\server\jvm.dll: File does not exist or is not executable.
[sourceanalyzer] > C:\Program Files\Java\jdk1.8.0_74\jre\bin\server\jvm.dll: There are no more files.
[sourceanalyzer] > jvm.dll: File does not exist or is not executable.
[sourceanalyzer] > java: Verbose parse failed to find a path.
[sourceanalyzer] Please verify the integrity of your HP Fortify installation, or set the JAVA_HOME environment variable to a pre-existing Java installation that meets minimum requirements given in the user guide.
[sourceanalyzer] Result: 1
まず、私のC:\Program Files\HP_Fortify\HP_Fortify_SCA_and_Apps_4.40
フォルダの下にはjre
サブディレクトリがありません。 C:\Program Files\Java\jdk1.8.0_74
フォルダからjre\bin\server
サブツリーをコピーしようとしましたが、File does not exist or is not executable
ではなくThere are no more files
というエラーが発生しました。
さらに、C:\Program Files\Java\jdk1.8.0_74\jre\bin\server
フォルダにjvm.dll
というファイルがありますので、私はThere are no more files
の意味を分かりません。
3番目に、私はFortifyインストールプログラムを再実行したので、私のFortifyインストールでは完全性の問題はないと思います。
第4に、私のJAVA_HOME
環境変数は、C:\Program Files\Java\jdk1.8.0_74
に設定されています。これは、Java 8インストールの正しい値です。 Fortify 4.40はJava 8をサポートしていますが、Linuxサーバーでこれらのエラーは発生しません。
Windows 7上でJava VMをFortifyで見つけることができないのはなぜですか?