e******r 发帖数: 220 | 1 Each time I compiled the program, it always prompt me that following error.
What's the meaning of that?
Thanks, your help is highly appreciated.
Exception in thread "main" java.lang.NoClassDefFoundError: Comparable/java |
s******y 发帖数: 79 | 2 There is no main function can be find. What kind of IDE do you use? Check the
compile option.
error.
【在 e******r 的大作中提到】 : Each time I compiled the program, it always prompt me that following error. : What's the meaning of that? : Thanks, your help is highly appreciated. : Exception in thread "main" java.lang.NoClassDefFoundError: Comparable/java
|
H***a 发帖数: 189 | 3 javac Comparable.java
NOT java Comparable.java
【在 e******r 的大作中提到】 : Each time I compiled the program, it always prompt me that following error. : What's the meaning of that? : Thanks, your help is highly appreciated. : Exception in thread "main" java.lang.NoClassDefFoundError: Comparable/java
|
e******r 发帖数: 220 | 4 You are really familiar with java. That is my mistake. :))
error.
【在 H***a 的大作中提到】 : javac Comparable.java : NOT java Comparable.java
|