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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T05:26:08+00:00 2026-06-11T05:26:08+00:00

Recently I am the facing problem with Apache Tomcat 6.0.35 on Linux Centos. I

  • 0

Recently I am the facing problem with Apache Tomcat 6.0.35 on Linux Centos.
I am getting the error –

java.lang.UnsupportedClassVersionError: myApp : Unsupported major.minor version 51.0 (unable to load class myApp)

When I give the command –

java -version

It Shows

java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.9) (rhel-1.28.1.10.9.el5_8-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

Similarly When I give the command –

javac -version

It shows –

javac 1.6.0_22

To locate the Java I give the command –

whereis java

The output is –

java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java /usr/share/man/man1/java.1.gz

And for

which java

It displays –

/usr/bin/java

Also for

which javac

Output is

/usr/bin/javac

Where myApp is java project developed in Windows and Uploaded the WAR file in Tomcats’ webapp directory on Linux.

I am not getting what is happening? Please can anybody please help me to resolve the problem?

Thanks in advance.

  • 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-11T05:26:10+00:00Added an answer on June 11, 2026 at 5:26 am

    You need a Java 7 runtime, not Java 6. See http://en.wikipedia.org/wiki/Java_class_file#General_layout for some details concerning this.

    Alternatively, you need to find and/or re-compile your code to be compatible with Java 6.

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

Sidebar

Related Questions

I recently started using interface builder, the problem i'm facing right now is when
I have a file upload page.recently i am facing a problem ie. When i
Recently, I have been facing a problem with throwing exception in JDBC topic. I
I am facing a problem of getting the last inserted row of group of
I have been facing the above mentioned problem in my java application that I
The sa account was recently locked out on my company's public-facing database due to
I recently added Autofac 2.6.2 to one of my ASP.NET MVC projet. I'm facing
I have recently integrated facebook comments on my photo gallery. I am facing a
I am a Fedora12(GNOME) user. I recently started development in Linux. Most of the
i converted recently from wxpython to pyqt and im still facing alot of problems

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.