BewareMyPower commented on pull request #11285:
URL: https://github.com/apache/pulsar/pull/11285#issuecomment-947421580


   I found the problem. It's because when the standalone starts, it chooses the 
`/usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java` rather than `/usr/bin/java`.
   
   ```bash
   $ /usr/lib/jvm/java-1.8.0-openjdk-amd64/bin/java -version
   openjdk version "1.8.0_292"
   OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10)
   OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
   $ java -version
   openjdk version "11.0.11" 2021-04-20
   OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.16.04)
   OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.16.04, mixed mode, 
sharing)
   ```
   
   I think it's caused by wrong `JAVA_HOME` variable.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to