Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey Everyone.. having alot of issues with jre-6u23-linux-i586.bin and jre-6u23-linux-i586-rpm.bin.!! Neither is going the way it should and I've followed the instructions flawlessly for both types of pkgs from java.com,- plus alot of other links. I've tried it 7 ways to sunday-=> considering i'm currently having alot of java jre jdk jvm JAVA! problems,.. everything i do (alien) runs into dependency problms. Am I also having permission errors?? sounds like it {i'm using and Dell Dimension 8200 series, Linux Mint 10.10 [meerkat] fresh install} someone please help and put an end to my misery. Thanx In Advance
If you're using Linux Mint, why are you using rpm packages? I thought Linux Mint uses deb packages. Debian has a package called sun-java6-jre. Maybe Linux Mint has something similar.
Also you noramally install packages as root or using sudo. Have you tried that?
ciao,
jdk
Hi, yeah thats what i figured but when i use Synaptic/aptitude/apt-get to install java I get dependency issues like for instance.. I know this is overkill but bare w/ me plz
sudo aptitude install sun-java6-jre
The following partially installed packages will be configured:
sun-java6-demo sun-java6-jdk sun-java6-plugin sun-java6-source
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up sun-java6-jdk (6.22-0ubuntu1~10.10) ...
update-alternatives: error: alternative path /usr/lib/jvm/java-6-sun/bin/HtmlConverter doesn't exist.
dpkg: error processing sun-java6-jdk (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of sun-java6-demo:
sun-java6-demo depends on sun-java6-jdk (>= 6.22-0ubuntu1~10.10); however:
Package sun-java6-jdk is not configured yet.
dpkg: error processing sun-java6-demo (--configure):
dependency problems - leaving unconfigured
Setting up sun-java6-plugin (6.22-0ubuntu1~10.10) ...
No apport report written because MaxReports is reached already
update-alternatives: error: alternative path /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so doesn't exist.
dpkg: error processing sun-java6-plugin (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of sun-java6-source:
sun-java6-source depends on sun-java6-jdk (>= 6.22-0ubuntu1~10.10); however:
Package sun-java6-jdk is not configured yet.
dpkg: error processing sun-java6-source (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
sun-java6-jdk
sun-java6-demo
sun-java6-plugin
sun-java6-source
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up sun-java6-jdk (6.22-0ubuntu1~10.10) ...
update-alternatives: error: alternative path /usr/lib/jvm/java-6-sun/bin/HtmlConverter doesn't exist.
dpkg: error processing sun-java6-jdk (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of sun-java6-source:
sun-java6-source depends on sun-java6-jdk (>= 6.22-0ubuntu1~10.10); however:
Package sun-java6-jdk is not configured yet.
dpkg: error processing sun-java6-source (--configure):
dependency problems - leaving unconfigured
Setting up sun-java6-plugin (6.22-0ubuntu1~10.10) ...
update-alternatives: error: alternative path /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so doesn't exist.
dpkg: error processing sun-java6-plugin (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of sun-java6-demo:
sun-java6-demo depends on sun-java6-jdk (>= 6.22-0ubuntu1~10.10); however:
Package sun-java6-jdk is not configured yet.
dpkg: error processing sun-java6-demo (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
sun-java6-jdk
sun-java6-source
sun-java6-plugin
sun-java6-demo
This thread is marked "solved". Is it solved or not? If it has been solved, would you kindly post the solution so that it will benefit future users with similar problems.
ciao,
jdk
and I solved them by performing a 'sudo apt-get purge sun-java-6-jre' and then reinstalling. The reinstallation occurred without problems. I had 1.6.0_22 installed and was trying to upgrade to 1.6.0_24. It had worked on one computer, but not the other. Now they're both upgraded.
I had renamed the /usr/lib/jvm directory and had also moved all references for java from the /usr/bin directory and /etc/alternatives directory before the purge, but I don't think that was necessary. I was just trying to have a restore point, if needed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.