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

Cannot install Java 8 #657

Closed
hohwille opened this issue Sep 27, 2024 · 0 comments · Fixed by #658
Closed

Cannot install Java 8 #657

hohwille opened this issue Sep 27, 2024 · 0 comments · Fixed by #658
Assignees
Labels
bug Something isn't working install installation process of IDE + tools and install commandlet java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium)

Comments

@hohwille
Copy link
Member

Expected behavior

As a IDEasy user, I want to be able to install an older version of Java like Java 8 so that I can still use IDEasy for projects with legacy that require an older Java.

Actual behavior

$ ide install java 8u412b08
8u412b08    8u412b08*   8u412b08*!
 
hohwille@CE49454 MSYS /d/projects/demo9
$ ide install java 8u412b08
Error in property version:
Given version 8u412b08 is not a valid version
 
Error: IDEasy failed with exit code 1

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. ide install java 8u412b08

Related/Dependent Issues

#569

Comments/Hints:

According to our implementation of VersionIdentifier the version 8u412b08 was never valid since the segment u412 is invalid since u is an undefined development phase.
In PR #569 a property validator was added to VersionProperty that requires the version to be valid.
Seemed to make sense but currently blocks the usage.

Affected version:

  • 2024.09.002-beta-SNAPSHOT (from today)
@hohwille hohwille added the bug Something isn't working label Sep 27, 2024
@hohwille hohwille added this to the release:2024.09.002 milestone Sep 27, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Sep 27, 2024
@hohwille hohwille added java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium) install installation process of IDE + tools and install commandlet labels Sep 27, 2024
@hohwille hohwille self-assigned this Sep 27, 2024
hohwille added a commit to hohwille/IDEasy that referenced this issue Sep 27, 2024
hohwille added a commit to hohwille/IDEasy that referenced this issue Sep 30, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in IDEasy board Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working install installation process of IDE + tools and install commandlet java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium)
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant