Remove Linux Java GCJ package

The Linux Java GCJ package can report conflicts with Java and JRuby like this:
  Fatal: GCJ (GNU Compiler for Java) is not supported by JRuby.
To find which GCJ packages are installed:
  $ dpkg --get-selections | grep "^gcj-"
To remove the GCJ packages on my system:
  $ apt-get remove gcj-4.4-base gcj-4.4-jre gcj-4.4-jre-headless gcj-4.4-jre-lib
There are also some libgcj packages which may be automatically removed.

This removal saved me about 50 megs.

What's Next?

blog comments powered by Disqus