Skip to main content
gamedev.net
🔒 Locked

[java] Applet & Jar??

Started by role 0 replies 300+ views
Original Post
role
role
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,
markuskidd
markuskidd
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.
Star Dart - Java Multiplayer Space Combat at http://www.stardart.net/

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.