Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 01-06-2004, 01:39 PM   #1
Member (12 bit)
 
fatboyjim's Avatar
 
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.
fatboyjim is offline   Reply With Quote
Old 01-06-2004, 02:04 PM   #2
Member (12 bit)
 
fatboyjim's Avatar
 
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
fatboyjim is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:44 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2