Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

command line

 
Hans DeRoock
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After you create your source code how do run your compiler. My book says from the command line. Where is the command line?
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Command line means Command Prompt.

Which OS you have?
 
Dharam Singh
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
He has Ubuntu
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dharam Singh:
He has Ubuntu


Means?
 
Dharam Singh
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Operating System

Regards
Dharam
(V.S.)
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is this post doing in this forum? May be it should be in General Computing.
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Dharam Singh:
Operating System

Regards
Dharam
(V.S.)


It doesn’t have Command Line interface to the OS?
 
Hans DeRoock
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded the J2SE software development kit.(version5.0). So, now what. I don't see a icon. I do see all the folders. My question is really is ..After you write a program in a text editor how do you compile and run ths program? Anyone? Help?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hans,

Welcome to JavaRanch!

You've posted this question in a corner of the Ranch which is reserved for product announcements and other advertisements, so I think people are unsure of what to do. I'm going to try to answer your question, and then I'm going to move this to our Java in General (Beginner) forum for follow-ups.

Where and what the "command line" is, exactly, depends on your operating system. I'm going to guess you're running some version of Windows -- if you tell us the exact version, we could be more specific. But if it's Windows XP or similar, then push your "start" button, pick "Run..." near the bottom, and type "cmd.exe" into text box, and press Enter. A black window should pop up: that's the command line.

Now, try to follow this tutorial, which introduces all the ideas you'll need. Good luck!
 
Hans DeRoock
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a bunch! That did the trick.Hans
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic