Andante
October 11th, 2009, 05:20 AM
Hi everyone,
Just now when trying to run one of my programs that ran fine several days ago, and still works fine on other computers, I get this error message:
Exception in thread "main" java.lang.NoClassDefFoundError: java.util.Scanner
I'm not really sure what the problem is. The only thing I can think I've done since it last worked was install Eclipse, which I've removed to no luck.
for java -version I have
java version "1.5.0"
gij (GNU libgcj) version 4.3.3
(I know I installed version 6 update 16, and the java site still tells me I have it -- is this the same thing? I can't tell)
for javac -version I have
Eclipse Java Compiler 0.894_R34x, 3.4.2 release, Copyright IBM Corp 2000, 2008. All rights reserved.
which is kind of worrying since I don't even have that anymore. Regardless, without recompiling the program it still didn't work so I don't think this is the issue, though I fear it may cause some later on.
Any ideas?
Thanks!
Just now when trying to run one of my programs that ran fine several days ago, and still works fine on other computers, I get this error message:
Exception in thread "main" java.lang.NoClassDefFoundError: java.util.Scanner
I'm not really sure what the problem is. The only thing I can think I've done since it last worked was install Eclipse, which I've removed to no luck.
for java -version I have
java version "1.5.0"
gij (GNU libgcj) version 4.3.3
(I know I installed version 6 update 16, and the java site still tells me I have it -- is this the same thing? I can't tell)
for javac -version I have
Eclipse Java Compiler 0.894_R34x, 3.4.2 release, Copyright IBM Corp 2000, 2008. All rights reserved.
which is kind of worrying since I don't even have that anymore. Regardless, without recompiling the program it still didn't work so I don't think this is the issue, though I fear it may cause some later on.
Any ideas?
Thanks!