Openjdk-7-jdk some commands not recognized?
- by function
I installed openjdk-7-jdk using apt-get install. However, when I type 'javac', the terminal says, 'bash: /usr/bin/javac: No such file or directory'. I think the link is broken, but how can I fix it?
Note: I installed openjdk-7-jdk before, but then I removed openjdk and installed sun-java. Now I deleted sun-jdk and want to go back to openjdk, but javac is not recognized. I'm using Ubuntu 11.10.
Edit: Recognized: java; Not Recognized: javac, javadoc, appletviewer, ...