harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ivanov" <ivavladi...@gmail.com>
Subject [hdk][jdk] launcher should work on Windows when run without extension
Date Tue, 05 Jun 2007 04:36:14 GMT
Hello,
I think, jdk/bin/java launcher should be fixed to work on Windows when
it runs without extension. Now it reports NoClassDefFoundError.
Note it may confuse users who use HDK snapshots.

 thanks, Vladimir

Execution log:
trunk\target\hdk\jdk\bin>java.exe -version
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
n or its licensors, as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r544357, (Jun  5 2007), Windows/ia32/msvc 1310, release build
http://harmony.apache.org

target\hdk\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.M
ain
        at java.net.URLClassLoader.findClass(URLClassLoader.java:895)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:574)
        at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:96
2)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
FAILED to invoke JVM.

target\hdk\jdk\bin>

Mime
View raw message