You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/08/23 12:56:10 UTC

[jira] Updated: (MAVEN-1629) Ugly error message when JDK 1.3 is set for JAVA_HOME

     [ http://jira.codehaus.org/browse/MAVEN-1629?page=all ]

Brett Porter updated MAVEN-1629:
--------------------------------

    Fix Version:     (was: 1.1-beta-2)
                 1.1-rc1

> Ugly error message when JDK 1.3 is set for JAVA_HOME
> ----------------------------------------------------
>
>          Key: MAVEN-1629
>          URL: http://jira.codehaus.org/browse/MAVEN-1629
>      Project: Maven
>         Type: Bug
>   Components: cli
>     Versions: 1.1-beta-1
>  Environment: JAVA_HOME set to a 1.3 JDK
>     Reporter: dion gillard
>     Priority: Minor
>      Fix For: 1.1-rc1

>
>
> Is there some nicer message that can be produced than this?
> C:\source\wsad\workspace\Deployment>maven XXXX
> Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/App (Unsupported major.minor version 48.0)
>         at java.lang.ClassLoader.defineClass0(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
>         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
>         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:190)
>         at com.werken.forehead.Forehead.setupEntry(Forehead.java:298)
>         at com.werken.forehead.Forehead.config(Forehead.java:256)
>         at com.werken.forehead.Forehead.config(Forehead.java:131)
>         at com.werken.forehead.Forehead.main(Forehead.java:579)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org