|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (12 bit)
Join Date: Feb 2001
Location: UK
Posts: 2,469
|
Java 2
Hi,
I've got a book on Java 2 which is focused on the JDK 1.3 (Sams teach yourself Java 2 in 24hours) I'm actually using the most recent SDK however and it's confusing me a little bit. I'm sure once I get this hello world out of the way everything will be fine! :-D Basically I am told to run 'javac' to compile the prog which doesn't seem to exist in the new version. When running the program 'java' I get the error message: Exception in thread "main" java.lang.NoClassDefFoundError: Helloworld Any ideas? I'm guessing it's because I'm trying to run it through the interpreter before it's run through the compiler? Although I'm a complete newbie so just dismiss that as codswallop if you want Cheers,
__________________
Jim Last edited by fatboyjim; 01-06-2004 at 01:51 PM. |
|
|
|
|
|
#2 |
|
Member (12 bit)
Join Date: Feb 2001
Location: UK
Posts: 2,469
|
OK no worries it seems to be working OK in Netbeans which came with it...
Thanks, Jim |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|