aspose file tools*
The moose likes Applets and the fly likes AccessControlException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
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: 39576
    
  27
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 ]

Ping & DNS - updated with new look and Ping home screen widget
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://aspose.com/file-tools
 
subject: AccessControlException
 
Similar Threads
File Uploading Applet
Exception in thread "AWT-EventQueue-0"
file reading in applet
AWT-EventQueue-0" java.lang.NullPointerException: component argument pData
unexpected exception:please help