1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: patchjavaerror.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #include <svtools/svtools.hrc>
33 WarningBox WARNINGBOX_JAVANOTFOUND
36 DefButton = WB_DEF_OK ;
37 Message[ en-US ] ="%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart %PRODUCTNAME.";
40 WarningBox WARNINGBOX_INVALIDJAVASETTINGS
43 DefButton = WB_DEF_OK ;
44 Message[ en-US ] ="The %PRODUCTNAME configuration has been changed. Under Tools - Options - %PRODUCTNAME - Java, select the Java runtime environment you want to have used by %PRODUCTNAME.";
47 QueryBox QBX_JAVADISABLED
49 Buttons = WB_YES_NO_CANCEL ;
50 DefButton = WB_DEF_YES ;
51 Message[ en-US ] = "%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. However, use of a JRE has been disabled. Do you want to enable the use of a JRE now?";
54 ErrorBox ERRORBOX_JVMCREATIONFAILED
57 DefButton = WB_DEF_OK ;
58 Message[ 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 - Java.";
61 ErrorBox ERRORBOX_RESTARTREQUIRED
64 DefButton = WB_DEF_OK ;
65 Message[ en-US ] = "For the selected Java runtime environment to work properly, %PRODUCTNAME must be restarted. Please restart %PRODUCTNAME now.";
70 String STR_WARNING_JAVANOTFOUND
72 Text[ en-US ] = "JRE Required" ;
75 String STR_WARNING_INVALIDJAVASETTINGS
77 Text[ en-US ] = "Select JRE";
80 String STR_ERROR_RESTARTREQUIRED
82 Text[ en-US ] = "Restart Required";
85 String STR_QUESTION_JAVADISABLED
87 Text[ en-US ] = "Enable JRE" ;
91 String STR_ERROR_JVMCREATIONFAILED
93 Text[ en-US ] = "JRE is Defective" ;