xref: /aoo42x/main/svtools/source/java/javaerror.src (revision bf961c79)
13c07ef42SAndrew Rist/**************************************************************
2*bf961c79Smseidel *
33c07ef42SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
43c07ef42SAndrew Rist * or more contributor license agreements.  See the NOTICE file
53c07ef42SAndrew Rist * distributed with this work for additional information
63c07ef42SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
73c07ef42SAndrew Rist * to you under the Apache License, Version 2.0 (the
83c07ef42SAndrew Rist * "License"); you may not use this file except in compliance
93c07ef42SAndrew Rist * with the License.  You may obtain a copy of the License at
10*bf961c79Smseidel *
113c07ef42SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*bf961c79Smseidel *
133c07ef42SAndrew Rist * Unless required by applicable law or agreed to in writing,
143c07ef42SAndrew Rist * software distributed under the License is distributed on an
153c07ef42SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
163c07ef42SAndrew Rist * KIND, either express or implied.  See the License for the
173c07ef42SAndrew Rist * specific language governing permissions and limitations
183c07ef42SAndrew Rist * under the License.
19*bf961c79Smseidel *
203c07ef42SAndrew Rist *************************************************************/
213c07ef42SAndrew Rist
223c07ef42SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#include <svtools/svtools.hrc>
25cdf0e10cSrcweir
26cdf0e10cSrcweirWarningBox WARNINGBOX_JAVANOTFOUND
27cdf0e10cSrcweir{
28*bf961c79Smseidel	Buttons = WB_OK ;
29cdf0e10cSrcweir	DefButton = WB_DEF_OK ;
30*bf961c79Smseidel	Message [ en-US ] ="%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart %PRODUCTNAME." ;
31cdf0e10cSrcweir};
32cdf0e10cSrcweir
33cdf0e10cSrcweirWarningBox WARNINGBOX_INVALIDJAVASETTINGS
34cdf0e10cSrcweir{
35*bf961c79Smseidel	Buttons = WB_OK ;
36cdf0e10cSrcweir	DefButton = WB_DEF_OK ;
37*bf961c79Smseidel	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." ;
38cdf0e10cSrcweir};
39cdf0e10cSrcweir
40cdf0e10cSrcweirQueryBox QBX_JAVADISABLED
41cdf0e10cSrcweir{
42cdf0e10cSrcweir	Buttons = WB_YES_NO_CANCEL ;
43cdf0e10cSrcweir	DefButton = WB_DEF_YES ;
44*bf961c79Smseidel	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?" ;
45cdf0e10cSrcweir};
46cdf0e10cSrcweir
47cdf0e10cSrcweirErrorBox ERRORBOX_JVMCREATIONFAILED
48cdf0e10cSrcweir{
49*bf961c79Smseidel	Buttons = WB_OK ;
50cdf0e10cSrcweir	DefButton = WB_DEF_OK ;
51*bf961c79Smseidel	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." ;
52cdf0e10cSrcweir};
53cdf0e10cSrcweir
54cdf0e10cSrcweirErrorBox ERRORBOX_RESTARTREQUIRED
55cdf0e10cSrcweir{
56*bf961c79Smseidel	Buttons = WB_OK ;
57cdf0e10cSrcweir	DefButton = WB_DEF_OK ;
58*bf961c79Smseidel	Message [ en-US ] = "For the selected Java runtime environment to work properly, %PRODUCTNAME must be restarted. Please restart %PRODUCTNAME now." ;
59cdf0e10cSrcweir};
60cdf0e10cSrcweir
61cdf0e10cSrcweir
62cdf0e10cSrcweirString STR_WARNING_JAVANOTFOUND
63cdf0e10cSrcweir{
64*bf961c79Smseidel	Text [ en-US ] = "JRE Required" ;
65cdf0e10cSrcweir};
66cdf0e10cSrcweir
67cdf0e10cSrcweirString STR_WARNING_INVALIDJAVASETTINGS
68cdf0e10cSrcweir{
69*bf961c79Smseidel	Text [ en-US ] = "Select JRE" ;
70cdf0e10cSrcweir};
71cdf0e10cSrcweir
72cdf0e10cSrcweirString STR_ERROR_RESTARTREQUIRED
73cdf0e10cSrcweir{
74*bf961c79Smseidel	Text [ en-US ] = "Restart Required" ;
75cdf0e10cSrcweir};
76cdf0e10cSrcweir
77cdf0e10cSrcweirString STR_QUESTION_JAVADISABLED
78cdf0e10cSrcweir{
79*bf961c79Smseidel	Text [ en-US ] = "Enable JRE" ;
80cdf0e10cSrcweir};
81cdf0e10cSrcweir
82cdf0e10cSrcweir
83cdf0e10cSrcweirString STR_ERROR_JVMCREATIONFAILED
84cdf0e10cSrcweir{
85*bf961c79Smseidel	Text [ en-US ] = "JRE is Defective" ;
86cdf0e10cSrcweir};
87cdf0e10cSrcweir
88*bf961c79Smseidel// ********************************************************************** EOF
89