You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/07/16 10:39:32 UTC

[GitHub] [netbeans] mbien commented on a diff in pull request #4390: Notify user about invalid netbeans_jdkhome path (aka "default jdk").

mbien commented on code in PR #4390:
URL: https://github.com/apache/netbeans/pull/4390#discussion_r922664218


##########
java/java.j2seplatform/src/org/netbeans/modules/java/j2seplatform/platformdefinition/DefaultPlatformImpl.java:
##########
@@ -42,8 +48,15 @@ public class DefaultPlatformImpl extends J2SEPlatformImpl {
 
     public static final String DEFAULT_PLATFORM_ANT_NAME = "default_platform";           //NOI18N
 
-    private ClassPath standardLibs;
+    @StaticResource
+    private static final String WARNING_ICON = "org/netbeans/modules/java/j2seplatform/resources/warning.png"; //NOI18N
 
+    @NbBundle.Messages({
+        "TITLE_InvalidDefaultJDK=Invalid JDK Home detected",
+        "DESC_InvalidDefaultJDK=The jdk.home property does not set a path to a valid JDK." +
+                               "Please update netbeans_jdkhome in your netbeans.conf" +
+                               "or start netbeans with --jdkhome /path/to/JDK set."

Review Comment:
   how comes that `NotificationDisplayer` doesn't support html or `\n` line breaks? This creates a fairly long line.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists