users@glassfish.java.net

Re: Can not start the administration console

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Thu, 18 Mar 2010 11:05:59 +0100

That is probably because you're using Java 5 when GlassFish v3 actually requires Java 6.
You can set JAVA_HOME in glassfish/config/asenv.conf to use an installed JDK 6 if the default OS version of Java is set to Java 5.
-Alexis

On 18 mars 2010, at 05:39, glassfish_at_javadesktop.org wrote:

> Thanks for the recommendation.
> I've downloaded zip-archive and used this version.
> There is another problem:
> C:\glassfish\bin>asadmin start-domain domain1
> Exception in thread "main" java.lang.UnsupportedClassVersionError: com/sun/enterprise/admin/cli/AsadminMain (Unsupported major.minor version 49.0)
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(Unknown Source)
> at java.security.SecureClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.defineClass(Unknown Source)
> at java.net.URLClassLoader.access$100(Unknown Source)
> at java.net.URLClassLoader$1.run(Unknown Source)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClass(Unknown Source)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
>
> Could you help me?
> [Message sent by forum member 'arrows']
>
> http://forums.java.net/jive/thread.jspa?messageID=392486
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>