[tcljava-user] Running JACL from java ext dynamic class loading directory?
Brought to you by:
mdejong
From: <pat...@hs...> - 2007-01-04 21:28:58
|
I downloaded the JACL 1.4 binaries then extracted and copied the jar files to the Java runtime dynamic class loading ext directory "C:\Program Files\Java\j2re1.4.2_06\lib\ext". Should I run JACL this way or stick to calling jacl from the bat scripts? Start an interactive shell.............................. C:\java tcl.lang.Shell % clock format [ clock seconds] Wed Jan 03 09:39:38 GMT 2007 % package require java 1.4.0 % puts [ java::call System getProperty user.dir ] C:\Program Files\Java\j2re1.4.2_06\bin % java::import java.net.InetAddress % puts "My IP Address is: [ [ java::call InetAddress getLocalHost ] getHostAddress ] " My IP Address is: 123.45.67.89 Run a script................................... C:\java tcl.lang.Shell quickTest.tcl Wed Jan 03 10:43:06 GMT 2007 C:\Program Files\Java\j2re1.4.2_06\bin My IP Address is: 123.45.67.89 Regards. Patrick Finnegan. ************************************************************ HSBC Bank plc Registered Office: 8 Canada Square, London E14 5HQ Registered in England - Number 14259 Authorised and regulated by the Financial Services Authority ************************************************************ ----------------------------------------- SAVE PAPER - THINK BEFORE YOU PRINT! This E-mail is confidential. It may also be legally privileged. If you are not the addressee you may not copy, forward, disclose or use any part of it. If you have received this message in error, please delete it and all copies from your system and notify the sender immediately by return E-mail. Internet communications cannot be guaranteed to be timely secure, error or virus-free. The sender does not accept liability for any errors or omissions. |