How do You set -noverify in an HTML page that calls an applet
I have an applet which runs fine from inside JBuilder when I specify a
-noverify switch in the debugger. (java -noverify myapplet.class)
Without this switch, I get a verification exception.
So I need to specify the -noverify switch from inside a webpage so that when the client runs it, he does not get the same exception.
The question is how do you pass -noverify to JVM from an HTML page that uses <applet> tag and javascript?
Thanks
This is a well known bug with version 1.4 and up. When you build your applet, everything works fine, but at run time you get the exception unless you specify -noverify.
I have researched this thoroughly , so that is not the issue. The issue is how can I get the applet to behave the same way it does when it runs on the client end.
Odd, because I work on an applet that gets built with 1.4. We have 30,000+ clients who use it every day, and I'm sure we don't tell them about setting -noverify switches in their plug-in control panel, and we don't (cuz we can't) set it in the applet (object/embed, actually) tag.
Of course, I suppose it could be a backwards compatibility issue going from compiling in newer version than it's run in.