Bug 44062 javadoc command should correspond to default JDK [javadoc]
The java command should match the selected JDK in preferences. In OSX, I found that the default runtime was 1.4.1 but the javadoc command was using JDK 1.3.1 javadoc.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavadocPreferencePage.java
}
			}
		}
		return null;
	}
	private void initFields() {
		fJavadocSelection.setTextWithoutUpdate(getJavaDocCommand());
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.preference.IPreferencePage#performOk()
	 */
	public boolean performOk() {
		getPreferenceStore().setValue(PREF_JAVADOC_COMMAND, fJavadocSelection.getText());
		JavaPlugin.getDefault().savePluginPreferences();
		return super.performOk();
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.preference.PreferencePage#performDefaults()
	 */
	protected void performDefaults() {
		IPreferenceStore store= getPreferenceStore();
		initJavadocCommandDefault(store);
		fJavadocSelection.setText(store.getDefaultString(PREF_JAVADOC_COMMAND));
		super.performDefaults();
	}
	private void doValidation() {
		StatusInfo status= new StatusInfo();
		
		String text= fJavadocSelection.getText();
		if (text.length() > 0) {