Re: installing ant, java won't run

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mo, den 17.10.2005 schrieb Michael Hennebry um 21:13:
> On Mon, 17 Oct 2005, Michael Hennebry wrote:
> 
> > libgcj-java-placeholder.sh
> >
> > This script is a placeholder for the /usr/bin/java
> > master link required by jpackage.org conventions.  libgcj's
> > rmiregistry, rmic and jar tools are now slave symlinks to these
> > masters, and are managed by the alternatives(8) system.
> >
> > This change was necessary because the rmiregistry, rmic and jar tools
> > installed by previous versions of libgcj conflicted with symlinks
> > installed by jpackage.org JVM packages.
> > Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.tools.ant.launch.Launcher
> >    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
> >    at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
> >    at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
> >    at __gcj_personality_v0 (/disk2/people/hennebry/work/silk/ant.home=/usr/share/ant)
> >    at __libc_start_main (/lib/tls/libc-2.3.3.so)
> >    at _Jv_RegisterClasses (/disk2/people/hennebry/work/silk/ant.home=/usr/share/ant)
> 
> I get that same result trying to run java directly.
> If I uninstall ant will java run again?
> 
> > Arrrg.
> > Now what do I do?

> Mike   hennebry@xxxxxxxxxxxxxxxxxxxxx

Follow the excellent howto

http://fedoranews.org/mediawiki/index.php/JPackage_Java_for_FC4

to install Java. Though written for FC4 it should work too on your FC3.
It too explains how to use alternatives to switch between different Java
machines installed in parallel.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 21:43:28 up 18 days, 6:39, load average: 0.23, 0.22, 0.18 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux