What I suppose to do with salem.jnlp?

Ask and answer any and all questions pertaining to Salem's game-play.

What I suppose to do with salem.jnlp?

Postby luarocks » Tue May 11, 2021 9:34 am

I have latest default jre installed from default repositories.

Code: Select all
java --version
openjdk 11.0.11 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)


What next?
luarocks
 
Posts: 6
Joined: Mon Sep 17, 2018 9:06 pm

Re: What I suppose to do with salem.jnlp?

Postby Taipion » Tue May 11, 2021 10:34 am

did you simply try running the .jar instead?
Need something? Here is my Shop (Including some useful info for new/returning players at the bottom of the first post)
Taipion
 
Posts: 2659
Joined: Fri Mar 08, 2013 4:12 pm

Re: What I suppose to do with salem.jnlp?

Postby luarocks » Tue May 11, 2021 12:33 pm

Taipion wrote:did you simply try running the .jar instead?

No. Where can I get it?
luarocks
 
Posts: 6
Joined: Mon Sep 17, 2018 9:06 pm

Re: What I suppose to do with salem.jnlp?

Postby luarocks » Tue May 11, 2021 12:39 pm

Ok, I tried to change download link from account page, replacing jnlp to jar: game.salemthegame.com/java/salem.jar and this file exists.

Now when I run
Code: Select all
java -jar salem.jar
I get error:

Code: Select all
Error: Unable to initialize main class haven.MainFrame
Caused by: java.lang.NoClassDefFoundError: javax/media/opengl/awt/GLCanvas
luarocks
 
Posts: 6
Joined: Mon Sep 17, 2018 9:06 pm

Re: What I suppose to do with salem.jnlp?

Postby luarocks » Tue May 11, 2021 12:49 pm

Very interesting. The game use classes from Haven and Hearth (haven.MainFrame) but seems doesn't work on OpenJDK, when Haven itself works with no problems.
luarocks
 
Posts: 6
Joined: Mon Sep 17, 2018 9:06 pm

Re: What I suppose to do with salem.jnlp?

Postby luarocks » Tue May 11, 2021 1:10 pm

... Or maybe I just downloaded not full client. I have no idea.
luarocks
 
Posts: 6
Joined: Mon Sep 17, 2018 9:06 pm

Re: What I suppose to do with salem.jnlp?

Postby Taipion » Tue May 11, 2021 6:31 pm

luarocks wrote:... Or maybe I just downloaded not full client. I have no idea.


I'm not that familiar with linux, but it should be easy to get a java 1.6, get the 1.6 client version (like, the 1.6 version of mine...) and run it with that java,
at least I think I remember you needed to use that on linux, or maybe it was on mac...

You should be able to find something on the forums about this.
Just mind that the forum search itself is crap, so I'll lend you some magic here...
...go to google and type:
site:forum.salemthegame.com "whatever you're searching for"
Need something? Here is my Shop (Including some useful info for new/returning players at the bottom of the first post)
Taipion
 
Posts: 2659
Joined: Fri Mar 08, 2013 4:12 pm

Re: What I suppose to do with salem.jnlp?

Postby luarocks » Tue May 11, 2021 8:14 pm

Thanks for the advice, but it looks like the game only works on the Oracle version of Java. This is a proprietary version and you need to register on the Oracle website, agree with their terms and subscribe to their spam to download it. I don't want to do this.

Other Java games, like Haven, Minecraft, Pixel Dungeon works perfect on OpenJDK. I don't understand why is this one so special :(
luarocks
 
Posts: 6
Joined: Mon Sep 17, 2018 9:06 pm

Re: What I suppose to do with salem.jnlp?

Postby Taipion » Tue May 11, 2021 9:00 pm

luarocks wrote:Thanks for the advice, but it looks like the game only works on the Oracle version of Java. This is a proprietary version and you need to register on the Oracle website, agree with their terms and subscribe to their spam to download it. I don't want to do this.

Other Java games, like Haven, Minecraft, Pixel Dungeon works perfect on OpenJDK. I don't understand why is this one so special :(


Yes, it might have been, "oracle version" rings a bell...

If you don't want their stuff, you can just use a fake email to register, or ... just copy that java folder from someone else, and make a batch file to start Salem, using that java folder instead of your actually installed version.
Need something? Here is my Shop (Including some useful info for new/returning players at the bottom of the first post)
Taipion
 
Posts: 2659
Joined: Fri Mar 08, 2013 4:12 pm


Return to Help!

Who is online

Users browsing this forum: No registered users and 14 guests