This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Java 1.7 - compile trouble


$ uname -a
MINGW32_NT-5.0 STNT067 1.0.11(0.46/3/2) 2007-01-12 12:05 i686 Msys

$ java -version
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b23)
Java HotSpot(TM) Client VM (build 12.0-b01, mixed mode, sharing)

kawa build fron SVN without problem.
REPL is nice work.

$ cat test.scm
(format #t "Hallo? world!")

$ java -cp C:/JVM/kawa/kawa-1.9.3.jar kawa.repl --main -C test.scm
(compiling test.scm to test)

$ javap test
Compiled from "test.scm"
public class test extends gnu.expr.ModuleBody implements java.lang.Runnable{
   public test();
   public final void run(gnu.mapping.CallContext);
   public static {};
   public static void main(java.lang.String[]);
}

$ java -cp C:/JVM/kawa/kawa-1.9.3.jar test
Exception in thread "main" java.lang.NoClassDefFoundError: test
Caused by: java.lang.ClassNotFoundException: test
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Error: Could not find the main class.
Error: A JNI error has occurred, please check your installation and try again


What is wrong?

Thanks!

--
WBR, Yaroslav Kavenchuk.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]