users@glassfish.java.net

java.lang.ClassNotFoundException: appserv

From: <glassfish_at_javadesktop.org>
Date: Mon, 18 May 2009 15:12:05 PDT

I am trying to install java-ee via java_ee_sdk-5_07-linux.bin (which is bundle of GlassFish, Java EE and JDK). The problem is I can not go on the installation fully. System info is:

[b]$ uname -a[/b]
Linux dincer-ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

[b]$ java -version[/b]
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode)

[b]$ javac -version[/b]
javac 1.6.0_13


and when I try to install java ee, it says:
[b]$ ./java_ee_sdk-5_07-linux.bin [/b]
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Extracting Java(TM) 2 Runtime Environment files...
Extracting installation files...
Launching Java(TM) 2 Runtime Environment...
Exception in thread "main" java.lang.NoClassDefFoundError: appserv
Caused by: java.lang.ClassNotFoundException: appserv
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: appserv. Program will exit.
Deleting temporary files...

I have googled pretty much but could not see anything similar. Is there anything you would suggest?

Thanks.
[Message sent by forum member 'dkavraal' (dkavraal)]

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