flook

4 Reputation

One Badge

19 years, 249 days

MaplePrimes Activity


These are replies submitted by flook

Sorry for my late response but I have been very busy. Many thanks for your detailed answer. This helped a lot and now we were finally able to use that feature.
Sorry for my late response but I have been very busy. Many thanks for your detailed answer. This helped a lot and now we were finally able to use that feature.
Well thanks that really helped a lot! I just forgot about jdk 1.5... But now that I finally managed to add the class I experience another problem. If this functionallity was a little better documented I think it would not be this frustrating to try to use some of those promising features... Well, as I said I managed to get my class running but now I am wondering how to use it. Trying to call it in an algorithm section I get the following error displayed: Error initializing $java: There is a syntax error in the algorithmic expression "java("MapClass.myOwnMapClass.myOwnMapClass", "Test")". The following error message was generated: The class MapClass.myOwnMapClass.myOwnMapClass does not define an algorithmic function My class returns a string value and I trid to put it inside a variable: $java = java(mySampleClass.Sample,"Hello","World"); But where shall I use this call when it is not possible to call it in the algorithmic section? This confuses me... Can you please help me out?! It would be very helpful to receive a functioning sample via e-mail. That would really simplify understanding the use of java(...). Many thanks in advance!
Well thanks that really helped a lot! I just forgot about jdk 1.5... But now that I finally managed to add the class I experience another problem. If this functionallity was a little better documented I think it would not be this frustrating to try to use some of those promising features... Well, as I said I managed to get my class running but now I am wondering how to use it. Trying to call it in an algorithm section I get the following error displayed: Error initializing $java: There is a syntax error in the algorithmic expression "java("MapClass.myOwnMapClass.myOwnMapClass", "Test")". The following error message was generated: The class MapClass.myOwnMapClass.myOwnMapClass does not define an algorithmic function My class returns a string value and I trid to put it inside a variable: $java = java(mySampleClass.Sample,"Hello","World"); But where shall I use this call when it is not possible to call it in the algorithmic section? This confuses me... Can you please help me out?! It would be very helpful to receive a functioning sample via e-mail. That would really simplify understanding the use of java(...). Many thanks in advance!
Hello, I am very sorry for my late response but I have been very busy lately. So I was not able to spend much time on this problem. Many thanks for your response on my question. This helped a lot because I now was able to successfully add a jar-file. But right now that I am experiencing another problem... I cannot figure out how to call my class with the named java(CN, a, b, ..); function. I think CN defines the fully qualified name of my class. Using just the name of my class leads to an "Algorithm syntax error" in Maple TA which says that the named class cannot be found. OK, this is expected because the class is part of a package. Using the full class name leads to, well nothing concerning the UI of Maple TA. It does not do anything. But the server generates the following error message: jvm 1 | java.lang.UnsupportedClassVersionError: MapClass/myOwnMapClass/myOwnMapClass (Unsupported major.minor version 49.0) Is this error maybe caused by the fact that I used JDK 5.0 to create the class? If this is not the reason I am not able to figure out what the problem is here... So if anybody could help me with a sample or some information on my problem I would again be very thankful. Many thanks in advance Florian Look
Hello, I am very sorry for my late response but I have been very busy lately. So I was not able to spend much time on this problem. Many thanks for your response on my question. This helped a lot because I now was able to successfully add a jar-file. But right now that I am experiencing another problem... I cannot figure out how to call my class with the named java(CN, a, b, ..); function. I think CN defines the fully qualified name of my class. Using just the name of my class leads to an "Algorithm syntax error" in Maple TA which says that the named class cannot be found. OK, this is expected because the class is part of a package. Using the full class name leads to, well nothing concerning the UI of Maple TA. It does not do anything. But the server generates the following error message: jvm 1 | java.lang.UnsupportedClassVersionError: MapClass/myOwnMapClass/myOwnMapClass (Unsupported major.minor version 49.0) Is this error maybe caused by the fact that I used JDK 5.0 to create the class? If this is not the reason I am not able to figure out what the problem is here... So if anybody could help me with a sample or some information on my problem I would again be very thankful. Many thanks in advance Florian Look
Page 1 of 1