worked on making java a ok
updated for new version of java