harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Ivanov" <ivavladi...@gmail.com>
Subject Re: [hdk][jdk] launcher should work on Windows when run without extension
Date Tue, 05 Jun 2007 05:24:06 GMT
On 6/5/07, Alexey Petrenko <alexey.a.petrenko@gmail.com> wrote:
> BTW, I can not reproduce the issue:
You run jdk/JRE/bin. It works fine for me too. please, try jdk/bin

>
> C:\...king_classlib\deploy\jdk\jre\bin>java -help
> Harmony Java launcher
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundatio
> n or its licensors, as applicable.
> java [-vm:vmdll -vmdir:dir -D... [-X...]] [args]
>
>
> 2007/6/5, Alexey Petrenko <alexey.a.petrenko@gmail.com>:
> > Interesting behaviour... :)
> >
> > Have you filed a JIRA?
> >
> > SY, Alexey
> >
> > 2007/6/5, Vladimir Ivanov <ivavladimir@gmail.com>:
> > > 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