I am at an impasse in deciding if it is worth taking the time
to get a Java development environment setup on FC5 for the
simple reason that FC5 recommends using their NATIVE ports
instead of using the "normal" download apps such as Sun's software,
Eclipse's software and so on. The confusion lies in not knowing
what course of action to take coupled with the FC5 caveat that
by not using the FC native ports and properly installing Java
applications may break your work on Java. This caveat alone
stops me from considering FC5 as a serious contender for a Java
On top of all of this, FC5's Java porting time-line plans states
that there are some serious work needed to get it all working right
(Swing/AWT, others?) so it seems to me that FC5 is just not ready
for a serious Java programming development environment and who
knows when and if it will be ready?
Can anyone give me some pointers on how to get a serious
Java development environment setup going? I want to have
full flexibility to download and install Eclipse tools and
applications without being unencumbered with Fedora's port
version preventing such operations, for example if I need
to get RCP, WSP, Swing, AWT, and the zillions of other things
that are rapidly being released by the Eclipse community.
BTW: I have already visited the Fedora Java Wiki site
(http://www.jpackage.org/) but it is not "HOW TO" setup your Java
So... how can I proceed?
I am trying to get a Java development environment setup and
I was directed to follow the FC4 jpackage instructions but
for FC5 and apparently the first thing required was to install
fedora-rpmdevtools from the extras repository but this file
is nowhere to be found!
All I got for the list is:
fedora-buildrpmtree Create RPM build tree within user's home
fedora-installdevkeys Install GPG keys in alternate RPM keyring
fedora-kmodhelper Helper script for building kernel module RPMs
fedora-md5 Display the md5sum of all files in an RPM
fedora-newrpmspec Creates new .spec from template
fedora-rmdevelrpms Find (and optionally remove) "development" RPMs
fedora-rpmchecksig Check package signatures using alternate RPM
fedora-rpminfo Prints information about executables and
fedora-rpmvercmp RPM version comparison checker
fedora-extract Extract various archives, "tar xvf" style
fedora-diffarchive Diff contents of two archives
fedora-wipebuildtree Erase all files within dirs created by
spectool Expand and download sources and patches in
So - where is it... or is this step omitted for FC5 now?
You could start by better informing yourself. For example, Swing and AWT, for example, are *not*
relased by the Eclipse Community. And FC5 includes "alternative" Java tools because Sun tools are
not free software and so are not compatible with the Fedora Project goals. Althoug Sun Java is
freeware (gratis) the license termos prevent any Linux distro to include it. The only exception are
"enteprise" distributions like RHEL and SuSE, where the user has a support contract this allows the
vendor do redistribute Sun Java integrated to their package management systems.
In my experience, FC4 and FC5 Java development enviroment are worth the effort, but requires a level
of knowledge about Java and Linux which may not suit each and every project or developer. The simply
fact they run Eclipse itself, Tomcat and Struts show the enviroment should be good enough for
Swing and AWT are the only pieces that are not ready for genenal use so if you need to use or
develop Swing and AWT appos (like Netbeans) you'll need to install another JDK. But if you need to
to GUI development you can use SWT and JavaGnome which are included on FC5 (of course you could also
use those with Sun Java).
Nothing prevents you from using Sun Java and downloading stuff directly from the Eclipse Foundation,
Apache Jakarta Project and others. You do not need to use only Sun or FC5 Java, you can have both
and use each one for different projects. But you may get some surprises if you don't know how to
properly configure your environment because you'll have two JVMs and more Java compilers and
standard API implementations. It's simply a matter of changing your PATH and CLASSPATH acording to
what you wll use.
Some developers (me included) prefer to use JPackage to deal with multiple JDKs and manage
dependencies between Java packages. By the way FC5 packages are based and compatible with JPackage.
But using JPackage with Sun Java requires you to first repackage the JDK because Sun downloads are
not compliant with standard Linux packaging (the Filesystem Hierarchy Standard) and the licensing
terms won't alow anyone to redistribute a fixed packaging. Again, if you do have a support contrat
from Red Hat or SuSE you may get compliant packages from them.
Actually, FC5 Java packages provide both native ports (created uding ECJ from Eclipse and GCJ from
GCC) and standard class files inside JARs, so you don't need to download again whatever is already
provided by FC5. Using native code is an option you do get with GCJ but not from Sun Java. You could
just download another JDK (such as Sun's) and use it alongside FC5 packages if you need something
that won't with the FC5 Java-tools.
For example, you can use Sun Java to run FC5 Eclipse if you need some plugin that won't work with
GCH (the default Java for FC5).
s, Fernando Lozano
> I am at an impasse in deciding if it is worth taking the time
> to get a Java development environment setup on FC5 for the
> simple reason that FC5 recommends using their NATIVE ports
> instead of using the "normal" download apps such as Sun's software,
> Eclipse's software and so on. The confusion lies in not knowing
> what course of action to take coupled with the FC5 caveat that
> by not using the FC native ports and properly installing Java
> applications may break your work on Java. This caveat alone
> stops me from considering FC5 as a serious contender for a Java
> development platform.
> On top of all of this, FC5's Java porting time-line plans states
> that there are some serious work needed to get it all working right
> (Swing/AWT, others?) so it seems to me that FC5 is just not ready
> for a serious Java programming development environment and who
> knows when and if it will be ready?
> Can anyone give me some pointers on how to get a serious
> Java development environment setup going? I want to have
> full flexibility to download and install Eclipse tools and
> applications without being unencumbered with Fedora's port
> version preventing such operations, for example if I need
> to get RCP, WSP, Swing, AWT, and the zillions of other things
> that are rapidly being released by the Eclipse community.
> BTW: I have already visited the Fedora Java Wiki site
> (http://www.fedoraproject.org/wiki/JavaFAQ) and
> (http://www.jpackage.org/) but it is not "HOW TO" setup your Java
> development environment.
> So... how can I proceed?
> Totally confused,
> fedora-devel-java-list mailing list
I'm trying to get Open For Business (http://ofbiz.org/) working with MySQL
on FC2 and had updated MySQL somewhere along the way so that the old
mysql-jdbc no longer knows how to talk to it. I figured I'd go grab the
latest equivalent from Rawhide but I don't see a newer version of the SRPM
there. (It should be mysql-jdbc-*.src.rpm if it matches the packaging in
FC2.) Did this connector get dropped from Fedora or is it now tucked inside
another package? (I also checked Extras' development directory.)