tcljava-user Mailing List for Tcl/Java (Page 28)
Brought to you by:
mdejong
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(23) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(12) |
Feb
(10) |
Mar
(16) |
Apr
(10) |
May
(40) |
Jun
(13) |
Jul
(18) |
Aug
(4) |
Sep
(6) |
Oct
(3) |
Nov
|
Dec
(3) |
2002 |
Jan
(15) |
Feb
(19) |
Mar
(1) |
Apr
(11) |
May
(12) |
Jun
(10) |
Jul
(2) |
Aug
(22) |
Sep
|
Oct
(3) |
Nov
(9) |
Dec
(20) |
2003 |
Jan
(32) |
Feb
(5) |
Mar
(26) |
Apr
(30) |
May
(10) |
Jun
(8) |
Jul
(17) |
Aug
(7) |
Sep
(24) |
Oct
(7) |
Nov
(6) |
Dec
|
2004 |
Jan
(5) |
Feb
|
Mar
|
Apr
(7) |
May
(8) |
Jun
(12) |
Jul
(3) |
Aug
(11) |
Sep
(8) |
Oct
(4) |
Nov
(2) |
Dec
(6) |
2005 |
Jan
(8) |
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(19) |
Jul
(8) |
Aug
(22) |
Sep
(12) |
Oct
(35) |
Nov
(12) |
Dec
(4) |
2006 |
Jan
(20) |
Feb
(14) |
Mar
(23) |
Apr
(10) |
May
(11) |
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(4) |
Nov
(17) |
Dec
(10) |
2007 |
Jan
(41) |
Feb
(6) |
Mar
(23) |
Apr
(15) |
May
(34) |
Jun
(5) |
Jul
(18) |
Aug
(13) |
Sep
(8) |
Oct
(9) |
Nov
(7) |
Dec
(2) |
2008 |
Jan
|
Feb
(1) |
Mar
(18) |
Apr
(1) |
May
(1) |
Jun
(10) |
Jul
(3) |
Aug
|
Sep
(10) |
Oct
(3) |
Nov
(13) |
Dec
(3) |
2009 |
Jan
(4) |
Feb
(10) |
Mar
(1) |
Apr
(11) |
May
(3) |
Jun
(7) |
Jul
(4) |
Aug
(9) |
Sep
(16) |
Oct
(3) |
Nov
(5) |
Dec
(2) |
2010 |
Jan
(3) |
Feb
|
Mar
|
Apr
(7) |
May
(1) |
Jun
|
Jul
|
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
2011 |
Jan
(3) |
Feb
|
Mar
(2) |
Apr
(17) |
May
(4) |
Jun
(17) |
Jul
(5) |
Aug
(7) |
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(12) |
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
|
Aug
(3) |
Sep
(2) |
Oct
(6) |
Nov
|
Dec
(2) |
2013 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
(8) |
Jun
(1) |
Jul
|
Aug
(3) |
Sep
|
Oct
(3) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
(1) |
Jun
(3) |
Jul
(3) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2018 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Mo D. <md...@un...> - 2005-06-30 08:47:57
|
On Wed, 8 Jun 2005 03:12:05 -0700 (PDT) Timon Hartung <met...@ya...> wrote: > Hi, > > i have nearly tried everything to get TCLBlend working > on my Win XP machine. Hello Timon I know it is frustrating, but Tcl Blend does work. It is just a matter of getting your PATH env var set correctly. First off, you should be using the 1.3.1 release of Tcl Blend. The release comes will install a script named jtclsh in the $install/bin directory. I would suggest that you use this script as a starting point. It should setup all the env vars you need for you. You run the script from the same msys shell you would use to build Tcl and Tcl Blend. > couldn't load library > "C:/Tcl/msys/local/lib/tcljava1.3.1/tclblend.dll": > this library or a dependent library could not be found > in library path This error shows that one of the dlls that tclblend.dll depends on are not being found on the PATH at runtime. Which one? Windows does not give you any helpful info about which one it might be, you just have to figure that out on your own. The most likely case is that one of the Java dlls is not being found. A lot of times, Java dlls live in multiple directories, so it can be a little tricky getting them all in the PATH. I hope that helps Mo DeJong |
From: Mo D. <md...@un...> - 2005-06-30 08:41:54
|
On Tue, 24 May 2005 08:00:24 +0200 "Maitre, Gilles" <Gil...@ke...> wrote: > Dear tcljava users, > > I downloaded TCL Blend version 1.3.1 from SourceForge.net and have the > feeling (after having read the Readme file from the distribution...) > the project is either so stable that it does no more need any new > release > or it is no more maintained, as there has not been any new release since > 2003. Hello Maitre My name is Mo and I am the project administrator for Jacl and Tcl Blend. It is true that there has not been a new release of Tcl Blend or Jacl for some time, but that does not mean the project is not being maintained. There will be a new release soon, likely by the end of next month. There have only been a couple of Tcl Blend related fixes since 1.3.1 was released, they were not too critical, and they have been available in the CVS head for some time. For the most part, the main problem people run into with Tcl Blend is getting the PATH and CLASSPATH set correctly so that it actually loads. As far as using Tcl Blend in your project, you should feel secure that Tcl Blend is going to be around and will be maintained for a long time to come. The first release was almost 8 years ago, it is quite mature by now. If you need any further assistance, please feel free to post to this list. cheers Mo DeJong |
From: Brian T. <bri...@gm...> - 2005-06-16 15:05:29
|
On 6/16/05, Adrian Tan <ah...@te...> wrote: [..] >=20 > A class would look something like below. The syntax is probably all wrong= , > but I'm sure you get my drift. >=20 > Public class HelloWorldApp { > //constructor below > Public void HellowWorldApp { > // All other codes here. > } > // Other methods below > } >=20 Thanks for the tip. It seems the problem was that my class wasn't declared as public. The following code works: public class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); } } C:\temp>java -classpath c:\temp;jacl.jar;tcljava.jar;swank.jar tcl.lang.Swk= Shell % java::call HelloWorldApp main [java::null] Hello World! % java::new HelloWorldApp java0x2 % |
From: Adrian T. <ah...@te...> - 2005-06-16 14:26:24
|
At first glance, I would say that the HelloWorldApp.java is an = application rather than a class. Someone correct me if I am wrong. I haven't touched Java for 3 years, and I just started to get back into it. A class would look something like below. The syntax is probably all = wrong, but I'm sure you get my drift. Public class HelloWorldApp { //constructor below Public void HellowWorldApp { // All other codes here. } // Other methods below } -----Original Message----- From: tcl...@li... [mailto:tcl...@li...] On Behalf Of Brian = Theado Sent: Thursday, June 16, 2005 7:50 PM To: tcl...@li... Subject: [tcljava-user] Problems instantiating my own class with = java::new Does anyone have a simple example using jacl of instantiating a class you've written using the java::new command? Or do you know what I'm doing wrong below? I'm using precompiled jar files that I downloaded from swank (http://www.onemoonscientific.com/swank/index.html). Contents of c:\temp\HelloWorldApp.java: /**=20 * The HelloWorldApp class implements an application that * simply displays "Hello World!" to the standard output. */ class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); //Display the string. } } Transcript from the command-line: C:\temp>javac HelloWorldApp.java C:\temp>java HelloWorldApp Hello World! C:\temp>java -classpath c:\temp HelloWorldApp Hello World! C:\temp>java -classpath c:\temp;jacl.jar;tcljava.jar;swank.jar tcl.lang.SwkShell % java::new HelloWorldApp Class "HelloWorldApp" is not accessible % java::new BogusClass unknown class "BogusClass" % java::new java.lang.String hello java0x2 % exit I'm trying to figure out why I'm getting the "is not accessible" error above. Anyone see what I'm doing wrong? If it was a classpath issue, then I would expect to get the "unknown class" error. Thanks, Brian Theado ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dick _______________________________________________ tcljava-user mailing list tcl...@li... https://lists.sourceforge.net/lists/listinfo/tcljava-user |
From: Brian T. <bri...@gm...> - 2005-06-16 11:50:08
|
Does anyone have a simple example using jacl of instantiating a class you've written using the java::new command? Or do you know what I'm doing wrong below? I'm using precompiled jar files that I downloaded from swank (http://www.onemoonscientific.com/swank/index.html). Contents of c:\temp\HelloWorldApp.java: /**=20 * The HelloWorldApp class implements an application that * simply displays "Hello World!" to the standard output. */ class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); //Display the string. } } Transcript from the command-line: C:\temp>javac HelloWorldApp.java C:\temp>java HelloWorldApp Hello World! C:\temp>java -classpath c:\temp HelloWorldApp Hello World! C:\temp>java -classpath c:\temp;jacl.jar;tcljava.jar;swank.jar tcl.lang.Swk= Shell % java::new HelloWorldApp Class "HelloWorldApp" is not accessible % java::new BogusClass unknown class "BogusClass" % java::new java.lang.String hello java0x2 % exit I'm trying to figure out why I'm getting the "is not accessible" error above. Anyone see what I'm doing wrong? If it was a classpath issue, then I would expect to get the "unknown class" error. Thanks, Brian Theado |
From: Lee B. <LBe...@dt...> - 2005-06-15 19:08:58
|
I will be out of the office starting 06/15/2005 and will not return until 06/16/2005. I will be in training today (Jun15) from 0900 - 1630. I will respond to your message when I return. For immediate assistance, please contact DIST_SCM, or Jay Scaramazzo at 55-8303. Thank you, Lee |
From: Lee B. <LBe...@dt...> - 2005-06-15 13:08:01
|
I will be out of the office starting 06/15/2005 and will not return until 06/16/2005. I will be in training today (Jun15) from 0900 - 1630. I will respond to your message when I return. For immediate assistance, please contact DIST_SCM, or Jay Scaramazzo at 55-8303. Thank you, Lee |
From: Luca <luc...@al...> - 2005-06-14 21:31:23
|
U=92re lucky enough to have compiled it succesfully. I still can=92t get = it working =3D( =20 =20 _____ =20 Da: tcl...@li... [mailto:tcl...@li...] Per conto di Lee = Benhart Inviato: marted=EC 14 giugno 2005 21.14 A: tcl...@li... Oggetto: [tcljava-user] Are there any active users on this list? =20 I am trying to learn JACL, I am looking for up to date information but = not finding anything.=20 I did have to make some changes when I downloaded and compiled the = recent version, as one of the variables used is now a keyword in jdk1.5.0_03=20 Thank you, Lee Benhart SCM Analyst =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Mokuteki o Motte Hajimeru |
From: Lee B. <LBe...@dt...> - 2005-06-14 19:34:43
|
I am trying to learn JACL, I am looking for up to date information but not finding anything. I did have to make some changes when I downloaded and compiled the recent version, as one of the variables used is now a keyword in jdk1.5.0_03 Thank you, Lee Benhart SCM Analyst ===================================== Mokuteki o Motte Hajimeru |
From: Luca <luc...@al...> - 2005-06-09 21:07:38
|
Hello, i followed http://wiki.tcl.tk/9993 this step-by-step installation. after some retry i could be able to complete point eight. Last step of the script launched the /local/bin/ tclsh84.exe that provoke an error in winxp. Anyway. I wanted to use tclblend with irc eggdrop, so I copied it inside the lib directory of tcl package. If I try to make a script using "package require java" I get this error: [15:34] Tcl error [script]: "XpUtils::iload -d C:/Programmi/Eggdrop/lib/tcljava1.3.1 tclblend" failed: couldn't load library "C:/Programmi/Eggdrop/lib/tcljava1.3.1/tclblend.dll": this library or a dependent library could not be found in library path using depends.exe to find dll dependencies, I found that jvm.dll is not located by system. So I took it from C:\Programmi\Borland\JBuilder2005\jdk1.4\jre\bin\client and copied to: C:/Programmi/Eggdrop/lib/tcljava1.3.1/ run again depends.exe and it doesn't gave any error, but a warning: Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. On RPM.DLL that should not be a prob, as I read somewhere. I retry and it still doesn't work, still give same errors. What are those library that it can't find? Who can help please? |
From: Timon H. <met...@ya...> - 2005-06-08 10:12:14
|
Hi, i have nearly tried everything to get TCLBlend working on my Win XP machine. I have tried: Java sdk 1.4.2 tclBlend 1.2.6 Tcl 8.5.2 Didnt work. I Compiled it myself with this help file: http://mini.net/tcl/9993 and it didnt work either.. got this error: % package require java "XpUtils::iload -d C:/Tcl/msys/local/lib/tcljava1.3.1 tclblend" failed: couldn't load library "C:/Tcl/msys/local/lib/tcljava1.3.1/tclblend.dll": this library or a dependent library could not be found in library path Now I have used the versions and Installation Help from here: http://ptolemy.eecs.berkeley.edu/~johnr/tutorials/tcljava98/notes/installation.html using tcl 8.3.2 java jdk 1.1.8 and tclblend 1.2.6 i have set all the path vars. i have checked the depedecies of the tclblend.dll and both JVM.dll and TCL83.dll and MSJAVA.dll are found. and i get this error: "load C:/Tcl8.3.2/lib/TclBlend/tclblend.dll" failed: couldn't load library "C:/Tcl8.3.2/lib/TclBlend/tclblend.dll": this library or a dependent library could not be found in library path currently, the PATH environment variable includes these directories: C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem "C:\Programme\Symantec\Norton Ghost 2003\" C:\Programme\ActiveState Komodo 3.0\ C:\programme\cvs C:\jdk1.1.8\bin C:\Tcl8.3.2\bin Windows users should note that the most common cause of problems loading TclBlend is the user forgetting to set the PATH environment variable to include both the Tcl shared libraries and the Java shared libraries. JDK 1.1 users that installed into C:\jdk1.1.8 need to include C:\jdk1.1.8\bin on the PATH. JDK 1.2 users that installed into C:\jdk1.2.2 need to include C:\jdk1.2.2\jre\bin AND C:\jdk1.2.2\jre\bin\classic AND C:\Tcl8.3.2\lib\TclBlend on the PATH. can anybody help me solve this problem or send me a working version (jdk + tcl + tclblend) or working installation document. thanks metamaster __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Larry W. V. <lv...@ca...> - 2005-05-31 12:41:00
|
From: "Maitre, Gilles" <Gil...@ke...> > Who could give me information about the actual project status ? Well, the maintainer of tcljava could give you info on that. Or you could check http://cvs.sourceforge.net/viewcvs.py/tcljava/tcljava/ and see what changes have been made to the code. For some reason, many of the tcl projects are in a mode where they don't make releases - instead, they just send people to the cvs to check out the latest code. -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:lv...@ca...><URL: http://www.purl.org/NET/lvirden/ > Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- |
From: Linuxhippy <lin...@we...> - 2005-05-24 18:22:57
|
to be honest I think its dead, but its stable and works well. I would suggest using rhino for scripting if you need a maintained project. lg Clemens > Dear tcljava users, > > I downloaded TCL Blend version 1.3.1 from SourceForge.net and have the > feeling (after having read the Readme file from the distribution...) > the project is either so stable that it does no more need any new release > or it is no more maintained, as there has not been any new release > since 2003. > > Who could give me information about the actual project status ? > > We plan to integrate TCL Blend in our project. > > Thanks in advance for any information. > > Gilles > |
From: Maitre, G. <Gil...@ke...> - 2005-05-24 06:00:35
|
Dear tcljava users, =20 I downloaded TCL Blend version 1.3.1 from SourceForge.net and have the feeling (after having read the Readme file from the distribution...)=20 the project is either so stable that it does no more need any new release or it is no more maintained, as there has not been any new release since 2003. =20 Who could give me information about the actual project status ? =20 We plan to integrate TCL Blend in our project. =20 Thanks in advance for any information. =20 Gilles =20 |
From: <PFi...@hb...> - 2005-01-25 05:17:43
|
Tclblend needs to be compiled for Win XP. Follow instructions located at: http://mini.net/tcl/9993 Regards. Patrick. ============================================================ HBF Health Funds Inc. a registered organisation under the National Health Act HBF Insurance Pty Ltd ACN 009 268 277 This email is a confidential communication intended only for the named Addressee(s). If you are not that person any disclosure, copying, distribution or use of this email or the information in it is prohibited. Please notify us immediately by telephone, (+61) 08 9265 6111 or return email and delete this email. |
From: Seena <sm...@en...> - 2005-01-13 09:35:39
|
Thank you very much Seena Mo DeJong wrote: >On Wed, 12 Jan 2005 12:54:05 +0000 >Seena <sm...@en...> wrote: > > > >>Hello, >> How to call static methods in a java class from Tcl using Tcl Blend? >>TIA, >>Seena >> >> > >Hello Seena > >Easy just use: > >java::call CLASSNAME METHODNAME ?ARGS? > >For example: > >java::call Integer toBinaryString 5 > >cheers >Mo > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >tcljava-user mailing list >tcl...@li... >https://lists.sourceforge.net/lists/listinfo/tcljava-user > > > |
From: Mo D. <md...@un...> - 2005-01-13 06:22:56
|
On Fri, 24 Dec 2004 13:13:24 +0100 Johannes Kleinlercher <joh...@kl...> wrote: > Hi, > > I have Java 5 installed on my box and doing a make on jacl returns the > following: > > tcl/lang/TclClassLoader.java:535: as of release 1.5, 'enum' is a > keyword, and may not be used as an identifier > (try -source 1.4 or lower to use 'enum' as an identifier) > Enumeration enum; // List of the contents of the jar file. > > > Is that fixed in any new version of jacl? This is now fixed in the CVS version of Jacl. You can also apply the attached patch to your version and it will fix the problems. cheers Mo DeJong |
From: Mo D. <md...@un...> - 2005-01-13 05:42:27
|
On Wed, 12 Jan 2005 12:54:05 +0000 Seena <sm...@en...> wrote: > Hello, > How to call static methods in a java class from Tcl using Tcl Blend? > TIA, > Seena Hello Seena Easy just use: java::call CLASSNAME METHODNAME ?ARGS? For example: java::call Integer toBinaryString 5 cheers Mo |
From: Bellave J. <bel...@co...> - 2005-01-13 01:24:50
|
Mayur, Any particular reason you are using jdk1.2.2? I am not sure if it would help, but did you try with a newer jdk (jdk1.4 for ex.)? Jayaram Mayur patel wrote: > I am using tcl blend first time. > I downloaded windows binary for tclblend1.2.6 using link indicated on > http://www.tcl.tk/software/java/java.html. > I have installed jdk1.2.2 in c:\jdl1.2.2 folder. Installed tcl8.3 into > c:\tcl folder. I installed tclblend ( binary ) directly on c:\tcl > folder which copied tcljava and tclblend file into tcl\lib folder and > created tclblend folder and it has dll installed for tclblend. > Important to note that i am using windows XP machine. i had set path > for jdk1.2.2\jre\bin and jdk1.2.2\jre\bin\classic . Also i set path > for c:\tcl\bin, c:\tcl\lib\tclblend folder > When i start tclsh83 and at prompt "package require java" the tclsh83 > crashes. > I tried to debug the problem by enabling the debug from pkgIndex.tcl > in c:\tcl\lib\tclblend folder. But finally it seemd that the "load > tclBlend.dll" crashes the tcl83. > Is Blend supported on XP ? if yes, any help regrading solving this > problem will be appreciated. > thanks in advaance. > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > |
From: Mayur p. <mai...@ya...> - 2005-01-13 00:36:55
|
I am using tcl blend first time. I downloaded windows binary for tclblend1.2.6 using link indicated on http://www.tcl.tk/software/java/java.html. I have installed jdk1.2.2 in c:\jdl1.2.2 folder. Installed tcl8.3 into c:\tcl folder. I installed tclblend ( binary ) directly on c:\tcl folder which copied tcljava and tclblend file into tcl\lib folder and created tclblend folder and it has dll installed for tclblend.Important to note that i am using windows XP machine. i had set path for jdk1.2.2\jre\bin and jdk1.2.2\jre\bin\classic . Also i set path for c:\tcl\bin, c:\tcl\lib\tclblend folder When i start tclsh83 and at prompt "package require java" the tclsh83 crashes. I tried to debug the problem by enabling the debug from pkgIndex.tcl in c:\tcl\lib\tclblend folder. But finally it seemd that the "load tclBlend.dll" crashes the tcl83. Is Blend supported on XP ? if yes, any help regrading solving this problem will be appreciated. thanks in advaance. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Seena <sm...@en...> - 2005-01-12 12:55:35
|
Hello, How to call static methods in a java class from Tcl using Tcl Blend? TIA, Seena |
From: Lehmann, E. {TR-I~Penzberg} <eck...@ro...> - 2005-01-04 10:26:45
|
Hi, > I have Java 5 installed on my box and doing a make on jacl returns the > following: >=20 > tcl/lang/TclClassLoader.java:535: as of release 1.5, 'enum'=20 > is a keyword, and may not be used as an identifier (try=20 > -source 1.4 or lower to use 'enum' as an identifier) > Enumeration enum; // List of the contents of the=20 > jar file. The message is right - since Java 1.5 "enum" is a keyword. I had this problem too and solved it by opening the file tcl/lang/TclClassLoader.java and substituting the enum identifier in line 535 (and ongoing references) by a different name.=20 It is a bug in Jacl (and Tclblend too) and should be filed as this, probably. Eckhard |
From: <mey...@wi...> - 2004-12-28 12:37:03
|
When I do "make test" (or) source tcl file of a demo, tcl blend is not able to initialize and run. I have attached the error that has been thrown when calling simple.tcl of simplepkg demo bash-2.05#make shell=20 To run test: cd /meyya/TclBlend/tclBlend1.3.1/tests ; source all.tcl LD_PRELOAD=3D"" \ LD_BIND_NOW=3D \ PATH=3D/usr/sbin:/usr/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin= : /bin:/usr/ucb:/usr/ccs/bin:/etc:/opt/oss/app/platform/oracle/product/8.1 .7/bin:/opt/oss/app/bin:/usr/java/bin:/opt/oss/app/platform/netscape:/op t/oss/app/platform/acrobat/bin:/opt/oss/app/platform/netscape/bin:/meyya /TclBlend/tclBlend1.3.1:/meyya/Tcl8.4.9/tcl8.4.9/unix:/meyya/TclThread/t hread2.6/unix:/usr/java/jre/lib/sparc:/usr/java/jre/lib/sparc/native_thr eads \ LD_LIBRARY_PATH=3D/meyya/TclBlend/tclBlend1.3.1:/meyya/Tcl8.4.9/tcl8.4.9/= u nix:/meyya/TclThread/thread2.6/unix:/usr/java/jre/lib/sparc:/usr/java/jr e/lib/sparc/native_threads:/opt/oss/app/platform/oracle/product/8.1.7/li b:/opt/oss/app/platform/oracle/product/8.1.7/lib64:/usr/openwin/lib:/usr /dt/lib: \ SHLIB_PATH=3D/meyya/TclBlend/tclBlend1.3.1:/meyya/Tcl8.4.9/tcl8.4.9/unix:= / meyya/TclThread/thread2.6/unix:/usr/java/jre/lib/sparc:/usr/java/jre/lib /sparc/native_threads:/opt/oss/app/platform/oracle/product/8.1.7/lib:/us r/ccs/lib:/usr/ucblib:/opt/oss/app/platform/oracle/product/8.1.7/jdbc/li b \ KAFFELIBRARYPATH=3D/meyya/TclBlend/tclBlend1.3.1:/meyya/Tcl8.4.9/tcl8.4.9= / unix:/meyya/TclThread/thread2.6/unix:/usr/java/jre/lib/sparc:/usr/java/j re/lib/sparc/native_threads \ TCL_LIBRARY=3D/meyya/Tcl8.4.9/tcl8.4.9/library \ TCLLIBPATH=3D"/meyya/TclBlend/tclBlend1.3.1 /meyya/TclBlend/tclBlend1.3.1/src /meyya/TclThread/thread2.6/unix" \ CLASSPATH=3D.:/opt/oss/app/oem/win/winSnmp.jar:/opt/oss/app/oem/win/winNe= t Logging.jar:/opt/oss/app/platform/oracle/product/8.1.7/jdbc/lib/classes1 2.zip:/opt/oss/app/platform/weblogic/lib/weblogic.jar:/opt/oss/app/oem/j dom/jdom.jar:/opt/oss/app/oem/log4j/log4j.jar:/meyya/TclBlend/tclBlend1. 3.1/btests:/meyya/TclBlend/tclBlend1.3.1/tclblend.jar:/meyya/TclBlend/tc lBlend1.3.1/tcljava.jar \ JAVA=3D/usr/java/bin/java \ BUILD_DIR=3D/meyya/TclBlend/tclBlend1.3.1 \ /meyya/Tcl8.4.9/tcl8.4.9/unix/tclsh % cd demos % cd simplepkg % source simple.tcl There was an error trying to initialize the HPI library. Please check your installation, HotSpot does not work correctly when installed in the JDK 1.2 Solaris Production Release, or with any JDK 1.1.x release. "XpUtils::iload -d /meyya/TclBlend/tclBlend1.3.1 tclblend" failed: JNI_CreateJavaVM failedPerhaps your CLASSPATH includes a classes.zip file for a version otherthan the one Tcl Blend was compiled with? Currently, the CLASSPATH environment variable is set to: .:/opt/oss/app/oem/win/winSnmp.jar:/opt/oss/app/oem/win/winNetLogging.ja r:/opt/oss/app/platform/oracle/product/8.1.7/jdbc/lib/classes12.zip:/opt /oss/app/platform/weblogic/lib/weblogic.jar:/opt/oss/app/oem/jdom/jdom.j ar:/opt/oss/app/oem/log4j/log4j.jar:/meyya/TclBlend/tclBlend1.3.1/btests :/meyya/TclBlend/tclBlend1.3.1/tclblend.jar:/meyya/TclBlend/tclBlend1.3. 1/tcljava.jar=20 What path should I change and how should I change? =20 I tried modifying the classpath in jtclsh, it does not get reflected while calling. =20 I am using tcl 8.4.9, thread 2.6, jdk 1.3.1, tclblend 1.3.1, on solaris 5.9. I compiled the files using gcc3.3.2. =20 Thanks Meyyappan |
From: Johannes K. <joh...@kl...> - 2004-12-24 12:11:00
|
Hi, I have Java 5 installed on my box and doing a make on jacl returns the following: tcl/lang/TclClassLoader.java:535: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier (try -source 1.4 or lower to use 'enum' as an identifier) Enumeration enum; // List of the contents of the jar file. Is that fixed in any new version of jacl? thanks best regards, johannes |
From: Lehmann, E. {TR-I~Penzberg} <eck...@ro...> - 2004-12-15 06:40:54
|
Hi, maybe tclBlend is a better approach for such a project?=20 Jacl is Tcl, implemented in java - and therefore good if you want to add = a Tcl console to your existing Java program.=20 On the other hand site, tclBlend connects the real, native Tcl you have = installed with a real Java Virtual machine, using JNI. So it should be = possible in an existing native Tcl interpreter to do=20 % package require Expect % package require Java without problems. With tclBlend you can port parts of your existing Tcl = code to Java and make these parts as well as other Java code to commands = for use in Tcl - and you are able to instantiate and use Java API = classes (such as java.awt.*, java.net.*...) directly from Tcl. So you could develop an RMI server in Java, wrap it as a Tcl command, = then instantiate it from within a Tcl script (or instantiate it directly = without wrapping) and change its state from the Tcl script. The client = connects to the Java server and communicates only with the Java server = (and does not know about the underlying Tcl script). If I understood your project goals right, this is what you want, isn't = it? TclBlend worked fine when I played around with it, and I would trust in = it for real projects. However, I don't know much about licensing... Eckhard > -----Original Message----- > From: tcl...@li...=20 > [mailto:tcl...@li...] On Behalf=20 > Of Fernando M. Dagostini > Sent: Tuesday, December 14, 2004 8:35 PM > To: TclJavaDevel SourceForge; TclJavaUsers SourceForge > Subject: [tcljava-user] JACL - Urgent help to make a design decision! >=20 >=20 > Hi! All, >=20 > I am about to make a high level design decision for a project=20 > in the company I work for. >=20 > --- Brief: >=20 > We currently have a relatively large (12 Kloc) application=20 > coded in Tcl/Tk/Expect or Expectix. The application provides=20 > a whole bunch of functionalities to the user via Tk widgets=20 > and accesses system resources in the backend including=20 > Socket, File Handling, Spawning external executables, etc. >=20 > All this is part of a larger system in the Wireless CDMA=20 > network management. >=20 > Then environment is Sun Solaris. >=20 > --- Objective: >=20 > Now, we are migrating parts of this larger system into a=20 > newer one which is Java Client/Server based architecture -=20 > including Java/RMI for Client/Server communication. >=20 > We have estimated that the application as is today is=20 > balanced between: >=20 > - 1.5 Kloc of Tk front end code (GUI) > - 10.5 Kloc of Tcl/Expect back end code >=20 > in a single script file - yes, total of 12 Kloc in a single=20 > program file!... >=20 > Needless to say that our first thought was to port the GUI=20 > part of the application to the Java Client and reuse the=20 > backend part entirely, with little adjustments, in the=20 > Server. To accomplish this we would like to implement a=20 > collection of simple Java/RMI classes - basically to map=20 > remote client calls directly into Tcl procedures - and glue=20 > them to via Jacl. >=20 > So, Jacl would be extremely useful in the sense that: >=20 > - Would save a lot of effort w/o having to port the backend=20 > code. > - Clean design. > - Would fit as a glove into the new Server system. >=20 > --- Questions/Problems: >=20 > 1 - Is this really an approach that Jacl can support. >=20 > 2 - I've noticed that the "package" command "...completely=20 > implemented in Jacl." as stated in the DIFFS.TXT file so, I=20 > am assuming that I can load the Expect extension by issuing=20 > the command "package require Expect", is this correct? >=20 > 3 - I've gone through all the commands mentioned in the=20 > DIFFS.TXT and found that, at least based on what is stated=20 > there, I can get around those commands listed in "What=20 > Partially Works" with minor changes in the Tcl code. >=20 > 4 - I've tried step 2 above in a Jacl shell command line but=20 > it didn't work. If it should work what am I doing wrong? >=20 > 5 - What are the licensing restrictions that may apply to=20 > using Jacl in such a project? >=20 > 6 - Are there other implications that I should care about? >=20 > Sorry for the long posting - we are really interested in=20 > using Jacl but the project is large enough to take high risks=20 > at this point. >=20 > We appreciate your opinions/suggestions. >=20 > Regards, >=20 > Fernando M. Dagostini >=20 > Brazil Technology Center - Finatel > E-mail: fd...@no... >=20 >=20 > =20 > ______________________________________________________________ > ____________ > Acabe com aquelas janelinhas que pulam na sua tela. > AntiPop-up UOL - =C9 gr=E1tis! > http://antipopup.uol.com.br/ >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from=20 > real users. Discover which products truly live up to the=20 > hype. Start reading now.=20 > http://productguide.itmanagersjournal.com/ > _______________________________________________ > tcljava-user mailing list > tcl...@li... > https://lists.sourceforge.net/lists/listinfo/tcljava-user >=20 |