March 19, 2004
Java and TextPad
It seems that no one’s documented using TextPad’s Workspaces and Java. There’s a lot about using TextPad and Java, but we’ve been using the Workspace feature of TextPad for several years at work and I figured I’d document it (complete with screen shots!) so we don’t have ask each other after a re-install…
Note: Install TextPad after you install the JDK so you don’t have to manually enter the default Java “Tools” commands in TextPad.
Compile Java:
Command: javac.exe
Parameters: -g:none -deprecation -classpath $WspDir $File -d $WspDir
Initial Folder: $FileDir
Run Java Application:
Command: java.exe
Parameters: -classpath $WspDir $Basename
Initial Folder: $FileDir
Run Java Applet: (We don’t really use this too much.)
Command: appletviewer.exe
Parameters: $Basename
Initial Folder: $FileDir
