Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Java Compiler Version does not get saves
Java Compiler Version does not get saves [message #1860360] Tue, 01 August 2023 03:02 Go to next message
Eclipse UserFriend
Hi,

Every time I restart my Eclipse IDE the "Compiler compliance level" (Settings -> Java -> Compiler) will get reset to Java 11 even if my project is set up to Java 17. Where are these settings stored and how can I store it so that I don`t need to change this setting on every restart manually?

Thx
Re: Java Compiler Version does not get saves [message #1860396 is a reply to message #1860360] Thu, 03 August 2023 01:26 Go to previous messageGo to next message
Eclipse UserFriend
There are 2 levels of Settings in Eclipse, One is Workspace level which can be overridden for a particular Project at Project Level.
Changing the Project level Compliance will not update the Workspace level Compliance level. But you can edit Workspace level setting and Save it to have the saved settings when you restart Eclipse IDE.
Re: Java Compiler Version does not get saves [message #1860444 is a reply to message #1860396] Sat, 05 August 2023 17:41 Go to previous message
Eclipse UserFriend
Adding to the other response, the reality is that I don't think the Eclipse-wide "Compiler compliance level" really matters at all. If your project is using Java 17, there is no conflict there. If you want new projects to use Java 17, just set that as the default JRE.
Previous Topic:Modify Default Run Configuration for Test Plugins
Next Topic:Error when transfering java projects from eclipse under windows to eclipse under linux
Goto Forum:
  


Current Time: Thu Jul 17 01:08:12 EDT 2025

Powered by FUDForum. Page generated in 0.03812 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top