GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes Head First book Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Head First book "% javac"" Watch "Head First book "% javac"" New topic
Author

Head First book "% javac"

Mark Walton
Greenhorn

Joined: Mar 06, 2008
Posts: 3
Brand new to this Java game (although I've been an old-style programmer for 30 years) and I'm using the Head First book.

It keeps referring to command prompts % javac and similar.

What the heck is the % for?


There are 10 types of people in the World; those that understand binary and those that don't.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11356
    
  16

what OS are you using? that '%' is really just your command line. on windows, it might actually be "C:\>". on Unix, it might look like "->", etc.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

It only refers to your command prompt. If you're on Windows, think of it as C:\>.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Mark Walton
Greenhorn

Joined: Mar 06, 2008
Posts: 3
Thanks guys. I knew the code worked without the "%" - I just didn't realise that it meant "command prompt" - it actually looks like you're meant to type it.
 
GeeCON Prague 2014
 
subject: Head First book "% javac"