[Bug 257230] deskutils/ganttproject apparently not working with openjdk11 or openjdk16

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 17 Jul 2021 10:45:08 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257230

            Bug ID: 257230
           Summary: deskutils/ganttproject apparently not working with
                    openjdk11 or openjdk16
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs_at_FreeBSD.org
          Reporter: grahamperrin_at_gmail.com
                CC: freebsd_at_ny-central.org
             Flags: maintainer-feedback?(freebsd_at_ny-central.org)
                CC: freebsd_at_ny-central.org

After not succesfully running with openjdk11-11.0.11+9.1 I installed
openjdk16-16.0.1+9.1

Below: is the JAVA_HOME environment variable ignored, or am I mistaken?

----

% echo $JAVA_HOME
/usr/local/openjdk16/bin/java
% /usr/local/bin/ganttproject
/usr/local/bin/ganttproject: [[: not found
/usr/local/bin/ganttproject: [[: not found
/usr/local/bin/ganttproject: [[: not found
/usr/local/bin/ganttproject: [[: not found
/usr/local/bin/ganttproject: [[: not found
/usr/local/bin/ganttproject: [[: not found

Searching for Java in /usr/local/share/ganttproject/runtime/bin/java
...missing or not executable
Searching for Java in /usr/local/openjdk16/bin/java/bin/java
...missing or not executable
Searching for Java in /usr/local/bin/java
...found openjdk version \"1.8.0_292\"
...this seems to be an old Java Runtime
JavaVM executable not found. You may want to set the path to the root of your
Java Runtime installation in JAVA_HOME environment variable or pass it to
ganttproject in --java-home argument
% pkg info -x openjdk
openjdk11-11.0.11+9.1
openjdk11-jre-11.0.11+9.1
openjdk16-16.0.1+9.1
openjdk8-8.292.10.1
%

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sat Jul 17 2021 - 10:45:08 UTC

Original text of this message