> Could Someone PLEASE explain with a good amount of
> detail how to compile a program through terminal on a
> mac. Whatever I try I can't get it to work.
could someone please ask with a good amount of detail the specifics of their question? "can't get it to work" doesn't tell anyone much.
> one might just say that one has no idea how to use
> the javac command in terminal at all, and one would
> just like a little bit of help
What have you tried to do? What terminal are you using? (I've never used a mac personally, but I understand they ship with a *NIX shell, right?)
> > one might just say that one has no idea how to use
> > the javac command in terminal at all, and one
> would
> > just like a little bit of help
>
> What have you tried to do? What terminal are you
> using? (I've never used a mac personally, but I
> understand they ship with a *NIX shell, right?)
It's based on the BSD environment, with a MACH based kernel (although it's not a micro kernel, despite the fact that many will claim it is - probably because MACH is best known as a microkernel)... The finder is a *nix shell, and can be swapped out at startup by changing a plist setting ;) but it also comes with a number of "traditional" shells, bash, sh, tcsh that I know off, of the top of my head... bash being the default for the terminal.app
http://www.apple.com/macosx/features/unix/
> So what i did was type in "javac myfile.java" into
> the terminal
> Then i wait like 2 seconds and it says there is one
> error. But there isn't an error b/c i downloaded the
> stuff from a website for a book that I have.
And I have to add that blind faith in something from a "website" for a "book" isn't a good thing.