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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T17:20:17+00:00 2026-06-17T17:20:17+00:00

I have a project where I want to use Java v 1.7 , so

  • 0

I have a project where I want to use Java v 1.7, so I made the change in my project for Java Compiler
enter image description here
and maven compiler as
enter image description here

But still When I deploy my JBoss application via IntelliJ I see error like

13:04:24,295 WARN  [org.jboss.modules] (MSC service thread 1-3) Failed to define class com.myorg.bb.business.LoginManager in Module "deployment.web-1.0-SNAPSHOT.war:main" from Service Module Loader: java.lang.UnsupportedClassVersionError: com/myorg/bb/business/LoginManager : Unsupported major.minor version 51.0
    at java.lang.ClassLoader.defineClass1(Native Method) [classes.jar:1.6.0_29]
    at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [classes.jar:1.6.0_29]
    at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [classes.jar:1.6.0_29]
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [classes.jar:1.6.0_29]

How can I make this work with Java v1.7?

  • 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-17T17:20:18+00:00Added an answer on June 17, 2026 at 5:20 pm

    Make sure JAVA_HOME is set to 1.7, you may try to override it in the JBoss Run/Debug configuration in IntelliJ IDEA as setting environment on Mac is tricky and depends on the OS version.

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

Sidebar

Related Questions

I have a few Java/Maven projects that I want to use in a Grails
I have a Java project in Netbeans and I want to use some classes
I have made an application in java. Now I want to deliver it to
I have project I want to upgrade to .Net4 and it use BackgroundCopyManager.dll. Anyone
I have created SSRS project in BIDS and I want to use the reports
i'v got a trouble, i want to use Ckeditor with my project, i have
I want to add more functionality to a project I have that makes use
I have imported a few images in my Netbeans Java project. I want to
I have gwt web project, which must use application.properties (on client side) loaded as
I have a specific project in which I want to use either a scripting

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.