Amber Client for Linux? [SOLVED]

Forum for alternative clients, mods & discussions on the same.
Qollkalom
Posts: 11
Joined: Wed Jan 30, 2019 2:55 pm

Amber Client for Linux? [SOLVED]

Post by Qollkalom »

If Your game doesnt run by double click on run.sh (and You have given it permission), try run it in terminal. If it still doesnt launch and give you this:

Code: Select all

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/home/<user>/Games/Haven%20&%20Hearth/Amber_Client/gluegen-rt.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of com.jogamp.common.os.NativeLibrary$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!
Type in terminal this

Code: Select all

sudo update-alternatives --config java
You will get something like this

Code: Select all

user@device:~$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                            Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1101      auto mode
  1            /usr/lib/jvm/java-11-openjdk-amd64/bin/java      1101      manual mode
  2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      manual mode

Press <enter> to keep the current choice[*], or type selection number: 
You need to use java-8, so type 2 (in this scenario) and press enter. Keep in mind that in default it is 0(auto mode).
You should be able to launch game (this include from: terminal, double click, or eg Lutris) as it worked in my case.

//EDIT
I've changed nature of this thread(question), into small tutorial, how to fix problem.
Last edited by Qollkalom on Wed Dec 18, 2019 8:47 am, edited 4 times in total.
User avatar
shubla
Posts: 13041
Joined: Sun Nov 03, 2013 11:26 am
Location: Finland

Re: Client for linux? [SOLVED]

Post by shubla »

For me default client and custom clients work in linux like they do in windows. (Except for the cursor moving lag)
Image
I'm not sure that I have a strong argument against sketch colors - Jorb, November 2019
http://i.imgur.com/CRrirds.png?1
Join the moderated unofficial discord for the game! https://discord.gg/2TAbGj2
Purus Pasta, The Best Client
User avatar
borka
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Client for linux? [SOLVED]

Post by borka »

It's not about OS nor clients but Java 8 or 11 ...

Some changes made since Java 9 cause troubles
Illegal reflective access
... thus Java 8 is recommended for HnH ...
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head

Return to “The Wizards' Tower”