Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Kerri Gonzalez   on Feb 03 In Java Category.

  
Question Answered By: Agatha Miller   on Feb 03

I use MS J++ at work and you shouldn't have a
problem compiling if you put your file in a project. Once
in a project, choose the Build option on the toolbar
and select Build (or just hold down Cntl+Shift+B). If
you wish to compile  and run it outside of the editor,
go to the MS-DOS Prompt. Map your way to the
directory where the .java file is. Then type: <br>javac
[filename].java <br>If you compile with no errors, another prompt
will appear. To run the program, type:<br>java
[filename]

Share: 

 

This Question has 8 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on how do u compile a prog? Or get search suggestion and latest updates.


Tagged: