Please or
Try NowBuy Now

Locations of visitors to this page

SourceForge.net

SourceForge.JP

wrapper.registry.java_home Property
wrapper.registry.java_home Property

Configuration Property Overview

wrapper.registry.java_home

Compatibility :3.2.4
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

WARNING

DO NOT modify the value of this property while an application using the configuration file has been installed as a Windows Service. Please uninstall the existing service BEFORE modifying this property. The service with the new value can then be safely reinstalled later.

This property is only used on Windows platforms.

The Wrapper can be configured to launch a JVM that has been configured in the Windows registry. The wrapper.java.command property is required to be set to an empty value.

By default, the Wrapper will look for a a registry entry set by the Sun JRE installer. This property makes it possible to tell the Wrapper to look in a specific location for a registry key containing a JAVA_HOME value.

The specified registry key is the full path to a key of type "REG_SZ".

Example - Default Registry Location:
wrapper.java.command=
Example - Custom Registry Location:
wrapper.java.command=
wrapper.registry.java_home=HKEY_LOCAL_MACHINE\SOFTWARE\MyCompany\MyApplication\JavaHome

The registry entry should contain a fully qualified, absolute path to a Java installation. It should be the home directory of the installation. The Wrapper will append \bin\java to the specified directory.

Example - REG_SZ Value:
C:\Program Files\MyApp\jre

If the Java command is located using the Windows registry, the JAVA_HOME value will be stored into a WRAPPER_JAVA_HOME environment variable. This value can then be referenced in the values of other properties.

Reference:





User Comments

If you notice something that is incorrect, missing, or simply feel that some part of this page could be explained better, feel free to log in and add a comment. You will need to register before you can log on.

Email:
Password:
Java Service Wrapper Version: 3.5.4