I set my JAVA_HOME variable and that didn't help. I made a direcotry for java in my /usr directory and linked it to my JDK. That didn't do it either. I even added the path to my JDK direcly to my JDK's directory and still nothing. Here is the output from the commands above.
Code:
$ javac -version
bash: command not found
$ java -version
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)
$whereis java
java: /usr/bin/java /etc/java /usr/share/java /usr/share/man/man1/java.1.gz
I am at a loss. I would say my JDK is not installed properly, but I use it with NetBeans and BlueJ quite a bit. I can compile those projects no problem. I also moved a project to another computer and had to install JDK6 U13 before the project would compile on that machine. I am pretty sure my JDK is up and running.