Everything fixed except for java location redirect