AP Comp Sci Help

<p>I’m using textpad and the latest j2se jdk on my personal computer at home. I compile my java using javac (ctrl+1), but i can’t seem to run my java code. I get the error:</p>

<p>Exception in thread “main” java.lang.NoClassDefFoundError</p>

<p>i know it has something to do with my enviormental variables, but i have no clue what i have to do to fix it.</p>

<p>java is installed at C:\Program Files\Java</p>

<p>there’s a jdk<em>blah</em>blah_blah folder and a jre folder</p>

<p>within jdk folder there is a bin, lib, include, and demo folder</p>

<p>how do i get this thing to work?</p>

<p>ok im takin comp sci right now as self study and you arent really given us any info. List everything you wrote in textpad and did you save it as a java file of the same name as the class you gave it?</p>

<p>I’m an experienced programmer (php) and I didn’t make any mistakes because it compiled successfully. I can’t get it to run using java.exe.</p>

<p>download an IDE.</p>

<p>I’m lost. IDE to me = the thing in my computer that connects my hdd to my motherboard.</p>

<p>please elaborate.</p>