> -Original Message-
> From: Mo DeJong [mailto:[EMAIL PROTECTED]]
>
> So add it. Would something like this work? I am not sure where
> you would get the executable name, perhaps you can just use "java".
Well that is the problem. The executable is "java", which does not help
because you
On Thu, 29 Jun 2000, Jiang Wu wrote:
>
> > -Original Message-
> > From: Mo DeJong [mailto:[EMAIL PROTECTED]]
> >
> > You are using Tcl blend and Tcl loaded into a JVM right? I get the
> > feeling Tcl does not know how to find its startup scripts. What
> > happens when you do a "package
> -Original Message-
> From: Mo DeJong [mailto:[EMAIL PROTECTED]]
>
> You are using Tcl blend and Tcl loaded into a JVM right? I get the
> feeling Tcl does not know how to find its startup scripts. What
> happens when you do a "package require java"? This is strange
I have to set the TC
> > Care to submit some docs patches? We could also use some "Tcl/Java
> > in action" examples. Nice little examples that do something
> > cool and show how to use the java::* commands would really
> > be great. Would anyone be able to help with that?
>
> Well, I won't be the right person to writ
> -Original Message-
> From: Dr Wes Munsil [mailto:[EMAIL PROTECTED]]
>
> Yes, but if you read on you will see that I also tried your proposed
> workaround, and it gave the same error.
But the script does work under Tcl 8.3.1. I need to point out that my 2nd
script is NOT a "workaround".
Yes, but if you read on you will see that I also tried your proposed
workaround, and it gave the same error.
Jiang Wu wrote:
> Your log says:
>
> > % fern
> > bgerror failed to handle background error.
> > Original error: invalid command name "java0x1"
> ^^^
Your log says:
> % fern
> bgerror failed to handle background error.
> Original error: invalid command name "java0x1"
^^
> Error in bgerror: invalid command name "bgerror"
Is that not the same error you encountered?
-- Jiang Wu
On Wed, 28 Jun 2000, Dr Wes Munsil wrote:
> Am I missing something? I do not see this behavior in the 8.2.3 Tcl shell:
>
> % proc fern {} {
> set x [java::new String foo]
> after 1 "$x toString"
> unset x
> update
> }
> % fern
> bgerror failed to handle background error.
> Original error