LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2013, 10:55 AM   #1
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
Both java-1.7.0-openjdk and java-1.6.0-openjdk are installed ??


Hi all. I have Fedora 16_x64 and I have both java-1.6.0-openjdk and java-1.7.0-openjdk packages installed. Both claim to do the same job. When I try to remove the java-1.6.0-openjdk package it wants to remove all this:

Removing:
java-1.6.0-openjdk
Removing for dependencies:
bouncycastle-1.46-1.fc16 bouncycastle-mail-1.46-1.fc16
bouncycastle-tsp-1.46-1.fc16
icedtea-web-1.2.1.fc16
pdftk-1.44-5.fc16

I looked at the purpose of bouncycastle packages and icedtea-web and pdftk and I don't see where I might need those. Is it going to break anything important to remove these and keep java-1.7.0-openjdk? This does nothing to javascript/spidermonkey, right? Thanks ahead of time
 
Old 01-16-2013, 11:12 AM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Java can have many versions installed on your system, the way it works is by creating symlinks so that you have one path that you can always access java on. I cant remember the exact syntax but the way it works is it creates /usr/java/latest/ and then your versions get installed so /usr/java/java-1.6.0-openjdk gets installed first, it creates the symlinks to /usr/java/latest/. You then install /usr/java/ java-1.7.0-openjdk and it overwrites the previous symlinks and updates them to point at the new version.


There is no harm to having multiple versions installed side by side.

Nobody here can guarantee you that removing the old 1.6 version will not cause problems.

My rule is.. If it's not broke don't fix it. If you need to reclaim disk space then thats a valid reason but anything other than that I would just leave it.

NOTE: Folder paths provided in example are more than likely incorrect, this was done to illustrate how java handles multiple versions.
 
1 members found this post helpful.
Old 01-16-2013, 11:28 AM   #3
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Original Poster
Rep: Reputation: 91
@ Kustom42: Thank you for your informative reply, that answers several questions. I will leave both packages intact.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: First look at Cinnarch 2012.11.22; OpenJDK versus Oracle Java (DWW #487) LXer Syndicated Linux News 0 12-18-2012 12:01 AM
Yum is not able to locate many packages Ex: java-1.7.0-openjdk ExploreLinuxSrujan Linux - Newbie 3 11-12-2012 10:59 PM
LXer: Apache Harmony is Dead. OpenJDK Wins Open Source Java Battle. LXer Syndicated Linux News 0 11-11-2011 10:00 AM
LXer: What does IBM joining OpenJDK mean for Java? LXer Syndicated Linux News 0 10-15-2010 05:00 AM
LXer: Java wars: IBM joins OpenJDK as Oracle shuns Apache Harmony LXer Syndicated Linux News 0 10-14-2010 12:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:12 PM.

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