users@glassfish.java.net

Re: java.lang.ClassNotFoundException: appserv

From: Snjezana Sevo-Zenzerovic <Snjezana.Sevo-Zenzerovic_at_Sun.COM>
Date: Mon, 18 May 2009 15:24:47 -0700

One possibility is that your distribution file was incompletely
downloaded or corrupted during download. Could you try downloading the
.bin file once more and see if that resolves the issue?


glassfish_at_javadesktop.org wrote:

>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
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>