need help installing on linux (zorin)

Ask, answer and discuss any and all topics about the hows, whys, wheres and whens of playing Haven & Hearth.

need help installing on linux (zorin)

Postby alaban » Wed May 19, 2021 10:27 pm

I downloaded the jre file, unpacked it. Downloaded java... accordng to this old thread here: viewtopic.php?f=42&t=57627&p=740387&hilit=install+install+linux#p740387
I can type in java -jar <filename>
but I don't know what file name to enter here... Linux newb, and haven newb... "explain it like I'm 5 please" :)
alaban
 
Posts: 1
Joined: Wed May 19, 2021 10:04 pm

Re: need help installing on linux (zorin)

Postby ogey » Wed May 19, 2021 11:03 pm

alaban wrote:I downloaded the jre file, unpacked it. Downloaded java... accordng to this old thread here: http://www.havenandhearth.com/forum/vie ... ux#p740387
I can type in java -jar <filename>
but I don't know what file name to enter here... Linux newb, and haven newb... "explain it like I'm 5 please" :)

First make sure you have Java properly installed. Running "java -version" in the terminal should return the version.
Download whichever haven client you want to use.
This may or may not be available on your file manager but you should be able to right click inside the directory with the client (which should be a .jar file) and select something like "open terminal here" which will open a terminal window already pathed to that location. What you type into your terminal window now will vary depending on what client you're using. I'm using the ender client so "java -jar updater-hafen.jar". The default client should be something like autohaven-[yourusername].jar so "java -jar autohaven-[yourusername].jar"
User avatar
ogey
 
Posts: 156
Joined: Sat Apr 03, 2021 12:39 am

Re: need help installing on linux (zorin)

Postby iamahh » Thu May 20, 2021 12:10 am

once java is installed you just need to double click the autohaven.jar

Firefox saves autohaven.jar into Download folder, I usually copy it to desktop

when you double click it should ask what to do, in which case you choose "run with java" or with "OpenJDK"
iamahh
 
Posts: 1806
Joined: Sat Dec 12, 2015 8:23 pm

Re: need help installing on linux (zorin)

Postby mvgulik » Thu May 20, 2021 7:07 am

iamahh wrote:once java is installed you just need to double click the autohaven.jar

Or

Create some launch batch file like "run.sh" or "Haven <Vanilla/Ender/etc> Client.sh" (extension optional)
Code: Select all
#!/bin/bash

cd "~/Games/etc/<path to your HnH game folder>"
## note: leading "~" == "/Home/<current user>"

java -jar <the hafen jar file you like to run. including the .jar extention>
## Can contain additional options (search forum), but should do fine without them.

Don't forget to mark this file as executable.
Now you can run it with that, or any link to that file (like from your desktop).


Zorin "Jelly Mode". lol, That's funny. Not sure about it being actually useful.
mvgulik
 
Posts: 3761
Joined: Fri May 21, 2010 2:29 am

Re: need help installing on linux (zorin)

Postby iamahh » Thu May 20, 2021 12:43 pm

jelly mode it's probably from old Compiz window manger
iamahh
 
Posts: 1806
Joined: Sat Dec 12, 2015 8:23 pm


Return to How do I?

Who is online

Users browsing this forum: Claude [Bot] and 0 guests