aspose file tools
The moose likes Beginning Java and the fly likes COmpile command in Red Hat linux Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "COmpile command in Red Hat linux" Watch "COmpile command in Red Hat linux" New topic
Author

COmpile command in Red Hat linux

celina deol
Greenhorn

Joined: Jul 13, 2003
Posts: 5
Hello,
What's the command to complie a java file in linux. For DOS , its javac <filename>....but i think u gotta type somethign else after javac in linux???
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1815
As far as I know, the command is still javac. Depending on how your system is set-up, however, you may need to specify things like the class-path or other such switches.
Type javac with no arguments (or javac -help) to see a listing of options.


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
celina deol
Greenhorn

Joined: Jul 13, 2003
Posts: 5
THanks Joel for your help..its working...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: COmpile command in Red Hat linux
 
Similar Threads
How to remove spaces from string
packages doubt
noob needs help with path
Permanent path environment setting...
java in linux