Difference between revisions of "Building PlayOnLinux 5"

From PlayOnLinux
Jump to: navigation, search
Line 12: Line 12:
 
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
 
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
 
mvn2 assembly:assembly}}
 
mvn2 assembly:assembly}}
 +
 +
{{Info|If you are using Oracle JDK, the home path will be /usr/lib/jvm/java-8-oracle}}
 +
{{Info|On some distribution, mvn2 is simply named mvn}}
 +
  
 
=== Run PlayOnLinux 5 ===
 
=== Run PlayOnLinux 5 ===

Revision as of 21:53, 6 May 2015

This page explains how to build PlayOnLinux 5

On Ubuntu 14.10

Dependencies

First, install the following dependencies:

  • maven2
  • 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 mvn2 assembly:assembly
If you are using Oracle JDK, the home path will be /usr/lib/jvm/java-8-oracle
On some distribution, mvn2 is simply named mvn


Run PlayOnLinux 5

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