How to stop apt-get from installing OpenJDK?

jeremy p athomewithagroovebox at gmail.com
Mon Oct 22 21:46:11 UTC 2012


Hey all,

At my job, we all have to use Oracle Java 1.7.  So I went ahead and
uninstalled OpenJDK and manually installed Oracle Java 1.7.  Everything
works great -- the only problem is that apt-get keeps wanting to install
OpenJDK 1.6.  For example, when I tried to use apt-get to install
apache-ant and apache-maven, both times it wanted to uninstall a bunch of
my Java libs and install OpenJDK 1.6.  How can I stop apt-get from doing
this?

Thank you!

--Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20121022/0a83a6bf/attachment.html>


More information about the ubuntu-users mailing list