OK, this is the first program I've tried to run on my pc at home. I've gone through a year of programming at high school and learned very little, so I'm doing
Head First Java on my own at home. At school I used TextPad to compile and run the code, which is what I'm doing at home for now (eventually I'll move on to use eclipse, methinks). Anyway, I installed the j2se Software Development Kit 1.5 (5.0) Update 6. I hate it how sun puts the Runtime Environment so close to the SDK... ugh! But anyway, I managed to avoid downloading the wrong one.
TextPad compiles the following code correctly:
But when I try to run I get this exception:
What's the problem? I read a previous
thread with 30 posts about setting the PATH. Is that my problem here?