Re: Problem: Java interpreter does not work

2007-07-05 Thread Jan Moesen
[~/Java] gij HelloWorld.class Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld.class Shouldn't you leave out ".class" there? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http:

Problem: Java interpreter does not work

2007-07-05 Thread Dan N
I tried to run Java interpreter, but it doesn't work. Here is how it looks like: [~/Java] cat HelloWorld.java public class HelloWorld { public static void main(String[] args) { System.out.println("Hello world!"); } // main } [~/Java] jikes -bootclasspath /usr/share/java/libgcj-3.4