Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JHipster and Java 10

Tags:

jhipster

can I use Java 10 and JHipster (from which release version on)?

We have built our JHipster application with Java 8 at one point in time, with JHipster 4.13.3. Can we now simply use our JHipster application with Java 10, or is some migration effort needed? Would it be enough to specify in the pom.xml

<java.version>1.8</java.version>

Also, will it work out using JHipster (probably the latest release 4.14.3 or later) and Java 10 to generate a new JHipster application?

Thanks!

like image 700
neblaz Avatar asked Dec 08 '25 18:12

neblaz


1 Answers

JHipster 5 will be compatible with Java 10. Concerning JHipster 4.14.3, in the pom.xml, if you modify the <requireJavaVersion> rule in addition of <java.version> to accept Java 10, it should work. Haven't tested it though.

EDIT

As Gaël Marziou pointed out, JHipster 4.14.3 is using Spring Boot 1 and hence is not compatible with Java 10.

like image 140
Alexandre GC Avatar answered Dec 12 '25 20:12

Alexandre GC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!