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: 17
Popularity: 1.935787
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

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.

ivannarvaez commented on 2017-07-12 20:49

@jeekiii I had the same problem and I managed to solve it following the answer given in this link:

ProfessorKaos64 commented on 2017-06-20 00:42

Ok I see the issue. Update again and try once more. I believe I found a workaround.

ProfessorKaos64 commented on 2017-06-20 00:20

You will have to give me some steps to reproduce, the launcher "" also shows this behavior to be correct when java-7-openjdk is set as default:



# Allow either openjdk java or Oracle java to be used

if (( $(archlinux-java get | cut -d "-" -f2) < 8 )); then
export PATH=$(ls -d /usr/lib/jvm/java-{8,9}-* 2>/dev/null | head -1):$PATH

# Start PlayOnLinux
java -classpath "$CLASSPATH" org.phoenicis.javafx.JavaFXApplication "$@"
[mikeyd@archboxmtd playonlinux5-git]$ archlinux-java get | cut -d "-" -f2
[mikeyd@archboxmtd playonlinux5-git]$ tmp=$(ls -d /usr/lib/jvm/java-{8,9}-* 2>/dev/null | head -1)
[mikeyd@archboxmtd playonlinux5-git]$ echo $tmp

ProfessorKaos64 commented on 2017-06-20 00:12

@WizardOfTheWest, I've been trying to make people happy on this one. Let me look again. If it isn't Java 8, it's "I want Oracle JDK, not OpenJDK." Are you saying it doesn't work when building or when running? I can confirm building works fine for me when java-7-openjdk works for me.

All comments