Java Web Start application does not use JRE specified in jnlp file

Environment:

OS: Windows Vista version 6.0 (SP2)

Java versions are installed (marked on the control panel):

  • jre1.6.0, Java 2 Update,
  • Java 3 update,
  • Java 5 update,
  • Java Update 31

(the following folders were found in the C: / Program Files / Java folder: jre1.6.0, jre1.6.0_02, jre1.6.0_03, jre1.6.0_05, jre6)

java -version response:
Java (TM) SE Runtime Environment (build 1.6.0_31-b05)

Problem:

According to http://docs.oracle.com/javase/1.5.0/docs/guide/javaws/developersguide/syntax.html and http://webstartfaq.com/#49 I can specify the version of JRE to run. I want to use JRE 1.6.0_31 (Java 1.6, update 31). For this I need to install

j2se version="1.6.0_31+" href="http://java.sun.com/products/autodl/j2se" 

in the JNLP file. I did this, but the JRE version used by the Java web launch application is incorrect.

Step to play:

"C:/Program Files/Java/jre6/javaws.exe my_jnlp_file"

:

: Java Web Start 1.6.0_31 JRE 1.6.0_31.

:

: Java Web Start 1.6.0_31 JRE 1.6.0-oem-b104 Java HotSpot (TM).

. !

+3
1

, jnlp . . jnlp , .

+1

All Articles