[ubuntu-za] Installing Java on 8.04 LTS

Russell Cloran russell at rucus.net
Thu Jan 15 05:01:26 GMT 2009


I'm no Java person, so I have no idea what this "jar" command is, but
it looks like it is part of the JDK packages,

russell at zest:~$ jar
The program 'jar' can be found in the following packages:
 * java-gcj-compat-headless
 * gcj-4.2
 * sun-java5-jdk
 * kaffe
 * gcj-4.3
 * cacao-oj6-jdk
 * openjdk-6-jdk
 * fastjar
 * sun-java6-jdk
Try: sudo apt-get install <selected package>
-bash: jar: command not found

So, it seems like an "aptitude install sun-java5-jdk" should do the trick.


On Thu, Jan 15, 2009 at 6:39 AM, Alf Stockton <alf at stockton.co.za> wrote:
> I should have mentioned but look as I might I cannot find the jar file
> anywhere on the system. So the problem is more than just not having $JAVA_HOME
> set.
> --
> Regards,
> Alf Stockton            www.stockton.co.za
> You will be singled out for promotion in your work.
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za

echo http://russell.rucus.net/spam/ |  sed 's,t/.*,t,;P;s,.*//,,;s,\.,@,;'

More information about the ubuntu-za mailing list