Java runtime version

Unknown macro: {scrollbar}

Set Java runtime

By default Pax runner will start the target framework in a new process. This means that a brand new Java Virtual Machine will be started. To define the Java Home of the JVM to be used you can use the --javaHome option.

pax-run --javaHome=<path>

where path is path of the JVM to be used.

By default, if this option is not specified, the same java home will be used as the one used for starting up Pax Runner. This means that the value of java home will be determined by first looking up the value of system property JAVA_HOME. If this is not set then the value of system property java.home will be used (=same with the java home in which runner is running).

Example

pax-run --javaHome=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home

This will use the vm options to setup remote debugging in the target OSGi framework.

Note that setting up --javaHome does not mean that Pax Runner will be run using that java home, but that the target framework will be started using that specific java home. To set what java home (version) is used to start up Pax Runner you should use your operating system specific means.