From owner-freebsd-java Mon Feb 23 16:51:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA01465 for freebsd-java-outgoing; Mon, 23 Feb 1998 16:51:11 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from oznet02.ozemail.com.au (oznet02.ozemail.com.au [203.2.192.124]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA01399 for ; Mon, 23 Feb 1998 16:51:03 -0800 (PST) (envelope-from joe.shevland@horizonti.com) Received: from jupiter ([203.33.128.245]) by oznet02.ozemail.com.au (8.8.4/8.6.12) with ESMTP id LAA20014; Tue, 24 Feb 1998 11:50:53 +1100 (EST) Message-Id: <199802240050.LAA20014@oznet02.ozemail.com.au> From: "Joe Shevland" To: "Michael Bergknoff" Cc: Subject: Re: Security exception Date: Tue, 24 Feb 1998 11:49:14 +1100 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1162 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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