Ubuntu 18.04/18.10 and Linux Mint 19
- Install the dependencies:
sudo apt update sudo apt install git maven openjdk-11-jdk fakeroot
- Optional: if your distribution does not support Java 11+ or if you need to create packages, grab the latest JDK
wget https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz -O /tmp/openjdk-11+28_linux-x64_bin.tar.gz sudo tar xfvz /tmp/openjdk-11+28_linux-x64_bin.tar.gz --directory /usr/lib/jvm export JAVA_HOME="/usr/lib/jvm/jdk-11"
- Clone the repository from GitHub:
git clone https://github.com/PhoenicisOrg/phoenicis.git
- Set the Java version:
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
- Build Phoenicis:
cd phoenicis mvn clean package
- Create packages
cd phoenicis-dist/src/scripts bash phoenicis-create-package.sh
Arch Linux
- Install the dependencies.
- git
- jdk11
- maven
- gradle-1.8 (AUR)
- Clone the repository from GitHub:
git clone https://github.com/PhoenicisOrg/phoenicis.git
- Build Phoenicis:
cd phoenicis mvn clean package
Fedora >= 29
- Install the dependencies:
sudo dnf install git maven java-11-openjdk-devel
- Set the Java version
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk" sudo update-alternatives --config java
- Clone the repository from GitHub:
git clone https://github.com/PhoenicisOrg/phoenicis.git
- Build Phoenicis:
cd phoenicis mvn clean package
- Create packages
cd phoenicis-dist/src/scripts bash phoenicis-create-package.sh
TrueOS
- Install the dependencies:
sudo pkg install git openjdk11 maven roboto-fonts-ttf
- Clone the repository from GitHub:
git clone https://github.com/PhoenicisOrg/phoenicis.git
- Create a file called
FreeBSD.properties
insidephoenicis/phoenicis-configuration/src/main/resources/
, similar toLinux.properties
, just change those two lines :application.name = Phoenicis PlayOnBSD #tools.linux-terminal = x-terminal-emulator
Note : As there is not FreeBSD wine at the moment, the linux wine package will be displayed in the engine window.
Troubleshooting
Maven dependencies cannot be downloaded
- Save an empty JKS file with the default ‘changeit’ password for Java cacerts.
sudo /usr/bin/printf '\xfe\xed\xfe\xed\x00\x00\x00\x02\x00\x00\x00\x00\xe2\x68\x6e\x45\xfb\x43\xdf\xa4\xd9\x92\xdd\x41\xce\xb6\xb2\x1c\x63\x30\xd7\x92' > /etc/ssl/certs/java/cacerts
- Re-add all the CA certs into the previously empty file.
sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure
If this doesn’t help, you can try to delete the .m2
directory in your home directory. This will force Maven to re-download all dependencies.
Old Java version
Problem:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/phoenicis/javafx/JavaFXApplication : Unsupported major.minor version
Solution: Switch to at least Java 11 for running locally (see: these instructions)