wood burning stoves
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

Head First book "% javac"

Mark Walton

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

Joined: Oct 02, 2003
Posts: 11877

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

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
Mark Walton

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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Head First book "% javac"
It's not a secret anymore!