aspose file tools
The moose likes Applets and the fly likes AccessControlException Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Applets
Reply Bookmark "AccessControlException" Watch "AccessControlException" New topic
Author

AccessControlException

Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
I have a signed Applet that read file from local system.

It is working fine under Sun JRE.

But when I try to run on the PC that doesn�t have Sun JRE (running using IE�s 1.1.6 JRE), it gives following error.



My blood is tested +ve for Java.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35253
    
    7
That's some old JVM you're using. I seem to recall that the MS JVM and the Sun JVM work differently when it comes to signed applets, and that the applet needs to be signed in different ways (or maybe it needs to be signed in a very particular way to work on both JVMs, I can't remember). This page seems to indicate as much.
[ January 18, 2006: Message edited by: Ulf Dittmer ]

Android appsImageJ pluginsJava web charts
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Thanks Ulf.

I got bit more info here and I am doing R&D on the same.
[ January 18, 2006: Message edited by: Chetan Parekh ]
dipali toshniwal
Greenhorn

Joined: Jan 17, 2006
Posts: 8
hi
have u checked class path?

regards,
Applet-Interview-Questions
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Dipali, check classpath for what?
Sunil Kumar Gupta
Ranch Hand

Joined: Aug 26, 2005
Posts: 824
Originally posted by dipali toshniwal:
hi
have u checked class path?

regards,
Applet-Interview-Questions


CLASSPATH



Lack of will power has caused more failure than lack of intelligence or ability.
My Blog | Red5 Resources | Technology Update | Daily Technology Tips
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: AccessControlException
 
Similar Threads
File Uploading Applet
AWT-EventQueue-0" java.lang.NullPointerException: component argument pData
unexpected exception:please help
Exception in thread "AWT-EventQueue-0"
file reading in applet