haveno-dex / haveno

Decentralized P2P exchange platform built on Monero and Tor
https://haveno.exchange
GNU Affero General Public License v3.0
949 stars 105 forks source link

clarify build instructions #1112

Open shortwavesurfer2009 opened 2 weeks ago

shortwavesurfer2009 commented 2 weeks ago

On ubuntu the build instructions did not work for me. What did work is the following

Prerequisites: sudo apt-get install git make openjdk-21-jdk JAVA_HOME="" # to make sure it uses openjdk

Then continue with build instructions as written

Again, this worked for me, but should probably be vetted by others to make sure that it works for them. I especially do not know if the Java home actually needs to be set in the way I've described above or not.

woodser commented 2 weeks ago

Which version of Ubuntu?

These instructions work for me on Ubuntu 20.04 and 22.04, and ensure JFX is installed with the JDK.

shortwavesurfer2009 commented 2 weeks ago

Yeah, those instructions did not work for me because the jfx librica or whatever didnt set JAVA_HOME and i kept getting errors about invalid JAVA_HOME directory. This is Ubuntu 22.04