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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:50:04+00:00 2026-05-14T05:50:04+00:00

i have installed the netbeans version 6.8 with glassfish version 3 on a redhat

  • 0

i have installed the netbeans version 6.8 with glassfish version 3 on a redhat machine.
the thing is that when i try starting/stopping the glassfish via the netbeans, it works fine, BUT when i try starting the glassfish via:

./asadmin stop-domain domain1

i get the error
“GlassFish requires Java SE version 6. Your JDK is version 4”

i have got only one JDK instance installed

rpm -qa | grep jdk

will return “jdk-1.6.0_18-fcs”

any ideas ?

  • 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-05-14T05:50:05+00:00Added an answer on May 14, 2026 at 5:50 am

    Set the environment variable AS_JAVA to point to your 1.6 JDK. (asadmin will use bin/java within that directory). AS_JAVA must be set in glassfish/config/asenv.conf

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

Sidebar

Related Questions

I have installed the latest version of netbeans and its working.. I have opened
i have installed the cygwin package for my netbeans IDE. I can use that
How to install specific version of rails from Netbeans ? I have already installed
I am just starting with Java EE6. i have installed netbeans 7.2 though the
I have an error in NetBeans(mobile business application) I have installed JDK (latest version
I have a multi-module Maven project. It works fine in NetBeans. But not in
I have installed msysGit 1.7.10 on my Windows 7 machine. What I need to
I have installed pyglet onto Mac OS X 10.7.4 using MacPorts. pyglet only works
i have installed the latest netbeans 6.9 rc2 for all languages, but i only
I have installed Python Imaging Library (PIL) version 1.1.7 on a Windows 7 computer.

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.