First problem is still that the installer does not recognize the installed JDK from Apple. This is because the installer is looking for a rt.jar in the JDK, but Apple does not have one. We can trick the installer by simply creating an empty file called rt.jar at the appropriate location (/Library/Java/Home/jre/lib), but the JDK does not have the jre/lib so that must be created as well).
The second problem is that the installer will complain about too little free disk space. To avoid this, you must add -Dos.name=unix to the parameter list of the java command.
Third problem is that the installer will crash in the final step where it is actually installing the software. This is due to memory usage and can be avoided by adding -Xmx512m and -XX:MaxPermSize=512m to the parameter list.
So in order to install OCCAS 5 on a Mac you must execute the following commands:
$ sudo mkdir -p /Library/Java/Home/jre/lib
$ sudo touch /Library/Java/Home/jre/lib/rt.jar$ java -jar -Dos.name=unix -Xmx512m -XX:MaxPermSize=512m occas500_ja_generic.jar
That should do the trick! You may delete the jre/lib/rt.jar now if you like.
Now all we need is a Mac version of the JRockit VM, Oracle, please...