tcl.lang

24 views
Skip to first unread message

Julie H

unread,
Dec 4, 2009, 12:54:43 AM12/4/09
to J-Sim Users
Hi-

Has anyone run into an error like this or know how to fix it?:

C:\Program Files\j-sim\jsim-1.3> java drcl.ruv.System
a2_1sp4conCOMMENTS.tcl
TCL0> Exception in thread "0" java.lang.NoSuchMethodError:
tcl.lang.Hook.getScriptFile(Ltcl/lang/Interp;)Ljava/lang/String;
at drcl.ruv.ShellTcl.evalFile(Unknown Source)
at drcl.ruv.Shell.process(Unknown Source)
at drcl.comp.TaskReceive.execute(Unknown Source)
at drcl.comp.AWorkerThread.run(Unknown Source)
exit

I found the same error on another list that never got an answer:
http://marc.info/?l=j-sim-users&m=121293709021294&w=2

I tried installing from both the binary download and by making from
the source code. Comparing the two, it seems that a lot of files are
missing in the tcl/lang folder.

Thanks,
Julie

jumbler

unread,
Dec 6, 2009, 8:52:58 PM12/6/09
to J-Sim Users
Hi:
did you make patches on jsim-1.3 ? ( http://sites.google.com/site/jsimofficial/start-with-j-sim
)
If not yet , please check http://sites.google.com/site/jsimofficial/patches

regards

Julie Hsieh

unread,
Dec 6, 2009, 11:36:53 PM12/6/09
to j-sim...@googlegroups.com
Yes, I downloaded the patch files, extracted them to directories, and
recompiled.
> --
>
> You received this message because you are subscribed to the Google Groups "J-Sim Users" group.
> To post to this group, send email to j-sim...@googlegroups.com.
> To unsubscribe from this group, send email to j-sim-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/j-sim-users?hl=en.
>
>
>

jumbler

unread,
Dec 8, 2009, 12:40:56 AM12/8/09
to J-Sim Users
hi:
Did you add the full path of tcl.zip and jython.jar files in the
CLASSPATH environment variable ?
Those files are put on jsim-1.3\jars\ directory

ps. Could you post on your tcl script ?

On Dec 7, 12:36 pm, Julie Hsieh <jaykays...@gmail.com> wrote:
> Yes, I downloaded the patch files, extracted them to directories, and
> recompiled.
>
> On Sun, Dec 6, 2009 at 5:52 PM, jumbler <jumbler....@gmail.com> wrote:
> > Hi:
> >  did you make patches on jsim-1.3 ?  (  http://sites.google.com/site/jsimofficial/start-with-j-sim
> > )
> >  If not yet , please checkhttp://sites.google.com/site/jsimofficial/patches

Julie Hsieh

unread,
Dec 9, 2009, 1:52:07 AM12/9/09
to j-sim...@googlegroups.com
Haha... I figured it out. There were multiple copies of tcl.lang.Hook,
in tcl.zip and in jsim-1.3\classes, and I listed those locations in a
bad order in CLASSPATH! Should have listed the classes directory
first. Cheers.
Reply all
Reply to author
Forward
0 new messages