swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] missing simtoolsgui classes RH 9.0


From: Paul Johnson
Subject: Re: [Swarm-Support] missing simtoolsgui classes RH 9.0
Date: Thu, 04 Mar 2004 21:14:13 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031202

Hard to believe the objc apps do this too. That seems to indicate Swarm itself is not installed properly.

I'd use the

rpm -V swarm

or check against the swarm.rpm with -Vp to make sure it is installed correctly.

Or reinstall that rpm completely, then untar a fresh copy of the newest swarmapps you can get and try

make

If you still get that error, I'd like to see the output of make and a gdb backtrace.


Now, on the java side, I think your message here exposes that you are not using Swarm with Java as intended. That's probably why you had that class path problem. I'm looking here:


http://www.ku.edu/~pauljohn/SwarmFaq/SwarmOnlineFaq.html#6.4

where it says to build the program do

javacswarm *.java

and to run the compiled program youdo

javaswarm StartHeatbugs

These programs set the CLASSPATH for you and will solve that other problem you had before.

It has been a while since I used Java, I'm having trouble remembering if there is a wrinkle depending on which java you have installed. I am totallly sure the swarm-jdk rpm assumes you have a specific edition of the jdk. I hate that feature, but because of the way jdk is packaked, there's no alternative. I don't even have swarm-jdk installed now, but I recall there was some need to diddle the javaswarm script to point at the right j2sdk or such. But it will be obvious. I know on windows there was an alternative script jdkswarm, but I don't think I ever packaged that for Linux.

pj

Derek S Messie wrote:

Hi Alex,
  Thanks for taking time to respond.  I am actually running the rpm from
Paul's page as you suggest below, and problem turned out to be not
having swarm.jar in classpath.

However, now I am receiving the following error when trying to run either
the java or objective c samples.  Any ideas ??? :

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
address@hidden jheatbugs-2.1]# java StartHeatbugs
/home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.147.20030812/src/tclobjc/TkInterp.m:140
-[TkInterp preInitWithArgc:argv:]
Abort
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

Thanks again for any help on this.

-derek


"DM" == Derek S Messie  writes:
DM> Hi, I'm trying to run a few of the sample java apps (in this case
DM> Heatbugs), but when I run :

DM> java StartHeatbugs

DM> I receive the following error:

DM> java.lang.NoClassDefFoundError:swarm/simtoolsgui/GUISwarmImpl

DM> and when I look in the simtoolsgui directory, I see some header
DM> files, but no class files.  Are there supposed to be simtoolsgui
DM> class files ?  At what point are they installed or where can I get
DM> them ???

DM> I am running:

DM> RH 9.0 swarm-2.1.1 jheatbugs-2001-03-28

DM> and I have installed all of the RH9.0 recommended binaries from
DM> Paul Johnsons page.

You should be running the pre-2.2 RPMs for Red Hat 9.0, not Swarm
2.1.1, which is now obsolete:

http://lark.cc.ukans.edu/~pauljohn/Swarm/Swarm-2.2x_RH9.0/

I think the most recent is Swarm 2.1.147.

Alex
_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support


_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support


--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504 University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700




reply via email to

[Prev in Thread] Current Thread [Next in Thread]