Difference between revisions of "Building PlayOnLinux 5"

From PlayOnLinux
Jump to: navigation, search
(Created page with "This page explains how to build PlayOnLinux 5 == On Ubuntu 14.10 == === Dependencies === First, install the following dependencies: * maven2 * openjdk-8-jdk * openjfx ===...")
(Tag: visualeditor)
 
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
This page explains how to build PlayOnLinux 5  
 
This page explains how to build PlayOnLinux 5  
  
== On Ubuntu 14.10 ==
+
Source: https://github.com/PlayOnLinux/POL-POM-5/wiki/Build
 +
 
 +
== On Ubuntu 16.04 ==
  
 
=== Dependencies ===
 
=== Dependencies ===
 
First, install the following dependencies:  
 
First, install the following dependencies:  
* maven2
+
* maven
 
* openjdk-8-jdk
 
* openjdk-8-jdk
 
* openjfx
 
* openjfx
  
=== Clone PlayOnLinux 5 repository:{{Console|git clone https://github.com/PlayOnLinux/POL-POM-5}}Use the right Java version{{Console|1 = export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"}}Compile PlayOnLinux 5 with Maven {{Console|cd POL-POM-5 && mvn2 package}}Run the .jar file{{Console|java -jar target/playonlinux-5.0-SNAPSHOT.jar }} ===
+
=== Compile PlayOnLinux 5===
 +
Clone the repository:{{Console|git clone https://github.com/PlayOnLinux/POL-POM-5}}Use the right Java version:{{Console|1 = export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"}}Compile PlayOnLinux 5 with Maven: {{Console|cd POL-POM-5}}
 +
{{Console|mvn clean package}}
 +
 
 +
=== Run PlayOnLinux 5 ===
 +
Run the previously built jar file{{Console|java -jar target/playonlinux-5.0-SNAPSHOT-jar-with-dependencies.jar }}
 +
 
 +
== On Arch ==
 +
 
 +
{{Info|The following has only been tested on 64-bit Arch installs.}}
 +
 
 +
=== Dependencies ===
 +
First, install the following dependencies:
 +
* maven
 +
* jdk8-openjdk
 +
* java-openjfx
 +
* gradle-1.8 (AUR)
 +
 
 +
 
 +
{{Info|You will need to set JAVA_HOME to "/usr/lib/jvm/java-8-openjdk" after installing ''jdk8-openjdk'', but before installing ''openjfx''.}}
 +
 
 +
=== Compile PlayOnLinux 5===
 +
 
 +
Clone the repository:{{Console|git clone https://github.com/PlayOnLinux/POL-POM-5}}
 +
 
 +
Use the right Java version:{{Console|1 = export JAVA_HOME="/usr/lib/jvm/java-8-openjdk"}}
 +
 
 +
Compile PlayOnLinux 5 with Maven:
 +
 
 +
{{Console|cd POL-POM-5}}
 +
 
 +
{{Console|mvn clean package}}
 +
 
 +
{{Info|If you are using Oracle JDK, the home path will be /usr/lib/jvm/java-8-oracle}}
 +
 
 +
=== Run PlayOnLinux 5 ===
 +
You'll find the packaged version as a zip in phoenicis-dist/target. You can launch it by unzipping phoenicis-dist.zip and running PlayOnLinux.sh
 +
 
 +
[[Category:PlayOnLinux development]]

Latest revision as of 19:02, 3 March 2017

This page explains how to build PlayOnLinux 5

Source: https://github.com/PlayOnLinux/POL-POM-5/wiki/Build

On Ubuntu 16.04

Dependencies

First, install the following dependencies:

  • maven
  • openjdk-8-jdk
  • openjfx

Compile PlayOnLinux 5

Clone the repository:
git clone https://github.com/PlayOnLinux/POL-POM-5
Use the right Java version:
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk-amd64"
Compile PlayOnLinux 5 with Maven:
cd POL-POM-5
mvn clean package

Run PlayOnLinux 5

Run the previously built jar file
java -jar target/playonlinux-5.0-SNAPSHOT-jar-with-dependencies.jar

On Arch

The following has only been tested on 64-bit Arch installs.

Dependencies

First, install the following dependencies:

  • maven
  • jdk8-openjdk
  • java-openjfx
  • gradle-1.8 (AUR)


You will need to set JAVA_HOME to "/usr/lib/jvm/java-8-openjdk" after installing jdk8-openjdk, but before installing openjfx.

Compile PlayOnLinux 5

Clone the repository:
git clone https://github.com/PlayOnLinux/POL-POM-5
Use the right Java version:
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk"

Compile PlayOnLinux 5 with Maven:

cd POL-POM-5
mvn clean package
If you are using Oracle JDK, the home path will be /usr/lib/jvm/java-8-oracle

Run PlayOnLinux 5

You'll find the packaged version as a zip in phoenicis-dist/target. You can launch it by unzipping phoenicis-dist.zip and running PlayOnLinux.sh