Oracle-jdk8-installer was not found While java is installed

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
I installed java by downloading its source. I set java path, it's OK and works but when I want to install another app (e.g Apache-Ambari-server with ambari-server start) I get this error:
E: Release 'ambari-server*.deb' for 'oracle-jdk8-installer' was not found
Why do I get an error when I have java on my system?
Edited:
Install JAVA:
Add path to /etc/profile:
JAVA_HOME=/usr/local/java/jdk1.8.0_20
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export PATH
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jdk1.8.0_20/bin/java" 1
sudo update-alternatives --set java /usr/local/java/jdk1.8.0_20/bin/java
source /etc/profile
java jdk oracle
add a comment |Â
up vote
0
down vote
favorite
I installed java by downloading its source. I set java path, it's OK and works but when I want to install another app (e.g Apache-Ambari-server with ambari-server start) I get this error:
E: Release 'ambari-server*.deb' for 'oracle-jdk8-installer' was not found
Why do I get an error when I have java on my system?
Edited:
Install JAVA:
Add path to /etc/profile:
JAVA_HOME=/usr/local/java/jdk1.8.0_20
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export PATH
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jdk1.8.0_20/bin/java" 1
sudo update-alternatives --set java /usr/local/java/jdk1.8.0_20/bin/java
source /etc/profile
java jdk oracle
What java do you have? How did you install it?
â Yoran Jansen
Apr 28 at 12:33
@Yoran Jansen. I edited the question, please read again.
â ParisaN
Apr 28 at 13:02
Please take a look at askubuntu.com/questions/521145/⦠for more information
â Yoran Jansen
Apr 29 at 10:33
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I installed java by downloading its source. I set java path, it's OK and works but when I want to install another app (e.g Apache-Ambari-server with ambari-server start) I get this error:
E: Release 'ambari-server*.deb' for 'oracle-jdk8-installer' was not found
Why do I get an error when I have java on my system?
Edited:
Install JAVA:
Add path to /etc/profile:
JAVA_HOME=/usr/local/java/jdk1.8.0_20
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export PATH
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jdk1.8.0_20/bin/java" 1
sudo update-alternatives --set java /usr/local/java/jdk1.8.0_20/bin/java
source /etc/profile
java jdk oracle
I installed java by downloading its source. I set java path, it's OK and works but when I want to install another app (e.g Apache-Ambari-server with ambari-server start) I get this error:
E: Release 'ambari-server*.deb' for 'oracle-jdk8-installer' was not found
Why do I get an error when I have java on my system?
Edited:
Install JAVA:
Add path to /etc/profile:
JAVA_HOME=/usr/local/java/jdk1.8.0_20
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export PATH
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jdk1.8.0_20/bin/java" 1
sudo update-alternatives --set java /usr/local/java/jdk1.8.0_20/bin/java
source /etc/profile
java jdk oracle
edited Apr 28 at 13:01
asked Apr 28 at 12:31
ParisaN
1127
1127
What java do you have? How did you install it?
â Yoran Jansen
Apr 28 at 12:33
@Yoran Jansen. I edited the question, please read again.
â ParisaN
Apr 28 at 13:02
Please take a look at askubuntu.com/questions/521145/⦠for more information
â Yoran Jansen
Apr 29 at 10:33
add a comment |Â
What java do you have? How did you install it?
â Yoran Jansen
Apr 28 at 12:33
@Yoran Jansen. I edited the question, please read again.
â ParisaN
Apr 28 at 13:02
Please take a look at askubuntu.com/questions/521145/⦠for more information
â Yoran Jansen
Apr 29 at 10:33
What java do you have? How did you install it?
â Yoran Jansen
Apr 28 at 12:33
What java do you have? How did you install it?
â Yoran Jansen
Apr 28 at 12:33
@Yoran Jansen. I edited the question, please read again.
â ParisaN
Apr 28 at 13:02
@Yoran Jansen. I edited the question, please read again.
â ParisaN
Apr 28 at 13:02
Please take a look at askubuntu.com/questions/521145/⦠for more information
â Yoran Jansen
Apr 29 at 10:33
Please take a look at askubuntu.com/questions/521145/⦠for more information
â Yoran Jansen
Apr 29 at 10:33
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029200%2foracle-jdk8-installer-was-not-found-while-java-is-installed%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
What java do you have? How did you install it?
â Yoran Jansen
Apr 28 at 12:33
@Yoran Jansen. I edited the question, please read again.
â ParisaN
Apr 28 at 13:02
Please take a look at askubuntu.com/questions/521145/⦠for more information
â Yoran Jansen
Apr 29 at 10:33