users@glassfish.java.net

Re: Install problem + newbie questions

From: <glassfish_at_javadesktop.org>
Date: Sat, 10 Nov 2007 10:12:10 PST

When you downloaded and installed Java EE 5 SDK Update 3 you have the AppServer installed in /opt/SDK

The AppServer will automatically use the JDK that was installed into /opt/SDK/jdk

That version of the AppServer is exactly the same as GlassFish v2

If you wanted to -- you can easily remove 9.1 from your system and install Glassfish V2 somewhere else. But if you do that you have to tell the GlassFish installer where the JDK is by setting this environmental variable:

JAVA_HOME=/opt/SDK/jdk
-- That's why the installer failed -- it can't find the JDK.

Recommended: Add /opt/SDK/jdk/bin/java/bin and /opt/SDK/bin to your Path env. variable

If you run "<AS>/bin/asadmin version" on either installation you should see this:

Version = Sun Java System Application Server 9.1
Command version executed successfully.

In other words --- you already have the AppServer installed. If you run this command, it will startup:

/opt/SDK/bin/asadmin start-domain
[Message sent by forum member 'bnevins' (bnevins)]

http://forums.java.net/jive/thread.jspa?messageID=244892