mention-java-common-package
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Thu, 27 Jul 2017 23:16:27 +0000 (00:16 +0100)
committerRaspbian forward porter <root@raspbian.org>
Thu, 27 Jul 2017 23:16:27 +0000 (00:16 +0100)
Gbp-Pq: Name mention-java-common-package.diff

jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
svtools/source/java/javaerror.src

index 718902caba6fa91cb0ca5af27e63f14ba93c2ef0..3c8499b5a42c0437bb91b37c7d7a3a63b3f4eae0 100644 (file)
@@ -141,6 +141,9 @@ static bool findAndSelect(JavaInfo ** ppInfo)
     if (errcode == JFW_E_NO_JAVA_FOUND)
     {
         fprintf(stderr,"javaldx: Could not find a Java Runtime Environment!\n");
+        fprintf(stderr,"Please ensure that a JVM and the package libreoffice-java-common\n");
+        fprintf(stderr,"is installed.\n");
+        fprintf(stderr,"If it is already installed then try removing ~/.libreoffice/3/user/config/javasettings_Linux_*.xml\n");
         return false;
     }
     else if (errcode != JFW_E_NONE && errcode != JFW_E_DIRECT_MODE)
index 60d7c720ebeb0df33cc4692163fd887281e2bf83..588f034f1f7476fa21b77199c30849cd1bbbba31 100644 (file)
@@ -21,7 +21,7 @@
 
 String STR_WARNING_JAVANOTFOUND
 {
-    Text [ en-US ] ="%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart %PRODUCTNAME.";
+    Text [ en-US ] ="%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. Please install a JRE (and libreoffice-java-common) and restart %PRODUCTNAME.";
 };
 
 String STR_WARNING_JAVANOTFOUND_MAC
@@ -36,7 +36,7 @@ String STR_WARNING_INVALIDJAVASETTINGS_MAC
 
 String STR_WARNING_INVALIDJAVASETTINGS
 {
-    Text [ en-US ] ="The %PRODUCTNAME configuration has been changed. Under Tools - Options - %PRODUCTNAME - Advanced, select the Java runtime environment you want to have used by %PRODUCTNAME.";
+    Text [ en-US ] ="The %PRODUCTNAME configuration has been changed. Under Tools - Options - %PRODUCTNAME - Advanced, select the Java runtime environment you want to have used by %PRODUCTNAME. Maybe you also need to install libreoffice-java-common";
 };
 
 String STR_ERROR_JVMCREATIONFAILED_MAC
@@ -46,7 +46,7 @@ String STR_ERROR_JVMCREATIONFAILED_MAC
 
 String STR_ERROR_JVMCREATIONFAILED
 {
-    Text[ en-US ] = "%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. The selected JRE is defective. Please select another version or install a new JRE and select it under Tools - Options - %PRODUCTNAME - Advanced.";
+    Text[ en-US ] = "%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. The selected JRE is defective. Please select another version or install a new JRE and select it under Tools - Options - %PRODUCTNAME - Advanced or install libreoffice-java-common if not already installed.";
 };
 
 String STR_WARNING_JAVANOTFOUND_TITLE