Friday, March 04, 2011

Java switches

Why can I never remember this?

$ javac -d ./classes ...

$ java -cp ./classes ...

I.e. I can never remember which one gets the -d and which gets the -cp. I need to make up a little song or something.

No comments: