Java command not found
Posted
by
TonyMocha
on Ask Ubuntu
See other posts from Ask Ubuntu
or by TonyMocha
Published on 2012-03-06T06:05:11Z
Indexed on
2012/07/07
15:23 UTC
Read the original article
Hit count: 341
installation
|java
Follow the instruction to setup the java on ubuntu 11.10 from How to install Java?.
Running following command to install:
sudo apt-get install openjdk-6-jdk
After it success, I type "java", it prompts me with this error:
The program 'java' can be found in the following packages:
* gcj-4.4-jre-headless
* gcj-4.6-jre-headless
* openjdk-6-jre-headless
* gcj-4.5-jre-headless
* openjdk-7-jre-headless
© Ask Ubuntu or respective owner