You could start by better informing yourself. For example, Swing and AWT, for example, are
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
freeware (gratis) the license termos prevent any Linux distro to include it. The only
"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.
fact they run Eclipse itself, Tomcat and Struts show the enviroment should be good enough
Swing and AWT are the only pieces that are not ready for genenal use so if you need to use
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
use those with Sun Java).
Nothing prevents you from using Sun Java and downloading stuff directly from the Eclipse
Apache Jakarta Project and others. You do not need to use only Sun or FC5 Java, you can
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
standard API implementations. It's simply a matter of changing your PATH and CLASSPATH
what you wll use.
Some developers (me included) prefer to use JPackage to deal with multiple JDKs and
dependencies between Java packages. By the way FC5 packages are based and compatible with
But using JPackage with Sun Java requires you to first repackage the JDK because Sun
not compliant with standard Linux packaging (the Filesystem Hierarchy Standard) and the
terms won't alow anyone to redistribute a fixed packaging. Again, if you do have a
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
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.
just download another JDK (such as Sun's) and use it alongside FC5 packages if you
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
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
) but it is not "HOW TO" setup your Java
So... how can I proceed?
fedora-devel-java-list mailing list