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 8404105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T22:30:51+00:00 2026-06-09T22:30:51+00:00

On my work computer, I have Windows 7 x64 with JDK 1.7 installed. I

  • 0

On my work computer, I have Windows 7 x64 with JDK 1.7 installed. I created a project in Netbeans and all went well. I then copied my project onto my home computer that is running Mac OS X 10.6, which is running JDK 1.6. The build fails with an error message about an unsupported major.minor version .51. Googling and searching concludes that it is because of a JDK version mismatch. Oracle does not allow JDK 1.7 to be installed on Mac OS X 10.6, so I am stuck with JDK 1.6 on my Mac.

Is there a way I can take my 1.7 code and get it to build and run on my Mac OS X 10.6 running JDK 1.6? Or is there way I can take my code back to my JDK 1.7 machine and downgrade the compatibility to 1.6? Basically I need the code to run on my work computer and home computer.

  • 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-06-09T22:30:52+00:00Added an answer on June 9, 2026 at 10:30 pm

    This will require you to have Java 1.6 installed on you Windows box. There a syntax incompatibilities between 1.7 & 1.6 (as well as some API differences).

    In Netbeans, right click the project node and select “Properties”. From the properties dialog, select sources. At the bottom of the dialog, you should see “Source/Binary Format”, from the drop down, select “JDK 6”

    Select “Libraries”. At the top of the dialog, you should see “Java Platform”, from the drop down, you will need to select “JDK 1.6”

    If you can’t find it, click “Manage Platforms”. Click “Add Platform”, browse to where you installed Java 6 (usually in C:\Program Files\Java) and select it. Click “Finish”.

    Now you should be able to find it

    UPDATE

    From comments made by “su-“, you may be able to get away with simply changing the “Source/Binary Format” option to 1.6

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

Sidebar

Related Questions

I work at a small computer shop, and we have to analyze windows minidumps
I have my Windows work computer set up with JDE 5, but the plugin
I have installed xdebug on my computer with windows and it works fine by
I have WAMP installed on my Windows Computer. I want to set up a
Work on C# Desktop project,I have an account on paypal ,From my desktop application
I have Windows XP + IIS + PHP (fastcgi) installed. I want to use
I have two computers with Windows Server 2003. One computer has some shared folders
Versions Excel 2003 Windows XP SimaPro 7.3.0 Developer Version Using a Work computer but
I have a PhaseListener and does not work. But in the computer of my
I have downloaded Eclipse with the plug-in to work with C/C++ over Windows. I

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.