This is the mail archive of the
mailing list for the Java project.
Re: Freenet compilation errors.
>>>>> "Mark" == Mark J Roberts <email@example.com> writes:
Mark> However, when I attempted to build Fred (the Freenet Project
Mark> Reference Implementation) I encountered a few repetitive
Mark> errors. I've attached the build log for your perusal.
It's easier for us if you submit separate bug reports for each sort of
In this case I don't know what causes the "bad constant type" errors.
I also can't explain the errors in FileData.java or
FileDataProperties.java. Maybe those are gcj bugs.
This error is caused because we don't implement GridBagLayout:
../node/gui/SettingsPanel.java: In class `Freenet.node.gui.SettingsPanel':
../node/gui/SettingsPanel.java: In method `addComponents()':
../node/gui/SettingsPanel.java:32: Class `GridBagLayout' not found in type declaration.
Our AWT implementation is still quite incomplete. If your application
requires AWT then it won't yet work with gcj. The TextArea error in
your build log also comes from this.
Here's another one I can explain:
../contrib/fproxy/mumail/mime/MIME.java:2: unrecognized character in input stream.
* Copyright (C) 1998 Mark Tümpfel and Uli Luckas
Your source files are probably encoded using Latin-1. If that's the
case you have to explicitly tell gcj when compiling:
gcj --encoding=8859_1 ...
On a Linux box you can use "iconv --list" to see the names of all the
If you're on Linux chances are that you're seeing this because you're
using the C locale, which uses ASCII and not Latin-1.