Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Unable to set Compiler Complaince Level to 1.5 (or 5.0)
Unable to set Compiler Complaince Level to 1.5 (or 5.0) [message #252037] Sun, 16 March 2008 07:45 Go to next message
Eclipse UserFriend
Originally posted by: nileshkorade.yahoo.com

Hi,

I am using Eclipse 3.1.0 as an IDE for my Java project work. I am trying
to set compiler compliance level to 1.5 (or 5.0) but am unable to do so. I
have JDK1.5 installed on my machine. I have also configured it in my
eclipse inside Installed JREs (and have checked that JRE as my default
one). However, when I go to Window -> Preferences -> Java -> Compiler ->
Compliance and Classfiles, the drop box there for selecting Comppiler
Compliance Level shows only 1.3 and 1.4. I don't see a 1.5 or 5.0 option
there.

Can someone please help? Any help will be greatly appreciated.

Regards
Neelesh
Re: Unable to set Compiler Complaince Level to 1.5 (or 5.0) [message #252038 is a reply to message #252037] Sun, 16 March 2008 11:33 Go to previous messageGo to next message
Eclipse UserFriend
Neelesh Korade wrote:
> Hi,
>
> I am using Eclipse 3.1.0 as an IDE for my Java project work. I am trying
> to set compiler compliance level to 1.5 (or 5.0) but am unable to do so.
> I have JDK1.5 installed on my machine. I have also configured it in my
> eclipse inside Installed JREs (and have checked that JRE as my default
> one). However, when I go to Window -> Preferences -> Java -> Compiler ->
> Compliance and Classfiles, the drop box there for selecting Comppiler
> Compliance Level shows only 1.3 and 1.4. I don't see a 1.5 or 5.0 option
> there.
>
> Can someone please help? Any help will be greatly appreciated.
>
> Regards
> Neelesh
>
Hi Neelesh. If you are using Eclipse 3.1.0, you should consider
installing version 3.3 (e.g., 3.3.2) and this will most likely solve
your issue. Version 3.1 is over 2 years old and there have been many bug
fixes and enhancements over that time. Hope this helps. Mark
Re: Unable to set Compiler Complaince Level to 1.5 (or 5.0) [message #252039 is a reply to message #252038] Sun, 16 March 2008 15:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nileshkorade.yahoo.com

Hi Mark,

Thanks much for the response. I will upgrade my Eclipse and see if it
resolves the problem.

Regards
Neelesh
Re: Unable to set Compiler Complaince Level to 1.5 (or 5.0) [message #252050 is a reply to message #252039] Mon, 17 March 2008 03:52 Go to previous message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Neelesh Korade" <nileshkorade@yahoo.com> wrote in message
news:f3d3a344a92512537f29847f8db09af1$1@www.eclipse.org...
> Hi Mark,
>
> Thanks much for the response. I will upgrade my Eclipse and see if it
> resolves the problem.

Also, make sure that you are running Eclipse on a 1.5 or later JRE. You can
confirm that by looking in Help -> About -> Configuration Details. Even if
you have a 1.5 JRE installed on your machine, Eclipse may not find it,
unless you explicitly specify it on the command line or in eclipse.ini.
Previous Topic:resource change events with jobs
Next Topic:Javadoc location per package (set)
Goto Forum:
  


Current Time: Fri Apr 18 13:30:14 EDT 2025

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

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

Back to the top