spring-boot-migrator icon indicating copy to clipboard operation
spring-boot-migrator copied to clipboard

Provide error message when unsupported JDK or JRE is used

Open fabapp2 opened this issue 3 years ago • 2 comments

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

fabapp2 avatar Sep 18 '22 21:09 fabapp2

I can work on this one too @fabapp2

ahmedmq avatar Oct 06 '22 07:10 ahmedmq

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

fabapp2 avatar Oct 07 '22 14:10 fabapp2