<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>