Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAVKE - Java Application Verification Kit for Enterprise - Install problem  RSS feed

 
Zsolt Kovács
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

When I try to install JAVKE, it throws the following error: "A suitable JVM could not be found. Please run the program again using the option -is:javahome <JAVA HOME DIR>".
Java is installed to c:\Java\jdk1.6.0_18\ and c:\Java\jre6. Setting the javahome option to these folders (either JDK or JRE) doesn't help.

After some googling I found that with the -is:log switch you could create a log file. This shows:

Finding a JVM
Checking user specified Java home directory => c:\Java\jdk1.6.0_18\
Verifying JVM at c:\Java\jdk1.6.0_18\bin\java.exe
for JVM: Java 1.5X by Sun Microsystems
Executing launch script command: "c:\Java\jdk1.6.0_18\bin\java.exe" -cp "";"C:\Users\ezsolko\AppData\Local\Temp\LRE9BE.tmp\Verify.jar";"" "Verify" java.vendor java.version in working directory C:
Output from the launch script execution
StdOut:
1739021872
Sun Microsystems Inc.
1.6.0_18

ErrOut:

Verifying JVM at c:\Java\jdk1.6.0_18\bin\java.exe
for JVM: Java 1.4.X by Sun Microsystems
Executing launch script command: "c:\Java\jdk1.6.0_18\bin\java.exe" -cp "";"C:\Users\ezsolko\AppData\Local\Temp\LRE9BE.tmp\Verify.jar";"" "Verify" java.vendor java.version in working directory C:
Output from the launch script execution
StdOut:
1739021872
Sun Microsystems Inc.
1.6.0_18

ErrOut:

Verifying JVM at c:\Java\jdk1.6.0_18\bin\java.exe
for JVM: Java 1.4.1 by Sun Microsystems
Executing launch script command: "c:\Java\jdk1.6.0_18\bin\java.exe" -cp "";"C:\Users\ezsolko\AppData\Local\Temp\LRE9BE.tmp\Verify.jar";"" "Verify" java.vendor java.version in working directory C:
Output from the launch script execution
StdOut:
1739021872
Sun Microsystems Inc.
1.6.0_18

ErrOut:

Verifying JVM at c:\Java\jdk1.6.0_18\bin\java.exe
for JVM: Java 1.4.0 by Sun Microsystems
Executing launch script command: "c:\Java\jdk1.6.0_18\bin\java.exe" -cp "";"C:\Users\ezsolko\AppData\Local\Temp\LRE9BE.tmp\Verify.jar";"" "Verify" java.vendor java.version in working directory C:
Output from the launch script execution
StdOut:
1739021872
Sun Microsystems Inc.
1.6.0_18

ErrOut:


After this it tries to find the Java install with hints like "C:\Program Files\Java\j2re1.5.0_01" or "C:\Java\j2re1.5.0_01"

I'm using Vista 32 bit OS, JDK 1.6u18, JAVA_HOME is set to "JAVA_HOME=c:\Java\jdk1.6.0_18\;", tried both root and bin directories of both JDK and JRE, PATH includes the JDK bin c:\Java\jdk1.6.0_18\bin.
Any suggestions?

Thank you for your help
Zsolt
 
jaiganesh kannojiraman
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to specify a lower version of jdk on the javahome option in order to start the installer. Once started it will ask to point to higher version and it works from there.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!