Re: Ubuntu 12.04 Java Failed Install
Canonical didn't decide not to include Oracle Java. Oracle decided to remove all licensing for Oracle Java to be maintained in anyone's repos.
Re: Ubuntu 12.04 Java Failed Install
I have one program which will definitely not run with the open java included in ubuntu otherwise, but other things seem to work fine.
Are there any special reasons why to install the oracle java instead the open java?
Re: Ubuntu 12.04 Java Failed Install
I give a brief explanation in the post in the link in my signature.
Re: Ubuntu 12.04 Java Failed Install
I used this fix in the past, and it seemed to work perfectly. But today, the error randomly started occurring again. When I attempted to use the same fix, it came up with a new error:
Quote:
Errors were encountered while processing:
myspell-st
E: Sub-process /usr/bin/dpkg returned an error code (1)
If anyone can help with that, I'd be very grateful :)
Re: Ubuntu 12.04 Java Failed Install
Following up your CLI, It is workable on my system. Thanks guys ^_~
Quote:
Originally Posted by
ibussieres
Thanks guys, worked perfectly for me.
Try this bsprakash, if you're unsure, one command at a time.
Code:
sudo rm /var/lib/dpkg/info/oracle-java7-installer*
sudo apt-get purge oracle-java7-installer*
sudo rm /etc/apt/sources.list.d/*java*
sudo apt-get update
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Or all in one :
Code:
sudo rm /var/lib/dpkg/info/oracle-java7-installer*; sudo apt-get purge oracle-java7-installer*; sudo rm /etc/apt/sources.list.d/*java*; sudo apt-get update; sudo add-apt-repository ppa:webupd8team/java; sudo apt-get update; sudo apt-get install oracle-java7-installer;
Re: Ubuntu 12.04 Java Failed Install
Quote:
Originally Posted by
rigel4
HI I have solved it myself from a post elsewhere:
Code:
sudo rm /var/lib/dpkg/info/oracle-java7-installer* sudo apt-get purge oracle-java7-installer* sudo rm /etc/apt/sources.list.d/*java* sudo apt-get update sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer
Oh, man, thank you so much. Spent hours looking at other forums and trying different ideas to install Java. This worked! Thanks.
Re: Ubuntu 12.04 Java Failed Install
I could kiss you thank you all working now great work cheers xD
Re: Ubuntu 12.04 Java Failed Install
Thank You! After more than a week of digging your method worked! May you bump into something you really need!
Re: Ubuntu 12.04 Java Failed Install
Quote:
Originally Posted by
ibussieres
Thanks guys, worked perfectly for me.
Try this bsprakash, if you're unsure, one command at a time.
Code:
sudo rm /var/lib/dpkg/info/oracle-java7-installer*
sudo apt-get purge oracle-java7-installer*
sudo rm /etc/apt/sources.list.d/*java*
sudo apt-get update
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Or all in one :
Code:
sudo rm /var/lib/dpkg/info/oracle-java7-installer*; sudo apt-get purge oracle-java7-installer*; sudo rm /etc/apt/sources.list.d/*java*; sudo apt-get update; sudo add-apt-repository ppa:webupd8team/java; sudo apt-get update; sudo apt-get install oracle-java7-installer;
Very Nice...Than you!