Hello all ,
There is a slight error in the path name in the last mail i sent .
The code should
have read
public void beforeFirstEvent()
{
try
{
out_file = new PrintWriter
(new BufferedWriter
(new
FileWriter("/amd/phys150/home/kmaha/lcd/text1.txt")));
}
catch (IOException error) {out.println("File not opened");}
}
please note the path name is
/amd/phys150/home/kmaha/lcd/text1.txt
and not
/amd/phys150/home/kmaha/lcd
the error message is
jas.job.AnalysisException :
security.file.write:/amd/phys150/kmaha/lcd/text1.txt
the above code ran on Windows 98 but does not seem to run on Sun
machine .
Maha
|