Question: I can't integrate Maple code into Java using OpenMaple

Dear all,

I am running Maple 11 on my PC. I have Windows 7 (64 bit installed), use Eclipse SDK for Java development.

I have made some mathematical calculations in Maple 11, now I want to integrate them to Java using OpenMaple API.

I viewed help, maple soft and maple primes resources ...... I found test.java example in Maple 11 directory.

 

I can't add classpath to OpenMaple libraries in Java.

I have Java SDK 6 installed in directory: C:\Program Files\Java\jdk1.6.0_21\

I have Maple11 installed in directory: C:\Program Files(x86)\Maple11\

 

When I run following commands in run dialog box

C:\Program Files\Java\jdk1.6.0_21\bin\javac -classpath "C:\Program Files(x86)\Maple11\java\externalcall.jar;C:\Program Files(x86)\Maple11\java\jopenmaple.jar;." test.java

C:\Program Files\Java\jdk1.6.0_21\bin\javac -classpath "C:\Program Files(x86)\Maple11\java\externalcall.jar;C:\Program Files(x86)\Maple11\java\jopenmaple.jar;." test.java

A command window just appears each time and vanishes.

 

Now, it is time to set path, using commands in run dialog box:

C:\Program Files\Java\jdk1.6.0_21\bin\java -classpath "C:\Program Files(x86)\Maple11\java\externalcall.jar;C:\Program Files(x86)\Maple11\java\jopenmaple.jar;." test

C:\Program Files\Java\jdk1.6.0_21\bin\java -classpath "C:\Program Files(x86)\Maple11\java\externalcall.jar;C:\Program Files(x86)\Maple11\java\jopenmaple.jar;." test

 

After all this process, it should show me this output "1/2*x^2 Done " on the screen, but it does not.

 

And in Eclipse SDK, I open this program test.java, Eclipse SDK does not find these libraries path to import.

 

Can anyone help me how to solve this problem, so that I can integrate my maple work into java.

 

Regards,

 

Vicky

 

 

 

 

 

 

Please Wait...