synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Kalbfus (Jira)" <>
Subject [jira] [Created] (SYNAPSE-1110) sample calls java in PATH instead of $JAVA_HOME/bin
Date Fri, 06 Sep 2019 02:41:00 GMT
Brian Kalbfus created SYNAPSE-1110:

             Summary: sample calls java in PATH instead of $JAVA_HOME/bin
                 Key: SYNAPSE-1110
             Project: Synapse
          Issue Type: Bug
          Components: Deployment
    Affects Versions: 3.0.1
         Environment: Linux  4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u5 (2019-08-11) x86_64
            Reporter: Brian Kalbfus
            Assignee: Isuru Udana Loku Narangoda

I have openJDK11 installed on my PATH in linux.  Setting JAVA_HOME to my openJDK8 directory,
I run samples/axis2Server/ and it complains that -Djava.endorsedDirs is invalid
and I need to use modules.  It is actually running java from the openJDK11 installation that
it found on the PATH.


The last line of is calling java without any directory qualifying it.  I see
that this is fixed in bin/   When I changed this in the sample,
it ran fine.


The last command in the script was like:

java .....

It should be:

$JAVA_HOME/bin/java ....

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message