← Back to team overview

openjdk team mailing list archive

[Bug 208529] Re: system does not see /usr/bin/java

 

$ LANG= /usr/lib/command-not-found --ignore-installed java
The program 'java' can be found in the following packages:
 * java-gcj-compat-headless
 * openjdk-6-jre-headless
 * j2re1.4
 * kaffe
 * cacao
 * gij-4.1
 * jamvm
 * gij-4.2
 * sablevm
Try: sudo apt-get install <selected package>

works in hardy

** Changed in: openjdk-6 (Ubuntu)
       Status: Incomplete => Fix Released

** Changed in: command-not-found (Ubuntu)
       Status: New => Fix Released

-- 
system does not see /usr/bin/java
https://bugs.launchpad.net/bugs/208529
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in Source Package "command-not-found" in Ubuntu: Fix Released
Status in Source Package "openjdk-6" in Ubuntu: Fix Released

Bug description:
After installing openjdk-6 I get the following trying to run java from the command line.

The program 'java' can be found in the following packages:
 * java-gcj-compat-headless
 * icedtea-java7-bin
 * j2re1.4
 * kaffe
 * cacao
 * gij-4.1
 * jamvm
 * gij-4.2
 * sablevm
Try: sudo apt-get install <selected package>
bash: java: command not found

java is in /usr/lib/jvm/java-6-openjdk/jre/bin/java, but is not link to /usr/bin/java that some program look for it at.