[fedora-java] java, eclipse and icedtea on fedora/redhat

Mario Torre neugens at limasoftware.net
Tue Jan 22 15:10:59 UTC 2008


Il giorno mar, 22/01/2008 alle 15.38 +0100, Farkas Levente ha scritto:
> hi,
> we start to do java development on fedora, but we've got a lots of
> problems.
> - first start with java compiler and vm. which one to use? we ca use
> gcj/ecj or java/javac from icedtea. we'd like to use the first one but
> it seems it's not enough most of the time:-(
> - which eclipse to use? currently native compiled 3.3 eclipse included
> in f8, but it has many problems. first of all it's too new. most of the
> other eclipse plugins works only with 3.2 (vep, birt, swt-designer). the
> other problem many plugins which not included in the fedora distro is
> not compatible with the native compiled eclipse or the gcj is not enough
> for them (ie. not run). like jna can't compile and run with gcj/ecj.
> - the other problem in fedora's eclipse i can't set to use icedtea as
> jre ie. even if it's installed it's not among the possible javac/java in
> the project possible runtime enviroment (eclipse can't find icedtea).
> 
> we don't like to diverge far from the original fedora distro on the
> other hand we'd like to use a few not packaged tools, libs plugins:-(

I had that problem with the j2ee plugins, I've solved using netbeans win
sun java :D (and we even had no icedtea then)

But seriously, you could install a different copy of the eclipse ide if
it is what you need, as well as the jdk. I think that the latest icedtea
are quite complete to run almost any java program. In all these cases,
it's as easy as a

* yum update --enablerepo=development icedtea*
or
* download jdk6u4 rpm and the jpackage java-1.6.0-sun-compat and rpm
-Uvh them
or
* tar xvfj the eclipse bundle you need into /opt

But it has the added value that it's easier to setup the server side of
things, the various classpath, etc... compare it with a windows
environment, that is such an hostile platform for development...

Also, consider submitting bug reports for your specific problems.

> so my question what's the plan for f9? it's use icedtea or continue to
> use two parallel vm/compiler etc? eclipse will be still natively compiled?

You can choose what is the system default with the Java Toolset
application (or using the alternatives system). I'm using the system
defaults mainly, but using the command line tool it's just a matter of
firing:

/usr/sbin/alternatives --config javac
/usr/sbin/alternatives --config java

Hope this help,
Mario
-- 
Lima Software - http://www.limasoftware.net/
GNU Classpath Developer - http://www.classpath.org/
Fedora Ambassador - http://fedoraproject.org/wiki/MarioTorre
Jabber: neugens at jabber.org
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

Please, support open standards:
http://opendocumentfellowship.org/petition/
http://www.nosoftwarepatents.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa ? una parte del messaggio	firmata digitalmente
URL: <http://listman.redhat.com/archives/fedora-devel-java-list/attachments/20080122/1b0242d5/attachment.sig>


More information about the fedora-devel-java-list mailing list