Openjdk-7-jdk some commands not recognized?
Posted
by
function
on Ask Ubuntu
See other posts from Ask Ubuntu
or by function
Published on 2011-12-31T23:11:32Z
Indexed on
2012/04/13
5:42 UTC
Read the original article
Hit count: 258
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, ...
© Ask Ubuntu or respective owner