Re: JVM question
- From: Roland de Ruiter <roland.de.ruiter@xxxxxxxxxxxxxxx>
- Date: Sat, 11 Feb 2006 12:03:27 +0100
Inieponied Guy wrote:
Hi to all,Don't know how the browser invokes the JVM, but you can specify runtime parameters, however.
I need to know how a browser open an applet, or, better, how a browser
invoke the virtual machine; the browser open the JVM through a dll
specified in the windows registry?
I need this informations because i have to intercept the call of an
applet and pass it from a bytecode verifier build by myself before
giving the applet itself to the JVM.
Thanks to all
Open the Java control panel (in Windows, Start > Control Panel > Java) and select the 'Java' tab. Press 'View' button of the Applet Runtime Settings, and add the required parameters in the 4th column (it's editable).
You can use any of the parameters supported by the java executable (<http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html>), like -agentlib:YourBytecodeVerifier or -javaagent:SomePathToYourJAR.
Make sure, however that the parameter you supply are correct, otherwise your browser will die when it tries to open the first applet. [It happened to me when I had a typo in the parameters to debug an applet in the browser.]
Regards,
Roland
.
- Follow-Ups:
- Re: JVM question
- From: Inieponied Guy
- Re: JVM question
- References:
- JVM question
- From: Inieponied Guy
- JVM question
- Prev by Date: Re: JRE 1.5 installation problem on Windows NT4
- Next by Date: Re: JVM question
- Previous by thread: JVM question
- Next by thread: Re: JVM question
- Index(es):
Relevant Pages
|