How to set -Xbootclasspath for a JRE with a custom launcher?

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2010-03-06T19:54:17Z Indexed on 2010/03/11 20:34 UTC
Read the original article Hit count: 176

Filed under:
|

I have a Java application which is using a certain Java Runtime Environment. The application uses it's own launcher to startup the java virtual machine. No use of the java.exe, javaw.exe, javaws.exe binaries is being made -- as the application seems to have it's own launcher which is a different executable. This custom launcher is using the rest of the JRE files, such as bin/client/jvm.dll and rt.jar package etc.

Now, the problem is that I want to set a boot class path for this custom launcher. The custom launcher does not support the -Xbootclasspath command line parameter, like the default java.exe does.

Is there any way for me to set the boot class path now for this java runtime environment?

Thanks in advance.

Some things to keep in mind:

  1. I do not have the source of this application
  2. This is meant for self and personal debugging use only, not for distribution

© Stack Overflow or respective owner

Related posts about java

Related posts about jre