Re: installing ant, no alternatives

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

 



Am Di, den 18.10.2005 schrieb Michael Hennebry um 23:06:

> > > Apparently, despite the lack of error messages,
> > > I didn't get a clean install.
> >
> > So what happened when you did what?
> 
> Apparently things aren't quite as bad as I thought.
> The java and javac placeholders end with execs to GNU commands.
> I just got depressed before I got to the output from GNU.
> That said, things still aren't working.
> 
> nfs/work/s61> ant
> 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/simulator.10072004.61/ant.home=/usr/share/ant)
>    at __libc_start_main (/lib/tls/libc-2.3.3.so)
>    at _Jv_RegisterClasses (/disk2/people/hennebry/work/simulator.10072004.61/ant.home=/usr/share/ant)

You seem still be in state without a different j2re.

> [root@hobbes yum.repos.d]# for f in  *.repo ; do echo ; echo $f; cat $f; done
> 
> fedora-devel.repo
> [development]
> name=Fedora Core $releasever - Development Tree
> #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
> mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-rawhide
> enabled=0
> 
> fedora.repo
> [base]
> name=Fedora Core $releasever - $basearch - Base
> #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
> mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
> enabled=1
> gpgcheck=1
> 
> fedora-updates.repo
> [updates-released]
> name=Fedora Core $releasever - $basearch - Released Updates
> #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
> mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
> enabled=1
> gpgcheck=1
> 
> fedora-updates-testing.repo
> [updates-testing]
> name=Fedora Core $releasever - $basearch - Test Updates
> #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
> mirrorlist=http://fedora.redhat.com/download/mirrors/updates-testing-fc$releasever
> enabled=0
> gpgcheck=1
> 
> jpackage-free.repo
> [jpackage16-fc3-free]
> name=JPackage 1.6 for Fedora Core 3
> baseurl=http://mirrors.dotsrc.org/jpackage/1.6/fedora-3/free/
> enabled=1
> gpgcheck=1
> 
> jpackage-gen-free.repo
> [jpackage16-fc3-gen-free]
> name=JPackage 1.6 for Fedora Core 3
> baseurl=http://mirrors.dotsrc.org/jpackage/1.6/generic/free
> enabled=1
> gpgcheck=1
> 
> livena-stable.repo
> [livna-stable]
> name=Livna Stable
> baseurl=http://rpm.livna.org/fedora/3/i386/RPMS.stable/
> enabled=0
> gpgcheck=1
> [root@hobbes yum.repos.d]#

Looks good.

> Mike   hennebry@xxxxxxxxxxxxxxxxxxxxx

Again: install another j2re - I recommend to use JPackage.org's skeleton
and following Paul's howto - and then switch java using alternatives
command.
At this point I have not to add anything more.

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 23:11:56 up 4:45, 16 users, 1.10, 1.04, 1.00 

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