spring-boot-migrator
spring-boot-migrator copied to clipboard
Provide error message when unsupported JDK or JRE is used
What needs to be done
Provide an error message when an unsupported JDK is used to start SBM. See #396
Why it needs to be done
It is hard to impossible to understand why the application fails with a stacktrace when started with an unsupported JDK.
Acceptance Criteria
- Start SBM with JRE 15
- See error message "You must use JDK 17 to start Spring Boot Migrator (using JRE 15)"
Additional Information
I can work on this one too @fabapp2
Hi @ahmedmq ! You can look into it if you like. I am not sure if it is possible or if OpenRewrite throws this exception before SBM kicks in. Don't spent too much time if you're blocked with this. assigned-to: @ahmedmq