Hitachi

Hitachi Application Server V10 Definition Reference Guide (For UNIX® Systems)


7.20.3 JAVAW_HRAS

JAVAW_HRAS is an environment variable that enables execution of the javaw command.

Description

If you are using a Java program that is not related to Application Server in an Application Server execution environment (an environment other than the application development environment), to use this environment variable, separately purchase Application Server - Optional License for Java.

If you execute the javaw command with this environment variable specified, you will be able to execute Java application programs that do not link with Application Server. When a Java application program is executed, the following options for outputting Java VM operation information are automatically specified:

If you do not set this environment variable, the command fails and the following message is output:

Javaw command cannot be used except in some special cases.
When starting a Java program, use the java_hras command, etc.
Depending on the Java program executed,
it might be necessary to purchase the other product.

Note that Java application programs that do not link with Application Server can be executed by using the java, java_hras, or javaw command. The following shows how to execute each of these commands.

To execute the java command:

Use either of the methods below.

  • Execute the command with the -Xhras option specified.

  • Execute the command with the JAVA_HRAS environment variable set.

To execute the java_hras command:

Execute the java_hras command in installation_directory_for_Application_Server/jdk/jre/bin/.

The functionality of the java_hras command is equivalent to that of the java command. Unlike the java command, you do not need to specify the -Xhras option or the JAVA_HRAS environment variable when executing the java_hras command.

To execute the javaw command:

Use either of the methods below.

  • Execute the command with the -Xhras option specified.

  • Execute the command with the JAVAW_HRAS environment variable set.

Specifiable values

There are no input restrictions.

Default value

If the definition item is omitted:

Nothing is set.

If the value is omitted:

Specifying nothing for the JAVAW_HRAS environment variable also enables this environment variable.