Thinking In Java book source code
I'm eager to read the book Thinking in Java, by Bruce Eckler. Unfortunately,
i've spent quite some hours trying to get the code from chapter 3 to run. I
found several "solutions" everywhere on the net (i've also gone through the
steps given on his own website, and read the info in chapter 5), though none
seem to work for me.
When trying to run the Assignment.class file from chapter 3 (after a
successfull compilation b.t.w.) i get the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: Assignment/class
Now, I understand this should come from the fact that the specified packages
in the source code can't be found during run-time because of the CLASSPATH
environment variable (correct me if i'm wrong). I've set the following
PATH= ... C:\j2sdk1.4.2_08\bin
So, the root of the source code is in d:\tij\code. I'm running J2SDK1.4.2_08
now, though i've tried the 1.5.0 version first. Please, please, please, can
anyone help me out? Thanks in advance!
Re: Thinking In Java book source code
Eric Beragg wrote:
> When trying to run the Assignment.class file from chapter 3 (after a
> successfull compilation b.t.w.) i get the following error:
> Exception in thread "main" java.lang.NoClassDefFoundError: Assignment/class
Did you try to run it with:
You should use:
|All times are GMT. The time now is 11:23 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.