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

myrobotlab.sh fails with java 18-ea #1114

Open
AutonomicPerfectionist opened this issue Jul 12, 2022 · 0 comments
Open

myrobotlab.sh fails with java 18-ea #1114

AutonomicPerfectionist opened this issue Jul 12, 2022 · 0 comments

Comments

@AutonomicPerfectionist
Copy link
Contributor

Describe the bug
myrobotlab.sh checks the version of java upon executing. In Pop OS 22.04, java 18 is provided by openjdk version "18-ea" 2022-03-22, which appears to be an early access build even though 18 has been released. The -ea suffix on the version number causes myrobotlab.sh to incorrectly identify the java version.

To Reproduce
Steps to reproduce the behavior:

  1. Install openjdk-18-jdk on Pop OS 22.04
  2. Run myrobotlab.sh
  3. Observe the error message:
./myrobotlab.sh: line 39: [: 18-ea: integer expression expected
incompatible version of java, java 11 required

Expected behavior
Correct identification of JDK 18, even if it's an early access build.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] Pop OS 22.04
  • Browser [e.g. chrome, safari] N/A
  • Version [e.g. 22] Latest develop branch
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

1 participant