[~/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:
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
2 matches
Mail list logo