Jump to content
  • Advertisement

Archived

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

role

[java] Applet & Jar??

This topic is 5657 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!