Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version check doesn't work for openjdk 10 #11

Closed
huiser opened this issue Aug 2, 2018 · 2 comments
Closed

Version check doesn't work for openjdk 10 #11

huiser opened this issue Aug 2, 2018 · 2 comments

Comments

@huiser
Copy link

huiser commented Aug 2, 2018

xxxx@xxxx ~ $ /opt/activemq-cli/activemq-cli-0.5.0/bin/activemq-cli

The java installation you have is not up to date
requires at least version 1.6+, you have
version 10.0.2

Please go to http://www.java.com/getjava/ and download
a valid Java Runtime and install before running .

xxxx@xxxx ~ $ java -version
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13)
OpenJDK 64-Bit Server VM (build 10.0.2+13, mixed mode)

@antonwierenga
Copy link
Owner

activemq-cli uses the JavaAppPackaging sbt plugin for generating platform specific launch scripts. I have created a new issue in the git repo of this plugin.

Until this is fixed: the plugin documentation states you can skip the java version check by providing the option -no-version-check to the launch script. This might work for you.

Thanks for reporting!

@antonwierenga
Copy link
Owner

Apparently the issue is already fixed in a new version of the JavaAppPackaging sbt plugin.

I updated the plugin 9aae9b9. Scheduled for activemq-cli 0.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants