summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2002-08-12 09:46:10 +0000
committerJoachim Lingner <jl@openoffice.org>2002-08-12 09:46:10 +0000
commit34bcf81a971c1cbe28d2ce09a6ad7626d5e05d7a (patch)
tree6ef8e02b6564e111a2e6b07349104147ec90ce31 /stoc
parent8dbc3f960598e071c85ab17647d2d69018e9edaa (diff)
#101225#
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/javavm/javavm.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/stoc/source/javavm/javavm.cxx b/stoc/source/javavm/javavm.cxx
index 5ce1e3ec4f7d..a105e3dcdfac 100644
--- a/stoc/source/javavm/javavm.cxx
+++ b/stoc/source/javavm/javavm.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: javavm.cxx,v $
*
- * $Revision: 1.38 $
+ * $Revision: 1.39 $
*
- * last change: $Author: jl $ $Date: 2002-08-08 12:44:43 $
+ * last change: $Author: jl $ $Date: 2002-08-12 10:46:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1320,17 +1320,16 @@ static void initVMConfiguration(JVM * pjvm,
if( bPropsFail ||bPropsFail2)
{
getJavaPropsFromEnvironment(&jvm);
- // at this point we have to find out if there is a classpath and runtimelib. If not
+ // at this point we have to find out if there is a classpath. If not
// we'll throw the exception, because Java is misconfigured and won't run.
OUString usRuntimeLib= jvm.getRuntimeLib();
OUString usUserClasspath= jvm.getUserClasspath();
OUString usSystemClasspath= jvm.getSystemClasspath();
- if( usRuntimeLib.getLength() == 0
- || (usUserClasspath.getLength() == 0 && usSystemClasspath.getLength() == 0))
+ if( usUserClasspath.getLength() == 0 && usSystemClasspath.getLength() == 0)
{
if (bPropsFail)
throw confexc;
- throw new JavaNotConfiguredException(OUSTR("There is neither a java.ini (or javarc) " \
+ throw JavaNotConfiguredException(OUSTR("There is neither a java.ini (or javarc) " \
"and there are no environment variables set which " \
"contain configuration data"), Reference<XInterface>());
}