Yes, you should be able to. You would need to install Sun Java from
here. Then open up command prompt and type in the PATH=location of the Java.exe file (should be something like
C:\Program Files\Java\jre1.6.0_01\bin) so in this example it would look like this:
PATH=C:\Program Files\Java\jre1.6.0_01\bin. Then type
java location of java file you want to run. Of coarse replace location of java file you want to run with the location of the java file you want to run.
I know it is a bit confusing but I hope this helps,
Adam