dev@glassfish.java.net

Re: Contributing to Glassfish

From: Dinesh Patil <dinesh.patil_at_Sun.COM>
Date: Fri, 23 Sep 2005 12:51:00 -0700

this looks to be platform dependency problem, did you set
glassfish.os.name to correct one that you are using in
$HOME/build.properties or glassfish/bootstrap/project.properties? since
bootstrap may have downloaded incorrect platform version of the jars etc.

JDK 1.5.0_04 is supported with glassfish builds.

thanks
Dinesh

Tejash Shah wrote:

> I'm trying to follow the instructions from,
> http://www.netbeans.org/kb/41/glassfish.html. When I run the *maven
> configure-runtime* command, I get the following stack trace,
>
> F:\workspace\glassfish\bootstrap>maven configure-runtime
> __ __
> | \/ |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
> |_| |_\__,_|\_/\___|_||_| v. 1.0.2
>
> Attempting to download glassfish-image-SNAPSHOT.jar.
> build:start:
>
> configure-runtime:
> [exec] *java.lang.UnsupportedClassVersionError*:
> com/sun/enterprise/cli/framework/CLIMain (Unsupp
> rted major.minor version 49.0)
> [exec] at java.lang.ClassLoader.defineClass0(Native Method)
> [exec] at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
> [exec] at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
> [exec] at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
> [exec] at
> java.net.URLClassLoader.access$100(URLClassLoader.java:55)
> [exec] at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
> [exec] at java.security.AccessController.doPrivileged(Native
> Method)
> [exec] at
> java.net.URLClassLoader.findClass(URLClassLoader.java:187)
> [exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> [exec] at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
> [exec] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> [exec] at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
> [exec] Exception in thread "main"
> BUILD SUCCESSFUL
> Total time: 5 seconds
> Finished at: Fri Sep 23 15:32:57 EDT 2005
>
> Is JDK5.0 supported? I've also tried with JDK 1.4.2. Any ideas?
>
> Tejash
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net For
> additional commands, e-mail: dev-help_at_glassfish.dev.java.net