+ 1
I guess you mean using a shell.
In Windows you have to use the command 'cd' (for example "cd C:/myJavaFolder/").
In Linux you'll use the command 'ls' (in the same way, but keep in mind folders are organized differently in Linux).
I guess OsX uses the same of Linux, but I'm not sure since I've never used it.