users@glassfish.java.net

Re: I don't use glassfish ServletException: java.lang.NoClassDefFoundError:

From: <glassfish_at_javadesktop.org>
Date: Wed, 16 Jan 2008 09:26:47 PST

good y delete all and begin now : Steps:

1 – install the jdk in ubuntu: apt-get install sun-java6-jdk;

2 – Set variable de entorno :

JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.03;
PATH=$PATH:/home/audyt/glassfish/bin/;

3 – downoload then jar of the page and:

 java -Xmx256m -jar glassfish-installer-v2ur1-b09d-linux.jar;

4 - cd glassfish
   chmod -R +x lib/ant/bin
   lib/ant/bin/ant -f setup.xml

5 – run http://localhost:8080 and after admin console http://localhost:4848

good bye
[Message sent by forum member 'roque_ing' (roque_ing)]

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