Author: arielch
Date: Sun Aug 26 12:51:55 2012
New Revision: 1377429

URL: http://svn.apache.org/viewvc?rev=1377429&view=rev
Log:
Clearer javaldx message

Modified:
    incubator/ooo/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx

Modified: 
incubator/ooo/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
URL: 
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx?rev=1377429&r1=1377428&r2=1377429&view=diff
==============================================================================
--- incubator/ooo/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx 
(original)
+++ incubator/ooo/trunk/main/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx 
Sun Aug 26 12:51:55 2012
@@ -69,7 +69,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
     }
     else if (errcode != JFW_E_NONE && errcode != JFW_E_DIRECT_MODE)
     {
-        fprintf(stderr,"javaldx failed! \n");
+        fprintf(stderr,"javaldx failed!\n");
         return -1;
     }
 
@@ -79,12 +79,12 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
 
     if (errcode == JFW_E_INVALID_SETTINGS)
     {
-        fprintf(stderr,"javaldx failed. User must select a JRE from options 
dialog!");
+        fprintf(stderr,"javaldx: invalid settings. User must select a JRE from 
options dialog!\n");
         return -1;
     }
     else if (errcode != JFW_E_NONE)
     {
-        fprintf(stderr,"javaldx failed! \n");
+        fprintf(stderr,"javaldx failed!\n");
         return -1;
     }
     
@@ -171,7 +171,7 @@ static bool findAndSelect(JavaInfo ** pp
     javaFrameworkError errcode = jfw_findAndSelectJRE(ppInfo);
     if (errcode == JFW_E_NO_JAVA_FOUND)
     {
-        fprintf(stderr,"javaldx: Could not find a Java Runtime Environment! 
\n");
+        fprintf(stderr,"javaldx: Could not find a Java Runtime 
Environment!\n");
         return false;
     }
     else if (errcode != JFW_E_NONE && errcode != JFW_E_DIRECT_MODE)


Reply via email to