Package Details: playonlinux5-git 2:r1918.48bf7f2a-1

Git Clone URL: (read-only)
Package Base: playonlinux5-git
Description: GUI for managing Windows programs under linux (development version based on Java)
Upstream URL:
Keywords: playonlinux playonlinux5 pol pol5 wine
Licenses: GPL
Submitter: captain
Maintainer: ProfessorKaos64
Last Packager: ProfessorKaos64
Votes: 29
Popularity: 3.331263
First Submitted: 2015-11-13 11:07
Last Updated: 2017-09-20 00:21

Pinned Comments

ProfessorKaos64 commented on 2016-11-18 16:16

Latest dev news:

Note: was modified and includes a path to Java 8, allowing non-destructive running of PlayOnLinux5 with default Java not set to Java 8. See: for more. There is not need to force users to set default Java to Java 8 at this time.

There is a Qt version being developed, but it is far from test-ready.

Latest Comments

txomon commented on 2018-03-01 16:16

The package is not testing correctly the dependencies:

If phoenicis-repository fails, it means the version the builder is using doesn't have jdk installed, and that you are using jre.

If phoenicis-javafx fails, it means you don't have the javafx installed.

In my case, I solved everything by installing java-openjfx and jdk8-openjdk (I was using openjdk v8)

tuxayo commented on 2018-02-05 22:38

Has anyone else a build failure due to the test "phoenicis-repository"

m3thodic commented on 2017-11-20 06:04

@ProfessorKaos64 I simplified the fall-back logic when JAVA_FX isn't found:


Mordavolt commented on 2017-09-20 18:30

Nice, just updated and it works perfectly. Thank you for your time :)

ProfessorKaos64 commented on 2017-09-19 23:40

What exactly needs overridden if JavaFX is not found under JAVA_HOME's path? java-openjfx is already a dependency, noted in the official build docs: Can you be a bit more specific? It is simple enough to check for

I re-read your original post, it seems you are saying that if JetBrains is picked up to force either Oracle/OpenJDK. That is a quick fix if so.

==> Starting build()...
-> Assessing Java build environment
-> Default Java JDK set is of verison 8 or higher, proceeding...
-> Using: java-8-openjdk-jetbrains
-> JavaFX Capabale? False
-> Forcing proper Java (if available)
-> Switching to OpenJDK

If Oracle or OpenJDK is not found after the test, the build exits.

Mordavolt commented on 2017-09-19 21:39

Yeah, but the issue is that I DO have Java >= 8, but I DON'T have JavaFX lib in that Java. I don't need just some Java >= 8, I need exactly either Oracle or OpenJDK java >= 8. Because your script thinks I have good Java since it is >= 8, it does not override it, but I need you to override it because I actually don't have a proper java. Maybe you could add a check that the Java that I am using has JavaFX and if not then override it?

ProfessorKaos64 commented on 2017-09-17 22:02

Ah I see in the runtime script. I'll ensure that Netbrains is picked up ahead of openjdk if it is the default set with archlinux-java. I am not sure why it fails for you though, since that if statement in only is executed if your java version is less than 8... I will add a few echo statements to so a few variables are known at runtime and it's clear what is being picked up. At runtime, the order of preference if your DEFAULT Java set is NOT 8 or higher, is: Oracle/Jetbrains/OpenJDK. I can't appease everyone, so set your default to an appropriate version if this causes conflicts.

==> Starting pkgver()...
==> Starting build()...
-> Assessing Java build environment
-> Default Java JDK set is of verison 8 or higher, proceeding...
-> Using: java-8-openjdk


[mikeyd@archboxmtd playonlinux5-git]$ ./
Running compatible JVM already (default set): java-8-openjdk

ProfessorKaos64 commented on 2017-09-17 21:33

The former detection was openjdk (if found), then Oracle JDK. I will add NetBeans JDK after this. Adding more and more "if this JDK, or that JDK" gets a bit much, but I will add NetBeans to the mix.

[mikeyd@archboxmtd ~]$ ls /usr/lib/jvm/java-{8,9}-openjdk/bin/javac 2>/dev/null | cut -d "/" -f-5
[mikeyd@archboxmtd ~]$ ls /usr/lib/jvm/java-{8,9}-openjdk-jetbrains/bin/javac 2>/dev/null | cut -d "/" -f-5
[mikeyd@archboxmtd ~]$ ls /usr/lib/jvm/java-{8,9}-jdk/bin/javac 2>/dev/null | cut -d "/" -f-5

[mikeyd@archboxmtd ~]$ archlinux-java status
Available Java environments:
java-8-openjdk-jetbrains (default)

I don't see an issue in the PKGBUILD with setting java, the if statement only runs if you don't have 8 or higher:

[mikeyd@archboxmtd playonlinux5-git]$ archlinux-java get
[mikeyd@archboxmtd playonlinux5-git]$ archlinux-java get | cut -d "-" -f2

ProfessorKaos64 commented on 2017-09-17 21:05

@Mordavolt i'll see what I can do.

Mordavolt commented on 2017-09-16 18:02

Hi, I'm not sure who is responsible for the /usr/bin/playonlinux5 executable (upstream or maintainer), but I've found an issue with the Java version check "archlinux-java get | cut -d "-" -f2". I use JetBrains Java from aur, since they have some font rendering fixes ( and this Java does not have JavaFX. The script should force proper Java, but because JetBrains Java name is similar to the OpenJDK Java it fails.
"Available Java environments:
java-8-openjdk-jetbrains (default)"
I've fixed it by commenting out the if and so always forcing the proper java path, but maybe this could get a proper fix.

All comments