This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 197012 - compiler underlines my code in red and complains of "-source 7" for binary literals
Summary: compiler underlines my code in red and complains of "-source 7" for binary li...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-23 16:09 UTC by nivlek_000
Modified: 2011-03-28 07:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nivlek_000 2011-03-23 16:09:29 UTC
Product Version = NetBeans IDE 6.9.1 (Build 201007282301)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_24
Runtime = Java HotSpot(TM) Client VM 19.1-b02
Comment 1 Marian Mirilovic 2011-03-25 09:09:28 UTC
could you please attach your messages.log file and reopen this issue ? Thanks in advance. 
http://wiki.netbeans.org/FaqLogMessagesFile
Comment 2 Tomas Zezula 2011-03-25 09:11:58 UTC
You have to set the source level to JDK 7 in the project properties.
Comment 3 nivlek_000 2011-03-28 07:41:50 UTC
(In reply to comment #2)
> You have to set the source level to JDK 7 in the project properties.

Problem Solved. Thanks a bunch.