- Code: Select all
java -version
(in terminal)
it should give input something like this:
- Code: Select all
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)
Most of Linux distros coming with OpenJDK, i didnt wanted to fuck with it and just removed it and installed Java 8 from Oracle website.
About running client
For example ember coming with run.sh script to run his client.
All you need is give permission to run it as program
- Code: Select all
chmod +x /path/to/yourscript/run.sh
and then
- Code: Select all
/path/to/yourscript/run.sh
to run it xD
But I'm doing a little differently:
- Code: Select all
cd ./Hafen/
I have installed Amber in Hafen directory which is in my Home directory
and then
- Code: Select all
sh run.sh
while you are in that directory.
For people like me who using double GPU laptop: edit run.sh with just adding
- Code: Select all
primusrun
(For nvidia, for amd i dont know lol) before
- Code: Select all
java -Djogl.disable.opengles=true -Xms512m -Xmx1024m -jar hafen.jar -U https://game.havenandhearth.com/hres/ game.havenandhearth.com
but only if you are using Bumblebee.
I am playing Hafen on Fedora and it working just perfect on NVIDIA GeForce GTX 765M

I know its necro post, but I did not find almost any help on the forum about running Hafen on Linux (especially for beginners)
I dont claim to be a Linux guru etc. Thanks xD