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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:00:12+00:00 2026-06-17T00:00:12+00:00

Does anybody know of a good approach for testing Java 6 code in Java

  • 0

Does anybody know of a good approach for testing Java 6 code in Java 5? I just finished writing some programs for an internship application in Java 6, only to realize that they wanted me to submit code written in Java 5. I use eclipse, so I tried setting a duplicate project to run in a J2SE-1.5 environment and it worked. Was that a proper test, or was I mistaking something else for a Java 5? I also tried finding an online Java 5 compiler to test my code, but I couldn’t find any websites with versions earlier than Java 6. I don’t have a whole lot of experience with the more technical aspects of this sort of thing, so any simple approach would be immensely appreciated.

  • 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-17T00:00:15+00:00Added an answer on June 17, 2026 at 12:00 am

    Yes, I think testing in a J2SE-1.5 environment should do it. Did you also change your compiler settings in the “Properties” window to 1.5? Please check that and try running your code. As far as I know I only do this to test between different versions of Java.

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

Sidebar

Related Questions

does anybody know how to insert code into lyx? just like what is available
Does anybody know a good library for writing SVG files in Android? I've looked
Does anybody know any good 2D game engines for Java? I'd like one that
Does anybody know some good websites where we can find the current trend for
does anybody know a good client-side, resize-before-upload, flash/java uploader? We need this terribly on
Does anybody know a good code generation tool (other than Subsonic because it doesn't
Does anybody know a good place to learn how to use the debugger in
Does anybody know a good C sample that loads bitmaps and handles all the
Does anybody know a good web framework that includes an ORM mapper and allows
Does anybody know of a good resource for programming the behaviors of various materials

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.