Listed below are some NativeJ-specific properties that can be obtained by System.getProperty() for information related to either the executable or operating system.
nativej.exe.path: Full path to the executable eg. C:\Program Files\MyApp\MyApp.exe.
nativej.extract.path: Path to the extracted files if using JAR files embedding feature.
nativej.csidl.appdata: Full path to the folder returned by SHGetSpecialFolderPath(CSIDL_APPDATA) eg. C:\Documents and Settings\UserName\Application Data. Note that this API function is only available in Windows 95 if Internet Explorer 4.0 is installed. If the target machine does not fit this requirement, the value will be null.
nativej.csidl.local.appdata: Full path to the folder returned by SHGetSpecialFolderPath(CSIDL_LOCAL_APPDATA) eg. C:\Documents and Settings\Username\Local Settings\Application Data. Note that this API function is only available in Windows 95 if Internet Explorer 4.0 is installed. In addition, shell32.dll version must be 5.0 or later. If the target machine does not fit this requirement, the value will be null.
nativej.csidl.personal: Full path to the folder returned by SHGetSpecialFolderPath(CSIDL_PERSONAL) eg. C:\Documents and Settings\Username\My Documents. Note that this API function is only available in Windows 95 if Internet Explorer 4.0 is installed. In addition, shell32.dll version must be 5.0 or later. If the target machine does not fit this requirement, the value will be null.
nativej.service.name: Name of the service from which this executable is invoked. This property is only available when the executable is launched as a service.
nativej.service.description: Description of the service from which this executable is invoked. This property is only available when the executable is launched as a service.
nativej.service.starttype: Startup type of the service from which this executable is invoked. Possible values are either "0" (manual) or "1" (automatic). This property is only available when the executable is launched as a service.