> -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".
r Wes Munsil [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, June 28, 2000 12:16 AM
> > To: Jiang Wu
> > Cc: [EMAIL PROTECTED]
> > Subject: [Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?
> >
> >
> > Am I missing something? I do not see this behavior in
error you encountered?
-- Jiang Wu
[EMAIL PROTECTED]
> -Original Message-
> From: Dr Wes Munsil [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 28, 2000 12:16 AM
> To: Jiang Wu
> Cc: [EMAIL PROTECTED]
> Subject: [Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?
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
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: invalid command name "java0x1"
Error in bgerror: invalid co
> -Original Message-
> From: Mo DeJong [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 23, 2000 3:15 PM
> To: Jiang Wu
> Cc: [EMAIL PROTECTED]
> Subject: Re: [Tcl Java] A Tcl or TclBlend problem?
>
> You mentioned that doing an after with a list object solved
> the problem,
> but here yo
...
> I am encountering this problem right now in a different form. I am
> constructing an asynchronous callback function inside Java using a TclList
> object, {command_name java_obj_1 java_obj_2}. The list contains some Java
> objects, which are the arguments to the callback function. However
11 matches
Mail list logo