Hi,
Really weird problem here.
A while ago, I installed Java 6 under Feisty Fawn using the package from Sun. I just upgraded to gutsy gibbon.
If I type "java" at the command prompt I get the following error:
But, if I search the adept package manager for "java6" it says that java is installed.
And I have links to /usr/lib/jvm/java-6-sun/bin/java in /usr/bin.
And if I specify the absolute path to /usr/bin/java it works.
How can I get the error message to dissapear?
Thanks,
Dan
Really weird problem here.
A while ago, I installed Java 6 under Feisty Fawn using the package from Sun. I just upgraded to gutsy gibbon.
If I type "java" at the command prompt I get the following error:
Code:
The program 'java' can be found in the following packages: * j2re1.4 * kaffe * cacao * java-gcj-compat * gij-4.1 * jamvm * gij-4.2 * sablevm Try: sudo apt-get install <selected package> bash: java: command not found
And I have links to /usr/lib/jvm/java-6-sun/bin/java in /usr/bin.
And if I specify the absolute path to /usr/bin/java it works.
How can I get the error message to dissapear?
Thanks,
Dan
Comment