harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3251) [jdktools][launcher] jdk\bin\java without extension throws NoClassDefFoundError
Date Tue, 27 Feb 2007 11:30:05 GMT
[jdktools][launcher] jdk\bin\java without extension throws NoClassDefFoundError
-------------------------------------------------------------------------------

                 Key: HARMONY-3251
                 URL: https://issues.apache.org/jira/browse/HARMONY-3251
             Project: Harmony
          Issue Type: Bug
          Components: JDK
         Environment: Windows/ia32
            Reporter: Ivan Popov


Java launcher from jdktools module fails on Windows if started without .exe extension. I've
used HDK build (r512155) created with federated build.

> jdk\bin\java.exe -version
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r512155, (Feb 27 2007), Windows/ia32/msvc 1310, release build
http://incubator.apache.org/harmony

> jdk\bin\java -version
Uncaught exception in main:
java.lang.NoClassDefFoundError: org/apache/harmony/tools/java/EXE/Main
Caused by: java.lang.ClassNotFoundException: org.apache.harmony.tools.java.EXE.Main
        at java.net.URLClassLoader.findClass(URLClassLoader.java:623)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:534)
        at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:920)
        at java.lang.ClassLoader.loadClass(ClassLoader.java)
FAILED to invoke JVM.

Launcher from jdk/jre directory works fine in both cases:

> jdk\jre\bin\java.exe -version
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r512155, (Feb 27 2007), Windows/ia32/msvc 1310, release build
http://incubator.apache.org/harmony

> jdk\jre\bin\java -version
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r512155, (Feb 27 2007), Windows/ia32/msvc 1310, release build
http://incubator.apache.org/harmony


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message