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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:11:35+00:00 2026-06-01T15:11:35+00:00

I have a question regarding the compatibility between different java versions. On my computer,

  • 0

I have a question regarding the compatibility between different java versions.

On my computer, I have java version “1.7.0_02”.
But when I uploaded the .class and embedded it in a webpage it does not work

I get the error:

“Unsupported major.minor version 51.0”

the heading at the top of the console says:
“Java Plug-in 1.6.0_31
Using JRE version 1.6.0_31-b05 Java HotSpot(TM) Client VM”

I would like to ask what is causing the problem. Is it really my java version?
I mean, I visited the site with the computer I compiled the applet in.

  • 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-01T15:11:36+00:00Added an answer on June 1, 2026 at 3:11 pm

    You can’t use classes compiled to Java 1.7-compatibility class files with an earlier virtual machine, and that “Java Plug-in” error you’re seeing says that’s exactly what happen.

    Two options:

    1. if you’re not using Java 1.7 only features, you can compile your code to be compatible with 1.6 JVM’s using the option -target 1.6 (see docs here)
    2. Upgrade the Java plug-in your browser is using to 1.7, if possible (I don’t think you can do this on OS X, for example). You didn’t note what OS and browser you’re using so I’m not sure what the upgrade path would be, if any.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question regarding inheritance in Java. If I have this base class
I have question regarding the SQLAlchemy. How can I add into my mapped class
I have a question regarding class design. I want to have a class that
I have a question regarding the scheduleAtFixedRate() method on ScheduledExecutorService in Java 6. [
I have a question regarding threading in Java. In my code, ... client.doSth(); //
I have question regarding macros. How could I cast through macro a template class
I have question regarding Java Comparator. Or maybe you all have another Idea to
I have question regarding the use of function parameters. In the past I have
I have question regarding disabling browser caching. I have already found few solutions, and
I have a question regarding .ajaxComplete(). Lets say I do this: // Register an

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.