LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-02-2011, 01:34 AM   #1
11Dr.FrankenStein33
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Rep: Reputation: 0
Stubborn Java Installation


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
 
Old 02-02-2011, 01:43 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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
 
Old 02-02-2011, 01:57 AM   #3
11Dr.FrankenStein33
LQ Newbie
 
Registered: Jan 2011
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
Old 02-02-2011, 11:12 PM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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
 
Old 02-22-2011, 04:41 PM   #5
jebradl
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Rep: Reputation: 0
I was having similar problems

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTFS-3G is a stubborn during the installation... jako-r Linux - Distributions 7 06-12-2007 07:58 AM
JAVA JRE installation to view java applet through browser dipenchaudhary Linux - Software 1 01-23-2006 09:20 AM
Crond is stubborn... Worstje Slackware 20 07-10-2005 08:10 AM
Mozilla being stubborn Dodgy Linux - Software 3 04-27-2003 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration