[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] Swarm not work
From: |
Li An |
Subject: |
Re: [Swarm-Support] Swarm not work |
Date: |
Fri, 21 Jan 2005 16:08:29 -0500 |
It worked. Thanks, Paul, and all who helped. I used a previous code of
my own that had the wrong path in the Makefile. The correct path should
be
$(SWARMHOME)/usr/bin/javacswarm $(JAVA_SRC)
Also, the following is a list of all the rpms (you can find from Paul's
web and/or through a Google search) that I used for a java-swarm
installation in Fedora Core 3:
blt-2.4z-1fc2.i386.rpm swarm-2.2-rc1_fc3.i386.rpm
gcc-objc-3.4.2-6.fc3.i386.rpm swarm-jdk-2.2-rc1_fc3.i386.rpm
hdf5-1.6.2-1fc2.i386.rpm tcl-8.4.9-1_2.rhfc3.at.i386.rpm
jdk-1_5_0-linux-i586.rpm tk-devel-8.4.7-2.i386.rpm
libobjc-3.4.2-6.fc3.i386.rpm
And I believe it is a good idea to keep them (maybe FC3 as well)
somewhere else (like in a CD)--when there is a problem, reinstall them
all unless you want to catch up with the frequent software upgrades of
Sun java.
Cheers,
Li
On Fri, 2005-01-21 at 09:59 -0600, Paul Johnson wrote:
> # which javacswarm
>
> will show you which javacswarm your system is finding.
>
> I'm ready to guarantee that is not the one from my rpm, because the one
> from the rpm has this at the top:
> -----------------------------------------------
> #!/bin/sh
>
> swarm_prefix="/usr"
> _JAVACLASSES='/usr/java/jdk1.5.0/jre/lib/rt.jar'
> -------------------------------------------------
>
> Note there is no kaffe in there. Is it possible that in the past you
> made a copy of javacswarm and put it in your $HOME/bin directory?
>
> Now, you can try to edit that file and fix it by putting in the right path
>
> # emacs `which javacswarm`
>
> will edit that file.
>
> But I don't think you need to. And I don't know how to, because I have
> not done it.
>
> I would say you must find out where your bogus javacswarm comes from,
> move it out of the way.
>
> pj
>
> Li An wrote:
> > I have successfully installed jdk-1_5_0-linux-i586.rpm. Still have the
> > same problem. Below are my replies.
> >
> >
> >>So maybe you have a different javacswarm?
> >
> > --I do not know.
> >
> >
> >>You have one left over from
> >>Swarm-2.1, for example??
> >
> > --not likely. The old linux partition was reformatted and old things
> > were gone.
> >
> >
> >>Look in the javacswarm file you refer to where
> >>it is trying to use the kaffe javac command. I don't know why it is
> >>doing that. change that path to point at your jdk version from Sun.
> >
> > --How to change the path?
> >
>
>