[Tcl Java] RE: [Tcl Java] RE: [Tcl Java] First time loading class from a jar file

2000-03-15 Thread Vince Darley
Title: RE: [Tcl Java] RE: [Tcl Java] First time loading class from a jar file Make sure you don't have any extraneous .zip or .jar files lying around your classpath or tclclasspath with the same name as the package and/or class you are trying to load.  I was once bitten by a problem wh

[Tcl Java] RE: [Tcl Java] First time loading class from a jar file

2000-03-15 Thread Mo DeJong
On Wed, 15 Mar 2000, Roy Terry wrote: > Mo, > > My jar file looks like the tcl/lang sample > below except that it has a manifest included. Ok, back up and start over. First, extract the classes from the jar file into an empty directory. Then, add that directory to your env(TCL_CLASSPATH). Make

[Tcl Java] Re: [Tcl Java] First time loading class from a jar file

2000-03-14 Thread Mo DeJong
Hi Roy. There are two likely causes. First, the .jar file must be created with the "proper" directory structure. For instance, the jacl.jar file looks like this. % jar -tf jacl.jar tcl/lang/AfterCmd.class tcl/lang/AppendCmd.class It looks like you might just be using the java::new command incor