Page 1 of 1

Problem w/ Java?

PostPosted: Mon Mar 23, 2015 12:00 am
by theMGMT
Okay so I haven't played Salem in a while and I can't seem to run the game anymore. Anytime I try to run it I get an error window saying,

"Java Installation Not Completed
Unable to install Java
There are errors in the following switches: C:\Users\me\Desktop\Games\Salem\salem.jnlp
Check that the commands are valid and try again"

It may help to know that before I tried playing again for some reason I tried to add Salem(Latikai's client) to my Steam library. I now know that doesn't work. Anyway this resulted in Salem trying to open via Steam. So I right clicked the updater file and tried opening it with Java because I assumed that's what it always was doing. Since I did that I got basically the same error. I then uninstalled Java, deleted the updater, and got rid of the original Salem files in hopes of refreshing everything back to default. It didn't work obviously and now I'm stuck with the error message above. Please help!

Re: Problem w/ Java?

PostPosted: Mon Mar 23, 2015 4:54 am
by MagicManICT
Check your shortcut to the Salem app. Right-click>Properties. It should say something about "Type of file" and "Opens with: Java Web Start Launcher" Under "Location:," it should say where the Salem directory for files is located. If you don't see all of this, either Java didn't install correctly (see #3 below), or didn't associate .jnlp with Java Web Start.

#1You could also have a setting turned off in Java's settings preventing it from launching files from your browser, which would be any Java Web Start apps (.jnlp). Open Java settings (under Control Panel in Windows). On the "Security" tab, make sure "Enable Java content in the browser" is checked. You should be able to launch now.

#2 If Java didn't configure correctly, but is otherwise installed, you can manually associate .jnlp files to launch with Java Web Start, javaws.exe. Right click the salem.jnlp file, select "Open With..." and you will need to browse to where you have Java installed, typically C:\Program Files\Java, navigate to the current version number (latest version would be the folder jre1.8.0_31), then the "bin" folder. Select the "javaws.exe" file and hit "Ok". Everything should work fine now.

#3 Finally, did Java install properly? I'm assuming you attempted to install Java 8. Check this page: http://java.com/en/download/installed8.jsp. If you can run that Java app, Java should be installed properly. If not, you should uninstall Java, use the Java clean-up tool, and reinstall. (Note: the clean-up tool can be used to find old versions of Java that might be floating around your system all or in part and remove those.)

As far as setting it up with Steam, I don't think it should make a difference. I don't know of any issues off hand of using Steam to launch it, as Steam merely makes a shortcut just like Windows and, if possible, sets your activity as "playing non-Steam game ...." I could be wrong with Java Web start apps. (I'm not seeing any issues in a cursory search of Google.)

Re: Problem w/ Java?

PostPosted: Wed Apr 15, 2015 2:25 am
by theMGMT
That worked for the default client but when I try to run Latikais mod it says the Java Security won't allow it. Any idea how I add the game on the site list? I have Java 8 so there is no "medium" option

Re: Problem w/ Java?

PostPosted: Wed Apr 15, 2015 2:31 am
by MagicManICT
viewtopic.php?f=10&t=8388#p109340

That should work for any version of Java, not just 7.

Re: Problem w/ Java?

PostPosted: Wed Apr 15, 2015 2:50 am
by theMGMT
It was a different location but it worked. Thanks a lot