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.
alaban
Posts: 1
Joined: Wed May 19, 2021 10:04 pm

need help installing on linux (zorin)

Post by alaban »

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" :)
User avatar
ogey
Posts: 156
Joined: Sat Apr 03, 2021 12:39 am

Re: need help installing on linux (zorin)

Post by ogey »

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"
iamahh
Posts: 1806
Joined: Sat Dec 12, 2015 8:23 pm

Re: need help installing on linux (zorin)

Post by iamahh »

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"
mvgulik
Posts: 4102
Joined: Fri May 21, 2010 2:29 am

Re: need help installing on linux (zorin)

Post by mvgulik »

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.
iamahh
Posts: 1806
Joined: Sat Dec 12, 2015 8:23 pm

Re: need help installing on linux (zorin)

Post by iamahh »

jelly mode it's probably from old Compiz window manger

Return to “How do I?”