Thread: How to run Java Program
-
February 4th, 2002, 08:44 PM #1
How to run Java Program
Hi all,
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,
Jeff
-
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
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)



LinkBack URL
About LinkBacks



Reply With Quote![Send a message via MSN to [Neo770]](http://www.techimo.com/forum/images/misc/im_msn.gif)




This Friday some awesome movies hit the box office have look and enjoy here now. Watch Fast & Furious 6 Online Watch Star Trek Into Darkness Online Watch The Hangover Part III Online Watch...
Watch Epic Online Free