LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Issues with adding JRE into Ubuntu Server 10.04 64-bit (https://www.linuxquestions.org/questions/linux-server-73/issues-with-adding-jre-into-ubuntu-server-10-04-64-bit-4175478463/)

fkasmani 09-25-2013 04:45 AM

Issues with adding JRE into Ubuntu Server 10.04 64-bit
 
Hello,

I need JRE on my Ubuntu 10.04 server and am trying to install with add-apt-repository "deb http://archive.canonical.com/ lucid partner". However, it only ends up with
Quote:

sudo: add-apt-repository: command not found
so I'm going ahead with sudo apt-get install software-proprieties-common and it ends up with
Quote:

E: Couldn't find package software-proprieties-common
Would really appreciate some help on this, pls.

eSelix 09-25-2013 06:17 AM

"add-apt-repository" application is in "python-software-properties" package. So install it:
Code:

apt-get install python-software-properties

tombelcher7 09-25-2013 06:51 AM

IF you desire the real 'proprietary' version of java then there is a useful installer:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

But before running this check to see if it is compatible with 10.04 64 bit:

http://www.webupd8.org/2012/01/insta...buntu-via.html

fkasmani 09-26-2013 04:39 AM

Thanks eSelix and Tombelcher7.

Works fine now.


All times are GMT -5. The time now is 05:36 AM.