refactored Java cyber-dojo.sh files