When I generate a project I would like to select the java version from a list of supported ones.
We support Java8 and 11. So it should work for both.
I don't see any value of adding a new question because it will imply to:
Too much work for no real value.
Anyway, we'll drop java8 soon
@maku : This has been subjected to debate particularly on the following thread; https://github.com/jhipster/generator-jhipster/issues/9934
I've added support for this initially but later (see the following comment by @PierreBesson and the following comment by @pascalgrimaud ) we've decided not to do this. I do see the problems that might arise due to this kind of choice; and do agree with their decision.
Having said that; the changing of java version manually is not difficult; and as Pascal pointed out, it should work for both. 馃槃
@SudharakaP Thanks for answering: https://github.com/jhipster/generator-jhipster/issues/9934 is exactly the kind of problems when "manually" changing the java version... So the first question I asked myself was what I did wrong. And honestly I found not a good answer in documentation etc. (and also in the issues). Maybe it would be a good idea to mention the steps to change the java version in the docu (and potential pitfalls)
@maku : The afterburner warning is harmless; you can just ignore it for now. When that PR is merged and when you change the java version you won't see that reflection warning anymore. 馃槃
@pascalgrimaud : Given that we are dropping java 8 soon; I don't see much value adding this to the documentation, also given that there's only warnings which are harmless; let me know if you think otherwise, I can add a small blob if that's the case. 馃槃
@maku : Just for added information, you might also see the following warnings; https://github.com/jhipster/generator-jhipster/issues/10271.
As explained, we won't add this additional question, that's why I'm closing this ticket.
Most helpful comment
We support Java8 and 11. So it should work for both.
I don't see any value of adding a new question because it will imply to:
Too much work for no real value.
Anyway, we'll drop java8 soon