Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Virtual Machine / February 2006

Tip: Looking for answers? Try searching our database.

JVM question

Thread view: 
Inieponied Guy - 06 Feb 2006 18:49 GMT
Hi to all,

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
Roland de Ruiter - 11 Feb 2006 11:03 GMT
> Hi to all,
>
[quoted text clipped - 6 lines]
>
> Thanks to all

Don't know how the browser invokes the JVM, but you can specify runtime
parameters, however.

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
Inieponied Guy - 11 Feb 2006 15:52 GMT
Thank you very much, now I can finally start the project

Alessio


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.