Re: [tcljava-user] TclBlend - how to debug?
Brought to you by:
mdejong
From: Tom P. <tpo...@ny...> - 2007-06-27 15:07:04
|
On Wed, Jun 27, 2007 at 03:59:45PM +0100, Patrick Finnegan wrote: > I get a Null point exception when I try to instanciate an imported class. > What's the best way to debug Blend? > > Using TclBlend Windows binary. > > C:\TclBlend\bin>jtclsh > > % set derbyLib [ file join $env(DERBYHOME) lib ] > C:/db-derby-10.2.2.0/lib > > % set env(TCL_CLASSPATH) $derbyLib > C:/db-derby-10.2.2.0/lib You probably need to specifiy each jar file, not just the directory. e.g. set derbyLib {C:/db-derby-10.2.2.0/lib/derby.jar C:/db-derby-10.2.2.0/lib/derbyclient.jar ....etc...} > The script works when started from a bat file with the jars are added to the > system classpath . > > > ::set CLASSPATH=%CLASSPATH%;C:\db-derby-10.2.2.0\lib\derby.jar > ::set CLASSPATH=%CLASSPATH%;C:\db-derby-10.2.2.0\lib\derbyclient.jar > ::set CLASSPATH=%CLASSPATH%;C:\db-derby-10.2.2.0\lib\derbynet.jar > ::set CLASSPATH=%CLASSPATH%;C:\db-derby-10.2.2.0\lib\derbytools.jar > > C:\TclBlend\bin\jtclsh.exe C:\startNetworkServer.tcl -- Tom Poindexter tpo...@ny... |