Fixes dynamic java cache