This is required to make minecraft run without looking for java directory.