[5486] in java-interest

home help back first fref pref prev next nref lref last post

can't read or write file in using appletviewer

daemon@ATHENA.MIT.EDU (Kenneth Cheng)
Mon Feb 12 18:08:37 1996

From: Kenneth Cheng <kcheng@cs.stanford.edu>
To: java-interest@java.sun.com
Date: Mon, 12 Feb 1996 14:10:35 -0800 (PST)

Whyt I keep receiving security exception error when I tried to read a 
RandomAccessFile using appletivewer?  I changed the properties file and include
acl.read = \programfiles\files
acl.write = \programfiles\files
I am using Win95. Does the slash matter? I tried using both forward and backward
slashes.  It won't work.
Is there anything I have to do with my .java file.  Currently I open my file
by executing:
   try{RandomAccessFile  rf = new RandomAccessFile("\\programfiles\\files\\myfile", "rw");}
   catch (Exception e).......
Is it a bug in Win95?
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post