All that you have to do is just edit your JAVA_HOME path by cutshorting it till just the javafolder ..like JDK
and that should do ... and eliminate your error !
I had the same error when is tried frist ... and then i figured that .. it was this mistake i was making ....!
I figuerd it out by opening the jacl2jython.sh script in text editor and then it was as simple ... so hope that help you too !
Gudluck mate !
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com