🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #15754

Java Security Exception from an Application

#15754
From: MARABOUT Grégoire
Date: Thu, 06 May 1999 00:00
25 lines
1355 bytes
If you're running an applet, don't expect it to work (unless you sign
the applet) : the JVM doesn't allow an applet to have access to the
local machine ressources.
You should run it as an application.
Greg

-----Message d'origine-----
De: Dillan Fernando [mailto:dillan@geocities.com]
Publié à : jeudi 6 mai 1999 02:48
Publié dans: language
Conversation: Java Security Exception from an Application
Objet: Java Security Exception from an Application


Hi,

I'm trying to delete a file (using java.io.File) on my hard disk. The
problem is when I execute File.delete(), it throws a security exception.

How else can I delete a file from an App ?

Kind Regards

Dillan Fernando
Technical Details
Message-ID: <9D3B96D19579D211B33300A0C9B3F229268E6B@communication.siege.micropole.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7gql8v$an55@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,79d61392d024742
X-Google-Attributes: gidf74b3,public
From: MARABOUT Grégoire <GMARABOUT@micropole.com>
Subject: Java Security Exception from an Application
Date: 1999/05/06
Message-ID: <9D3B96D19579D211B33300A0C9B3F229268E6B@communication.siege.micropole.com>
X-Deja-AN: 474703502
Content-Transfer-Encoding: quoted-printable
Sender: MARABOUT Grégoire <GMARABOUT@micropole.com>
References: <7gql8v$an55@forums.borland.com>
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language