get rid of java features fix. only applies to matlab versions at least 5 years old