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

Andrew Haley aph at redhat.com
Thu Jan 24 10:31:08 UTC 2008


Farkas Levente wrote:
> 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).

It works for me.  I have no problem at all running the Eclipse shipped with F8
with IcedTea, and I don't know why you have one.  Many people are
using F8 Eclipse with IcedTea.

So, I don't know what your problem is.  When you flip the default java with

/sbin/alternatives --config java

does Eclipse not work for you with 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:-(
> 
> unfortunately it seems we've to switch all java development to windows,
> because the current development environment setup takes much more effort
> and time than it's worth to spend with it and just new and new problem
> arises.
> 
> 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?

I've appended part of my Eclipse config.

Andrew.


*** Date: Thursday, January 24, 2008 10:17:15 AM United Kingdom

*** Platform Details:

*** System properties:
eclipse.buildId=I20070625-1500
eclipse.commands=-os
linux
-ws
gtk
-arch
x86
-showsplash
-launcher
/usr/lib/eclipse/eclipse
-name
Eclipse
--launcher.library
/usr/lib/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v20070606/eclipse_1017a.so
-startup
/usr/share/eclipse/startup.jar
-vm
/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre/bin/../lib/i386/client/libjvm.so
eclipse.ee.install.verify=false
eclipse.product=org.fedoraproject.ide.platform.product
eclipse.startTime=1201169789934
eclipse.vm=/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre/bin/../lib/i386/client/libjvm.so
eclipse.vmargs=-Dosgi.sharedConfiguration.area=/usr/lib/eclipse/configuration
-Djava.class.path=/usr/share/eclipse/startup.jar
eof=eof
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path=/usr/share/eclipse/startup.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre/lib/i386/client::/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre/lib/i386::/usr/lib/firefox-2.0.0.10:/usr/lib/firefox-2.0.0.10:/usr/java/packages/lib/i386:/lib:/usr/lib
java.runtime.name=IcedTea Runtime Environment
java.runtime.version=1.7.0-b21
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.7
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.7.0
java.vm.info=mixed mode
java.vm.name=IcedTea Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=1.7.0-b21
javax.net.ssl.trustStore=/etc/pki/tls/certs/ca-bundle.crt
javax.net.ssl.trustStorePassword=
javax.net.ssl.trustStoreProvider=
javax.net.ssl.trustStoreType=CertBundle
line.separator=




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