You can do that with parameters passed to the jdk:
The java documentation I refer to to answer this is located at:
http://java.sun.com/j2se/1.4/docs/toold ... ml#options
Assuming that you will always follow that directory structure you mentioned above, AND that you only have three package levels, i.e.:
"com.mycom.mypack",
you would need to use the following command line:
javac.exe -d ..\..\..\class FileName.java
This translates, for the default javac compiler supplied by TextPad, to:
Command: UNCHANGED
Parameters: -d ..\..\..\class $File
Initial folder: UNCHANGED
However, if you have multiple package levels, i.e.:
"com.mycom.mypack"
"com.mycom.mypack.mysubpack"
"com.mycom.mypack.myothersubpack"
Then you can't do this flexible solution. In that case, just write out the ABSOLUTE path after the -d parameter:
Command: UNCHANGED
Parameters: -d F:\dev\class\
Initial folder: UNCHANGED
Anyway, that should work with all but the oldest jdk's, which may not support this, though it'll work as far back as jdk 1.1.8.