The help menu for Textpad 4.5 (Frequently Asked Questions) can be searched for the keyword "java" to find out how to use the java development kit. The text displayed is below. This procedure was entirely successful for my Win2000 system with a JDK1.3 install using JBuilder5. JBuilder installs the bundled JDK into a non standard directory - which textpad successfully located.
Did you install the JDK before you ran Textpad ?
Textpad Help File Contents: =================
The Java Development Kit (JDK) is a product from Sun Microsystems for developing Java applications. It can be downloaded from
http://java.sun.com/. We do not support it in any way (except for the interface with TextPad, described below), so please check that web page for support information.
Very Important: To be able to use it with TextPad, the JDK must be installed using its setup program. This writes information to the registry, which TextPad cannot work without.
After you have installed the JDK, as described in its installation instructions, you can add commands to compile and run Java applications and applets to TextPad's Tools menu as follows:
1. From the Configure menu, choose Preferences.
2. Select the Tools page on the Preferences dialog box.
3. Click Add.
4. Select "JDK Commands" from the drop down menu.
5. Click OK.
You can assign shortcuts to any of these commands using the Keyboard page on the Preferences dialog box.
Notes:
The option to add JDK commands only appears on that menu, if none of your tools runs JAVAC.EXE, JAVA.EXE or APPLETVIEWER.EXE.
The JDK commands are automatically added to the Tools menu, if the JDK is installed before TextPad is first run on a PC.
Do not attempt to capture the output of a Java application which reads from standard input. The Command Results window is output only, so you will not be able to type responses into it.