Date: Tue, 24 Feb 1998 11:49:14 +1100 From: "Joe Shevland" <joe.shevland@horizonti.com> To: "Michael Bergknoff" <berg@platsol.com> Cc: <freebsd-java@FreeBSD.ORG> Subject: Re: Security exception Message-ID: <199802240050.LAA20014@oznet02.ozemail.com.au>
next in thread | raw e-mail | index | archive | help
> Actually, there isn't much difference between an application and an > (local) applet. It's relatively easy to add a main() method to an applet (class > that extends java.applet.Applet), wrap it in a java.awt.Frame and run > it from the "java" command. I know its easy to do that, but there still is a big difference between an applet and an application; to expand on this, there's a big difference in how they're executed and what executes them and what they're allowed to do. You can try putting the applet in your CLASSPATH environment setting, making it trusted. Netscape will still create a SecurityManager for these, but if you use the 'file:\\' URL specifier you should be OK. If you want to test it on IE 3.0, God forbid, you can install the classes in, roughly, C:\WINDOWS\JAVA\CLASSES\classes.zip using no compression. Alternatively, the classpath can be edited in the registry key HKEY_LOCAL_MACHINE\Software\Microsoft\JavaVM. Sorry, still can't find the appletviewer setting to alter. Maybe it was HotJava?! Hope these may help. ********************************************************************** Joe Shevland - Horizon Technologies International Email: joe.shevland@horizonti.com We are all in the gutter, but some of us are looking at the stars - Oscar Wilde ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802240050.LAA20014>