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
}
		/*
		 * @see IStringButtonAdapter#changeControlPressed(DialogField)
		 */
		public void changeControlPressed(DialogField field) {
			handleFileBrowseButtonPressed(fJavadocSelection.getTextControl(fComposite), null, PreferencesMessages.getString("JavadocPreferencePage.browsedialog.title")); 
		}
	}
	/**
	 * Returns the configured Javadoc command or the empty string.
	 */
	public static String getJavaDocCommand() {
		IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore();
		String cmd= store.getString(PREF_JAVADOC_COMMAND);
		if (cmd.length() == 0 && store.getDefaultString(PREF_JAVADOC_COMMAND).length() == 0) {
			initJavadocCommandDefault(store);
			cmd= store.getString(PREF_JAVADOC_COMMAND);
		}
		return cmd;
	}
	public JavadocPreferencePage() {
		setPreferenceStore(JavaPlugin.getDefault().getPreferenceStore());
		
	}
	
	/*
	 * @see PreferencePage#createControl(Composite)
	 */
	public void createControl(Composite parent) {
		super.createControl(parent);