See https://wiki.archlinux.org/index.php/Java#Gray_window,_applications_not_resizing_with_WM,_menus_immediately_closing
This way, the extended PATH variable is available for the whole session and not just for the zsh session.