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

  • Home
  • SEARCH
  • 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 6828735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:25:04+00:00 2026-05-26T22:25:04+00:00

I am putting together a new dev machine, Mac. My old dev machine runs

  • 0

I am putting together a new dev machine, Mac.

My old dev machine runs Netbeans 6.8. I have a file with a variable called enum. I get a warning saying :

enum is a keyword and can not be used as an identifier

I am using JDK 1.4.2 for this project.

My new machine another Mac, have installed Netbeans 7.0. Same nbproject, same file, I get an error instead of the warning and I can not find a way around this.

Anyone has any experience with this?

Thanks
Reza

For what is worth, the source is

 // make sure eager jars are up-to-date
  for (Enumeration enum = entry.getDescriptor().getResources().eagerJars();          
              enum.hasMoreElements();) {
                Reference jarRef = (Reference) enum.nextElement();
  • 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-26T22:25:05+00:00Added an answer on May 26, 2026 at 10:25 pm

    OK, so what I was NOT doing in the new version what I was not setting the project’s setting for source/binary format to 1.4. It was defaulting to 1.6 even though I had set the Java platform to 1.4

    Now the errors are turned into warnings.

    Thanks all for the help.

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

Sidebar

Related Questions

I'm currently putting together (on old fashioned paper) a layout for my new database,
I am putting together an old post here with this new one. My main
New to wpf and therefore struggling a bit. I am putting together a quick
I am putting together some ideas for our automated testing platform and have been
A fellow developer and I are putting together a proposal for a new application,
I am to c# and have been putting programs together through modification of existing
I’m farely new to Wordpress but are working on putting a page together which
I'm putting together a new app and, while I normally use JQuery for things
I am putting together a Flash game (using Flixel) and I have a lot
I am new to jmeter and am working on putting together a test plan.

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.