If you would like to make java available from CageFS inside you have to follow this sptes:
1. Create /etc/cagefs/conf.d/java.cfg and add needed binary files to it:
[java-custom] comment=Java-custom paths=/usr/bin/java, /etc/alternatives/java,/usr/java/jdk1.8.0_05/jre/bin/java
2. Add ‘/usr/java‘ into /etc/cagefs/cagefs.mp file
3. Update skeleton and remount all:
cagefsctl --force-update cagefsctl --remount-all