Archived

This topic is now archived and is closed to further replies.

role

[java] Applet & Jar??

Recommended Posts

hi.. i want to know how to load or save file in .jar file?? i use applet for making my game, coz'' i read an article that said applet can load/save file IF the applet files in .jar file (in jar relative path) but i have no clue to do it i have made the jar file, but it still can''t read/write file (due to applet restrictions) and the confusing one, in applet viewer the applet successfully load file but can''t save file and anybody can show me the link to multiplayer java games that use applet (like what i''m working now) thanxx best regards,

Share this post


Link to post
Share on other sites
you need to use the jar tool to create a jar (search for information on the jar tool at java.sun.com) and then sign the jar (search for information on keytool and jarsigner at java.sun.com) in order to have access to the local file system.

Share this post


Link to post
Share on other sites