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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:49:07+00:00 2026-06-17T13:49:07+00:00

I try to deploy a simple Hello Word in my local server GlasshFish 3,

  • 0

I try to deploy a simple “Hello Word” in my local server GlasshFish 3, but at the deploy the console print this message

[#|2013-01-15T15:00:02.458+0100|SEVERE|glassfish3.1.2|
javax.enterprise.system.tools.admin.org.Exception while deploying the app
[HelloWorldEJB] :UnsupportedClassVersionError: Class ejb_other.PlaceAuctionItemBean 
as unsupported major or minor version numbers, which are greater than those found 
in the Java Runtime Environment version 1.6.0_27|#]

My JAVA_HOME has java version 1.6.0_27 (it refers to _C:\Program Files\Java\jdk1.6.0_27_), my Eclipse (indigo) project refers to java 1.6.0_27.
I think (i don’t know how to verify) that GlasshFish refers to JAVA_HOME.

In my PC (Windows 7) I found 2 directory having java.exe:

  • C:\Windows\SysWOW64>java -version –>>java version “1.6.0_29”
  • C:\Windows\System32>java -version –>>java version “1.6.0_27”

I found more discussions about this exception (f.e. this or this ), but I need of something more specific for Eclipse/Glasshfish, because I can’t to solve. I see that the JVM is the same for compilation and execution.

Post Scriptim

I add the screenshot about the places where I declare JVM: it’s always 1.6.
one:compiler
two:build path eclipse
three:envieronment variables

Where can I see that I compile with java 7 or it runs with another JVM?

  • 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-17T13:49:09+00:00Added an answer on June 17, 2026 at 1:49 pm

    Found solution

    There’s another place where setting the compiler’s options:

    how do I get eclipse to use a different compiler version for Java?

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

Sidebar

Related Questions

This is probably very simple but bear with me. When I deploy my Silverlight
When I try to deploy reports to a newly installed SSRS 2005 server (remote
I am getting this error when I try to deploy my Web API project
I would like to try out Capistrano to deploy a PHP application but can't
I'm trying to deploy my windows phone app but when I try to compile
I try to deploy and start really simple pojo in JBoss 6.1 via SAR.
The following simple method works well on my local machine but throws a NullPointerException
I try to do a simple file upload to server using apache.fileupload. I tried
I'm trying to deploy a simple REST example in JBOSS AS 7 but seems
I am trying to deploy a simple windows desktop app using a SQL Server

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.