My java functions actually reference other jar libraries. When I tried to run a function that used a call from one of these other jar files, I got the message “ERROR: java.lang.NoClassDefFoundError: umontreal/iro/lecuyer/probdist/ChiSquareDist” which is never a good sign. I consulted with Drew, our java expert at work, to make sure that I was building my jar correctly. I had an eureka moment on the way home that maybe I just needed to add the jar file to the CLASSPATH variable. I now get a new error, “ERROR: java.lang.SecurityException: read on C:ssj.jar” but it is progress.
Of course, I asked Drew what this error meant. After some additional Googling, under his watchful eye, we found that it had to do with the jars being unsigned and that pljava now lets you declare a function as language javau. IT WORKED!!!!!!
No comments:
Post a Comment