This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Applets and the fly likes java policies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "java policies" Watch "java policies" New topic
Author

java policies

arun iyer
Greenhorn

Joined: Nov 29, 2000
Posts: 28
hi,
i have witten an applet which executes an exe file fromt he client's hard disk. It works fine with appletviewer but does not work in a browser. I would like to know how and in what manner i can allow the applet to run the exe file. I would like to know how to make certificate, if required.

arun iyer
David Freels
Ranch Hand

Joined: Feb 01, 2001
Posts: 102
Here is a link to the keytool docs:
http://java.sun.com/j2se/1.3/docs/tooldocs/win32/keytool.html
This is used to make a personally signed key. Most users will not accept it, but it will allow you to test your applet. After that you will need to purchase a certificate from Verisign or one of their competitors. This is very expensive to maintain as the certificate expires. Another approach is to use the java plug-in and have the user modify the local java.policy file.
Hope this helps.
David
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java policies
 
Similar Threads
its urgent
how to create .exe in java
can u help me out
JBuilder: how to place an icon in exe file?
How to create an .exe file?