This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

COmpile command in Red Hat linux

 
celina deol
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
celina deol
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THanks Joel for your help..its working...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic