You are not logged in.
I just installed griffon from aur and I get the above error.
archlinux-java status command outputs this:
java-7-jdk (default)
java-7-jre/jre
java-8-openjdkI checked the /etc/profile.d/ folder and there is no .sh file for jdk, only for jre
I created the file with these contents:
export PATH=${PATH}:/usr/lib/jvm/java-7-jdk/binand also I run archlinux-java fix, but I still get this error. Do I need something more?
Last edited by dancer69 (2015-07-31 17:22:16)
Offline
You will need to set JAVA_HOME, not the PATH.
I recommend against setting JAVA_HOME in your profile, but set it either just before you launch griffon, effective only for that session, or find out if you can pass JAVA_HOME as part of a launch parameter. Some tools are specific to which JRE you need to run it against and setting JAVA_HOME will set it for all apps.
Offline
You have right thanks.
Offline