[aur-general] Java services in systemd

Gabriel Ribeiro da Cruz Peixoto gabrielrcp at gmail.com
Thu Nov 8 10:31:32 EST 2012

I recently had a problem with a service file of a package in AUR [1]. I
already contacted the maintener but we both don't know how to make it work
across diferentes providers of java.

My java-runtime is provided by jdk [2], it sets JAVA_HOME and adds
/opt/java/bin to PATH in the file /etc/profile.d/jdk.sh [3]. But aparently
these variables are not set when the service file calls the start script of
PMS. Is this behavior expected? If so, how to find out where the java
executable is without these variables?

[1] https://aur.archlinux.org/packages/pms
[2] https://aur.archlinux.org/packages/jdk
[3] http://pastebin.com/XpdLcWqj


More information about the aur-general mailing list