users@glassfish.java.net

Installing Glassfish on Linux

From: <glassfish_at_javadesktop.org>
Date: Mon, 07 Jul 2008 02:03:06 PDT

Hi Experts,

I am trying to install glassfish on fedoraCORE8, but if i run the command;
 lib/ant/bin/ant -f setup.xml

i get the following errors:

lib/ant/bin/ant: line 80: uname: command not found
/usr/share/java-utils/java-functions: line 135: sed: command not found
/usr/share/java-utils/java-functions: line 150: sed: command not found
/usr/share/java-utils/java-functions: line 150: sed: command not found
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Launcher
Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
        at java.net.URLClassLoader$1.run(URLClassLoader.java:221)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:209)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:324)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:269)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337)
Error: Could not find the main class.
Error: A JNI error has occurred, please check your installation and try again

Can anyone spot what i am doing wrong?
[Message sent by forum member 'losintikfos' (losintikfos)]

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