Reset Java Version - Switch from 1.8 to 21 [message #1863730] |
Fri, 23 February 2024 10:48  |
Eclipse User |
|
|
|
I'm a long tome Java developer and Eclipse user in the past. After 10 years of PHP web development I'm returning to Java and systems programming.
I've installed the latest Eclipse IDE (4.30)
All my projects are Maven projects.
I'm having difficulty switching the JRE from 1.8 to 21. It is ridiculous that this is not easy to do. I'm trying to use the new record type and my code won't compile.
How do I do this and also make the setting is permanent?
|
|
|
|
|
|
|
|
Re: Reset Java Version - Switch from 1.8 to 21 [message #1863744 is a reply to message #1863743] |
Sat, 24 February 2024 00:13  |
Eclipse User |
|
|
|
Donald Paul Winston wrote on Sat, 24 February 2024 01:42Ok, that worked. Doesn't everyone use Maven? Not sure why I had to do that.
Thanks.
I did not use Maven for many years, but I gave it a try, and I was hooked.
For me, the major benefits are:
I am a 71-year-old retired programmer. I use Java for brain training.
Using the shared components, I wrote a bunch of utilities to handle the house chores, and that was fun.
When the numbers of dependencies that you use starts to grow, a tool like Maven is a must.
|
|
|
Powered by
FUDForum. Page generated in 0.05254 seconds