LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Please how to install java working from apt-get ? (https://www.linuxquestions.org/questions/debian-26/please-how-to-install-java-working-from-apt-get-721616/)

frenchn00b 04-25-2009 12:11 PM

Please how to install java working from apt-get ?
 
Best regards

jim_fields 04-25-2009 12:29 PM

Just do apt-get install sun-java5-jre
If you want the plugin for firefox do apt-get install sun-java5-plugin

repo 04-25-2009 12:33 PM

Make sure your sourcelist contains the repo's

Code:

#flash
deb http://www.backports.org/debian etch-backports main contrib
deb ftp://ftp.debian.org/debian ../project/experimental main contrib non-free


AlucardZero 04-25-2009 06:55 PM

Why does he need backports or experimental?? It's in non-free.

Code:

sun-java5-jre:
  Installed: (none)
  Candidate: 1.5.0-14-1etch1
  Version table:
    1.5.0-14-1etch1 0
        650 http://debian.lcs.mit.edu etch/non-free Packages


jay73 04-25-2009 07:01 PM

Why would you install 1.5? 1.6 has many performance improvements, not to mention the 64 bit plug-in.

AlucardZero 04-25-2009 08:59 PM

Debian Etch

Edit: ok, sun-java6-jre is available for Etch if you enable etch-backports.

frenchn00b 04-26-2009 02:29 AM

WOW !! it works! thank you!! I had to stop and restart the iceape to make it operational. It is so easy with Debian.

farslayer 04-27-2009 09:47 AM

You may also want to configure/verify your default java for Linux as well.. your call.

update-alternatives --config java


All times are GMT -5. The time now is 09:25 AM.