Top
Interstage Studio J Business Kit User's Guide
FUJITSU Software

2.3.1 Specifying the Java VM Used in JBK Plugin

This section describes how to specify the Java VM, which JBK Plugin uses to execute an applet.

By default, JBK Plugin uses JavaSE selected at the installation of JBK, as a Java VM. If you use the default, you do not have to specify the Java VM.

Specifying the Java VM to be Used

To change the default Java VM to be used, code the following line in the jbkplugin.properties file.

jbk.plugin.javahome=<JavaSE-install-directory>

As <JavaSE-install-directory>, specify the install directory of JavaSE to be used as a Java VM.

Note

  • In the default state, the line specifying the Java VM in the jbkplugin.properties file is a comment line (line starting with '#'). When specifying the Java VM, erase the '#' at the beginning of the line.

  • If the name of the JavaSE install directory includes a blank character, enclose the JavaSE install directory name by double quotation (") marks.

  • For Java VM to be used with JBK Plugin, specify a version of JavaSE suitable for the applets that will be executed.

Example

Sample specifications of the Java VM to be used

jbk.plugin.javahome="C:\Program Files\jdk1.6.0"

Point

Search sequence for finding the Java VM to be used

JBK Plugin searches for the Java VM to be used to execute an applet in the following sequence:

  1. If the Java VM to be used is coded in the jbkplugin.properties file, JBK Plugin uses it.

  2. If the Java VM to be used is not coded in the jbkplugin.properties file, JavaSE selected at the installation of JBK is used as a Java VM (default operation).

  3. If the information of JavaSE selected at the installation of JBK cannot be obtained, JavaSE specified in the JAVA_HOME environment variable is used as a Java VM. This situation occurs if the registry including the JBK installation information cannot be referenced.