Linux/Mac
1. Using the command line, from the account that you're trying to run javac, verify the location with "which javac"
2. Do "file javac" on the javac that the which exposes. Is it a program or a script? Is the script pointing to the right place?
What's the error message that running...