Hi Kristian,
I did echo $PATH and got the follow poped out
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/sbin:/ sbin:/usr/java/jdk1.6.0_06/bin::/root/bin
The part i am pretty interesting in is the [b]usr/java/jdk1.6.0_06/bin:[/b] which what i did specified my CLASSPATH in the command line to be.
I am currently using JDK1.6.0 Update 6.
Here is how i did start the installation;#
1.I did download the on onto my core8 machine
2.Did % java -Xmx256m -jar filename.jar to extract the content
3.Got into the glassfish directory basically using [i]cd glassfish[/i]
4. Did this chmod -R +x lib/ant/bin
5. Tried to run the setup using lib/ant/bin/ant -f setup.xml
At first i got a BUILD failed error: asking to install JDK - which i had already installed, so decided to run the command:
PATH=/usr/java/jdk1.6.0_06/bin:
export PATH
It is after this that i realised stack trace posted above.
[Message sent by forum member 'losintikfos' (losintikfos)]
http://forums.java.net/jive/thread.jspa?messageID=284648