Skip to main content



      Home
Home » Newcomers » Newcomers » JRE settings
JRE settings [message #1759547] Wed, 12 April 2017 16:13 Go to next message
Eclipse UserFriend
I don't have any older Java Runtime Environments installed on my computer that I know of. However, Eclipse is always setting my JRE compatability to below 1.4, while I'm running 1.8. Obviously, this causes some problems. How do I change it so that for every project it will automatically set the JRE to 1.8?

Thank you.
Re: JRE settings [message #1759560 is a reply to message #1759547] Wed, 12 April 2017 18:33 Go to previous messageGo to next message
Eclipse UserFriend
Best would be to have project specific preferences to set it once and for all for each project. In terms of the global workspace preference, perhaps you've enabled the preference recorder at some point and set it to 1.4, recorded that, and since then it always gets set to 1.4. If you use Navigate -> Open Setup -> User does it have node "User Preferences" under which global preference have been recorded? In general you can enable the preference recorder (via the record button in the lower left next to the ? button), make changes to preferences, and then record the change that you want to be in that state in all workspaces.
Re: JRE settings [message #1759597 is a reply to message #1759560] Thu, 13 April 2017 11:53 Go to previous messageGo to next message
Eclipse UserFriend
I don't see Open Setup under the Navigate tab. The open options I have are Open: Type Hierarchy, Call Hierarchy, Hyperlink, Implementation, Super Implementation, Attached Javadoc, and Clipboard. Below are Open Type, Open Type in Hierarchy, and Open Resource, and Open Task. Am I in the wrong tab or something?
Re: JRE settings [message #1759603 is a reply to message #1759547] Thu, 13 April 2017 14:29 Go to previous message
Eclipse UserFriend
Please look at the Java settings in the general preferences menu, from Window -> Preferences (OS X: Eclipse -> Preferences).

From the preferences menu Java -> Compiler -> Compiler compliance level.

--
-TV
Re: JRE settings [message #1759608 is a reply to message #1759603] Thu, 13 April 2017 06:53 Go to previous message
Eclipse UserFriend
The Neon.3 update broke quite a few bundles, including Oomph, so maybe you have that update. But in that case, it's not applying your user preference either, so that leave me no theory why your workspace defaults to 1.4.
Previous Topic:Installing Eclipse
Next Topic:Eclipse quits unexpectedly
Goto Forum:
  


Current Time: Sun Jul 27 13:46:12 EDT 2025

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

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

Back to the top