Notice: Undefined variable: name in /srv/http/vhosts/ on line 248

Package Details: gcc-gcj 6.3.1-2

Git Clone URL: (read-only)
Package Base: gcc-gcj
Description: The GNU Compiler for Java
Upstream URL:
Licenses: GPL, LGPL
Submitter: Allan
Maintainer: valandil
Last Packager: valandil
Votes: 243
Popularity: 3.271133
First Submitted: 2009-05-08 17:48
Last Updated: 2017-01-14 15:55

Pinned Comments

valandil commented on 2016-05-11 14:02

This package, gcc-gcj, is a subset of the GNU Compiler Collection, specifically the Java compiler part. In Arch Linux, it is mostly used to compile pdftk, a very nifty command-line PDF tool.

When reporting any build issue, please provide your current version of gcc and any error message.

It is *very* long to compile and takes up a lot of disk space while doing so. Do not use AUR helpers to compile this thing, you'll probably end up filling your /tmp partition and crash the compilation process. Download the PKGBUILD (either with yaourt -G gcc-gcj, with the helper of your choice or even manually) and run makepkg.

If you do not want to compile this and only need it for pdftk, consider using pdftk-bin. As its name indicates, it is a precompiled version of pdftk and depends only on libgcj, also precompiled.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 ... Next › Last »

valandil commented on 2016-04-11 19:16

Hmm, I'm not sure what's happening. Are you on a 32-bit system?

EDIT: What's weird is that I can't find this function `int recog_136` in my own gcc-5.3.0/ source tree.

rabarrett commented on 2016-04-11 18:44

When I just download the snapshot and compile with makepkg -sri, I get this error:

valandil commented on 2016-04-11 14:59

I cannot replicate these. Try downloading the package (either through the snapshot or with yaourt -G) and compile with makepkg. If that doesn't work, post the errors you get then.

rabarrett commented on 2016-04-10 21:52

I seem to be getting a different error than others. I first tried to install it with pacaur which gave me an "internal compiler error: Segmentation fault."

pacaur error details pasted here:

Then I tried to install it with packer, which gave me these errors:

cfr42 commented on 2016-04-06 21:59

Great! Thank you. And thanks for sorting all this out so efficiently.

valandil commented on 2016-04-06 20:37


cfr42 commented on 2016-04-06 20:36

Is it safe to ignore the update to 5.3.0-7? I mean: I don't wish to rebuild this particular package unless there's a need to!

valandil commented on 2016-04-06 13:59

Well that was fast. Next time I'll wait a little longer before updating the package.

Hey at least the pgkrel is fixed now ;)

bidulock commented on 2016-04-06 13:56

FS#48813 has been fixed and classpath 0.99-3 works again now.
I will request deletion of classpath-notools.

cfr42 commented on 2016-04-06 13:15

Is there a missing dependency in classpath-notools? I get a compilation error complaining no suitable java compiler is found. Note that I uninstalled gcc-gcj in order to complete the system upgrade. I installed dependencies to satisfy classpath-notools. But I get

checking for gcj... no
configure: error: no acceptable Java compiler found in $PATH
==> ERROR: A failure occurred in build().

So now it seems that classpath-notools can't be built unless gcc-gcj is already built and installed. But gcc-gcj can't be installed (or built?) unless classpath-notools is installed and built first.

Presumably not an issue if you didn't uninstall in order to upgrade the system, but that's not a workable generic solution.