How to install java jre
Fri, 2007-03-02 01:46
in downloaded the jre file and i am trying to install it. I have used this http://ubuntuguide.org/wiki/Ubuntu_Edgy#Java_.26_Non-Media_Browser_Plug-ins
I shell this:
sudo apt-get install java-package
im getting this error
E: Couldn't find package sun-java6-jre
what am i missing?









you need to add the "multiverse" repository if you want to install any proprietary software (like the Java Runtime. Flash Plugin, RealPlayer, etc.)
Also don't forget to run "apt-get update".
thanks
Why not just use GCJ? It probably comes with Ubuntu by now.
Java is soon going to be free, if it isn't already. It is possible some distros will even ship it by default.
However you will probably have the free java available from Sun before any distributor so you can download Java binary from java.sun.com and install it by insturctions that they provide there.
Edit: GCJ is also a good option if it would support what you need.
i will give it a try.
The weakness of the free alternatives lie with applets, which are arguably what made sure Java still exists and in known among many even non-programming users.