[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

JDK: Okay, this used to work



I started to learn Java back when I was running Slink.  I didn't get past
chapter 3 of the book, but everything worked.

Why not now?

I install Jikes.  I start Sun's tutorial and enter HelloWorldApp.java per
the web site.  I compile it with javac.  Seems OK.  Then I try

	java HelloWorldApp.class

And get

	Exception in thread "main" java.lang.NoClassDefFoundError:
	HelloWorldApp/class

Whoops.  Quick search via Google Groups indicates that the class file needed
is by default installed where it can't actually be used.  (??)  So I
uninstall Jikes and install Sun's JDK.

And get the same error.

What's up?  What can I do to fix this?  And how did this get into Stable not
working at all without manual fixes?
-- 
Carl Fink		carlf@dm.net
Manager, Dueling Modems Computer Forum
<http://dm.net>



Reply to: