Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 09-20-2012, 06:53 AM   #1
LQ Newbie
Registered: Jul 2011
Posts: 6

Rep: Reputation: Disabled
openjdk-7 dependencies in Wheezy

I'm using Wheezy and have openjdk-6-jre installed. Since openjdk-7-jre is available in Wheezy, I wanted to upgrade to it.

In Synaptic, I selected openjdk-7-jre. Although I already have openjdk-6-jre installed, Synaptic came back with a list of dependencies that need to be installed. They include: gnome-mime-data, libgnome2-0, libgnomevfs2-0.

Since I don't use gnome, (I use xfce and lightdm) I was surprised. Why does openjdk-7-jre require all this gnome stuff, which openjdk-6-jre does not?
Old 09-20-2012, 07:51 AM   #2
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
This is exactly why I installed Oracle Java. At one point a couple months ago it wanted to install a ton of Gnome packages. Although it appears to be fixed on sid.

$ apt-get install openjdk-7-jre -s
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  openjdk-7-jre-headless openjdk-7-jre-lib
Suggested packages:
  icedtea-7-plugin libnss-mdns sun-java6-fonts fonts-ipafont-gothic fonts-ipafont-mincho ttf-wqy-microhei ttf-wqy-zenhei
Recommended packages:
  libgnome2-0 libgnomevfs2-0 icedtea-7-jre-cacao icedtea-7-jre-jamvm
The following NEW packages will be installed:
  openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib
0 upgraded, 3 newly installed, 0 to remove and 16 not upgraded.
Try doing:
apt-get --no-install-recommends install openjdk-7-jre


gnome, openjdk

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: Ubuntu 12.10 Will Have OpenJDK 7 LXer Syndicated Linux News 0 06-09-2012 06:02 AM
OpenJDK 7 Install VisionIncision Slackware 19 04-26-2012 12:19 AM
LXer: SAP joins OpenJDK LXer Syndicated Linux News 0 07-15-2011 04:50 PM
About openjdk-6-jdk satimis Programming 3 05-03-2010 06:07 PM
Installing OpenJDK MTK358 Linux - Software 2 11-18-2009 08:35 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:23 AM.

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