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: Derek Messie
Subject: Re: [Swarm-Support] missing simtoolsgui classes RH 9.0
Date: Fri, 05 Mar 2004 16:51:04 -0500

ok, looks like problem still has something to do with tk/tcl packages.
I ended up reinstalling the following rpm's :

tcl-8.3.5-i386.rpm
tk-8.3.5-i386.rpm
blt-2.4u-7.i386.rpm (from Paul's RH 9.0 page)
swarm-2.1.147.200030812-2RH9.0.i386.rpm (from Paul's RH9.0 page)
swarm-jdk-2.1.147.20030812-2RH9.0.i386.rpm (from Paul's RH9.0 page)

The rest of the recommended rpm's are also already installed.    Compile using "javacswarm *.java" works fine now.  Problem is that I am still receiving following error when trying to run "javaswarm StartHeatbugs" :

""""""""""""""""""""""""""""""""""""""""
error: TkExtra (instance)

/usr/bin/javaswarm: line 1: 12077 Aborted
"""""""""""""""""""""""""""""""""""""""""

I see this error referenced all over the support pages and I have tried many of the suggested solutions that I thought made sense, including: 

1)  made sure DISPLAY, TCL_LIBRARY, TK_LIBRARY, BLT_LIBRARY, etc. were all set properly.


My guess is that is still has something to do with tcl/tk paths.  Since I am using binaries for everything, is it possible that BLT is expecting different versions and/or locations of tcl and/or tk ???  Tcl and Tk are the only rpm's that Paul does not supply on the RH9.0 page.  Can I perhaps set up a link or something from the tk/tcl directory that blt is checking to the /usr/lib/tk8.3 and /usr/lib/tcl8.3 directories where tk and tcl sit ???


Any and all help on this is Greatly appreciated ...

-derek







At 09:14 PM 3/4/2004 -0600, Paul Johnson wrote:
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


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

Derek Messie
Digital Library Programmer
Cornell University
address@hidden
(607) 254-6461
fax: (607) 254-5419


reply via email to

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