Win32 loader for Forte for Java Internet Edition rmid wrapper
SYNOPSIS
rmid_wrapper.exe [options]
DESCRIPTION
rmid wrapper is a wrapper for JDK rmid. It provides additional
functionality that can be used from the IDE. rmid_wrapper.exe is a
console application. When it is run, there is a
console opened on the desktop with stderr and stdout output from the Java
program. You can type Ctrl-Break to get the thread dump or type Ctrl-C to
kill the whole program.
The rmid_wrapper uses java.exe to launch the wrapper.
You can specify additional options. They are
-jdkhome jdk_home_dir
- use the specified JDK version instead of the default one. By default the
loader looks into the Windows registry and uses the latest JDK available.
All options and arguments are recognized in the same manner as rmid
recognizes them. There are a few predefined options:
- -Dnetbeans.security.policy=rmid.policy
- the wrapper uses default
policy file. It could be replaced by another one but there is one
major grant entry that should be part of the policy file:
grant codeBase "file:${netbeans.home}/-" {
permission java.security.AllPermission;
};
it gives enough permission to the wrapper class. The classes are
located in {netbeans.home}/lib/ext/rmi-ext.jar
- -classpath
- {netbeans.home}/lib/ext/rmi-ext.jar is added to the
classpath
- -Dsun.rmi.server.activation.debugExec
- is set to True
- -Dnetbeans.home
-
- is set to
{directory_of_wrapper_process}\..
The options above can be redefined (using the -J switch).
About arguments containing spaces
If arguments like classpath or properties contain spaces, they must be enclosed
in double quotes. Write two successive quotes to denote a quote inside an
argument: for example, "3 1/2 "" floppy drive".
Examples
To change security policy:
rmid_wrapper.exe -J-Djava.security.policy=policy
To turn off debugging information:
rmid_wrapper.exe -J-Dsun.rmi.server.activation.debugExec=false
Todo's & open issues