Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6007697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:43:05+00:00 2026-05-23T01:43:05+00:00

When NetBeans 7 (or NetBeans 3.6) is compiling with -source 1.4 enabled, why doesn’t

  • 0

When NetBeans 7 (or NetBeans 3.6) is compiling with -source 1.4 enabled, why doesn’t it warn when compiling with methods (or classes) introduced @since 1.5 or @since 1.6?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:43:06+00:00Added an answer on May 23, 2026 at 1:43 am

    The javac docs imply that the -source option is about language features, not library features.

    -source release
    Specifies the version of source code accepted. The following values for release are allowed:

    • 1.3 The compiler does not support assertions, generics, or other
      language features introduced after JDK
      1.3.

    • 1.4 The compiler accepts code containing assertions, which were
      introduced in JDK 1.4.

    • 1.5 The compiler accepts code containing generics and other language
      features introduced in JDK 5.

    • 5 Synonym for 1.5.

    • 1.6 This is the default value. No language changes were introduced in
      Java SE 6. However, encoding errors in
      source files are now reported as
      errors, instead of warnings, as
      previously.

    • 6 Synonym for 1.6.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In NetBeans 6.7.1, I had a Java project in which I renamed some classes.
I'm have horrendous problems trying to get a JOGL program compiling using Netbeans 6.9.
After compiling my application in Netbeans and running the application in Netbeans it works
I know that Compiling is the act of turning source code into object code.
I often getting the following error when compiling a maven project with NetBeans: Failed
I have this situation, I use Netbeans 6.8 with recommended MinGW+msys configuration, and compiling
I have this situation, I use Netbeans 6.8 with recommended MinGW+msys configuration, and compiling
I am compiling a large project containing >500 classes. After compiling VS 2010 there
New to NetBeans dev here. When I first created my project and began compiling,
Netbeans tells me it's bad to access a static method from a non static

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.