there is a workaround for this. Whats happening is when the jdk was installed, assuming you downloaded it from https://sdlc5d.sun.com/ECom/EComActi...FA88EB03873843
it's not putting it in the system32 folder, which would make it a generally consumable application. It's still in the java folder, so what you need to do is tweak textpad a little bit.
1.) Open textpad ( I assume 4.1xx version)
2.) Click on configure at the top
3.) Click on preferences
4.) Click on tools
5.) Click on add
6.) Select program from the Drop Down List
7.) Navigate to the javac file located at C:\Program Files\Java\jdk1.6.0\bin\javac.exe (usually) and click open
8.) at the bottom click apply
9.) close out of the window and repeat steps 2-4
10.) now select the textpad default option of compile java
11.) copy the regulare expression field and paste it into the Javac you created
basically make sure everything but the commandName match, and then use that tool you created and problem solved.
The same thing goes for running the java application once it's compiled. Only the path would be C:\Program Files\Java\jre1.6.0\bin\java.exe Assuming you have the latest edition of the java runtime environment.