Note on usage
Function: Manage link to the Java executable
User group: FT administrator and FT user (only on Windows systems)
Functional description
ftsetjava is used to set a link to the Java executable.
ftsetjava is used implicitly during installation of openFT. In addition, you can also call ftsetjava as administrator in order to
see what file is referenced by the link to the Java executable used by openFT.
set the link if Java was not installed or if an incorrect version was installed at the time when openFT was installed or if the installation path of the Java executable has changed.
see what Java installations are present in the directories searched by openFT.
Format
ftsetjava [ @s | @a | <file name 1..512> ]
Description
@s
Sets the link to the Java executable.
If the attempt to set a link to the Java executable fails because no suitable Java installation is available, an appropriate message is output to stdout. A warning is also issued if this happens during installation of openFT.
The option @s is only supported on Unix systems.
@a
Shows all the Java executables installed in the search path.
Any subsequent call to ftsetjava @s is successful if and only if at least one of these installations meets the requirements of openFT with respect to the version. The file whose version is closest to that of the required Java version 1.5 is then used as the source of the link. If multiple Java executables with the same version are installed then the first of these displayed in the list is used.
The option @a is only supported on Unix systems.
file name
Sets the link to the specified Java executable.
You must specify the fully qualified filename of a Java executable that matches the version requirements stipulated by openFT. If the attempt to set a link to the Java executable fails, a message to this effect is issued to standard output.
neither @s nor @a nor file name specified
If ftsetjava is called without parameters, it outputs the complete path of the executable used by openFT.