You will likely want to look at your Path environment variable and maybe your JAVA_HOME environment variable. You could change those to point to your 1.4 environment.
A simpler answer might be to create a shell/batch file to set those variables first and then run the program. That way it wouldn't be as much of a hassle switching back and forth.
I tried changing the PATH to look at the 1.4 instead of the 1.5. The message keep getting is:
C:\java -jar j:\RAWTGui.jar
Remote-AWT cannot start.
The JK version in the User Station
is incompatible with the Remote-AWT version.
User Station JDK version is1.5.0_04
Required JDK versions are 1.3 1.4
I ran this java command while my PATH statement was set to the 1.4.2_09 jdk.