Thread: How to run Java Program
February 4th, 2002, 08:44 PM #1
How to run Java Program
I just started a Java course and one of the assignments has me puzzled. It involves having some stuff print into a command window. When I run the program from inside Borland JBuilder, the command window closes immediately. If I open the command prompt and go to the directory, what is the command that I need to type in order to get the program to run? Thanks,
February 4th, 2002, 08:48 PM #2
I'm not exactly sure about Java, but I think you need to compile the program to an .exe then run it from the command line.
February 4th, 2002, 08:50 PM #3
You can go to Sun's website and download their java development kit. It's just like borland 5.5 that's free for download.
To compile using that it's "javac file.java"
To run "java file"
JkrohnSignatures blow hard
If your signature contains an ad of any kind, congratulations, you're on my ignore list.
February 4th, 2002, 08:58 PM #4
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)