Associate Java with JAR Files

Associating Java with JAR Files

If Istaria doesn't start the launcher upon double-clicking the "Play Istaria" link from your desktop or double-clicking launcher.jar from your installation folder (usually c:\program files\istaria), and displays an error message, there may be a problem with Java being associated with JAR files.

This can happen when file compression programs or development tools become associated with JAR files, which prevents the files from being properly executed.

You can confirm there's a problem with the file association by opening a command line prompt in your Istaria installation folder (usually c:\program files\istaria), and then typing the following. If the launcher appears, you've confirmed that JAR files are not properly associated with Java:

"java -jar launcher.jar"

-or-

"C:\Program Files\Java\jre\bin\javaw.exe -jar launcher.jar"


A utility for fixing the Java file association and manual correction steps are listed below:

Utility for Fixing JAR File Associations:
http://www.softpedia.com/get/Others/Miscellaneous/Jarfix.shtml

Manual Steps to Correct JAR File Association

Set path for Java in System Environment Variables, which you can do manually by following the steps below:
  1. Most users install Java on their C:\ drive. If you installed on a different drive letter, please substitute the correct letter drive below. If you're unsure what this means, don't make any changes until confirming Java's location upon your hard drive.
  2. Open a command prompt window using "Run as administrator,” and then type:
    1. C:\>assoc .jar=jarfile
    2. C:\>ftype jarfile="C:\Program Files\Java\jre\bin\javaw.exe" -jar "%1" %*

If you don't know your login or password, please send an email to [email protected],
along with possible email, login name or character names.

Helpdesk FAQ