Calling Maxima $diff from java



Hello all,

I am trying to call maxima functions from a java program. But, I am having
trouble passing the correct arguments. For example What is the proper way of
calling maxima $DIFF from java with arguments $Diff(sin(x),x). Any help with
this will be highly appreciated. 

Thanks!
Mohamed

Email: rayes  dot  O   dot mohamed  at gmail followed by dot and then the first
three letters in company.