Community
Participate
Working Groups
Created attachment 273973 [details] Screen shot Build ID: I20180409-2000 Steps to reproduce: 1. Open cmd 2. Run: eclipse.exe -nl en_ZZ 3. Open Run Configuration of a certain project 4. Double-click Eclipse Application to create a new configuration 5. Verify Java executable options Problem Description: The second option "java" is not mocked.
@Dani, Should we translate "java" also ? This has been there since starting.
What exactly does 'default' mean? I see it uses 'javaw' instead of 'java'. So, maybe we can just replace 'default' with 'javaw'? For sure 'java' must not be externalized.
I think this is PDE not Debug.
Moving to PDE. It is handled in org.eclipse.pde.internal.ui.launcher.JREBlock And the name of the button is also fJavawButton.
Vikas, please see comment 2.
>>Vikas, please see comment 2. default sets IJavaLaunchConfigurationConstants.ATTR_JAVA_COMMAND attribute to javaw.
>>default sets IJavaLaunchConfigurationConstants.ATTR_JAVA_COMMAND attribute to >>javaw. Oops..some correction, First it gets this via String javaCommand = config.getAttribute(IJavaLaunchConfigurationConstants.ATTR_JAVA_COMMAND, "javaw"); If there is not value set in the config ( earlier), it defaults to "javaw".
A different Java runtime environment and development kit can provide the value for ATTR_JAVA_COMMAND using org.eclipse.jdt.debug.ui.vmInstallTypePage. If not provided, it defaults to javaw.
I suggest to add a tooltip to this radiobutton From the context of "Java Executable" as the label before this, it means default Java Executable. ( which is the correct thing). So I recommend not changing this text. However for clarity we must add a tooltip on default - saying default Java Executable ( If not provided, it defaults to javaw). For completeness, we can add Java Executable in the tooltip of "java" radio-button.
(In reply to Vikas Chandra from comment #9) > I suggest to add a tooltip to this radiobutton > > From the context of "Java Executable" as the label before this, it means > default Java Executable. ( which is the correct thing). So I recommend not > changing this text. > > However for clarity we must add a tooltip on default - saying default Java > Executable ( If not provided, it defaults to javaw). For completeness, we > can add Java Executable in the tooltip of "java" radio-button. Tooltips on dialog elements are discouraged and must not be used in general. What should be done is to explain this in the F1 help and then close this bug as INVALID.
Created attachment 273999 [details] Current documentation Isn't the current documentation enough ?
(In reply to Vikas Chandra from comment #11) > Created attachment 273999 [details] > Current documentation > > Isn't the current documentation enough ? No. Please proceed as discussed in the chat.
Opened Bug 534579