the process should be the same. if it's a simple application with one or two .java files, from the command line type
javac class1.java
this should build you a class1.class file. then, run
java class1
and it should run. now, there are potential path isssues, and classpath issues, but they may or may not show up depending on how you have things set up. what happens when you try to compile?
note: if you have it working on your SUN box, you don't really need to re-compile for windows. just move over the .class files, and run the
java class1
command. [ November 03, 2006: Message edited by: fred rosenberger ]
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
javac.exe will need to be in your path. Check to see the bin directory of your JDK is in the path via Settings>Control Panels>System>Advanced: Environment Variables, ro by typing set PATH in a command prompt. [ November 03, 2006: Message edited by: Paul Sturrock ]