summaryrefslogtreecommitdiff
path: root/jvmfwk/plugins/sunmajor/javaenvsetup
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2009-06-12 20:38:47 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2009-06-12 20:38:47 +0000
commit95c136d0d1d94a5a1e226ca9850bf026e8e788b7 (patch)
treee65902a20e667e47aa4263b064ea6fc2503b7990 /jvmfwk/plugins/sunmajor/javaenvsetup
parent31b05c84a5f0dfde7f620f1bd1255d98327e1870 (diff)
CWS-TOOLING: integrate CWS ooo31osol_DEV300
2009-05-14 15:49:09 +0200 ihi r271896 : #i101913# added missing solaris entries 2009-05-14 12:36:19 +0200 ihi r271885 : #i101913# ARCH -> all 2009-05-13 11:14:52 +0200 jl r271846 : #i101457# Do not search for Java every time OOo starts 2009-05-13 08:49:28 +0200 jl r271838 : #tr6585548# Redone last change. On Solaris we do not scan the directories anymore and instead just ckeck /usr/jdk/latest 2009-05-12 17:10:03 +0200 jl r271828 : #i64357# We scan on Unix only for a java in different folders if we haven't found one by looking into JAVA_HOME or PATH 2009-05-12 13:17:04 +0200 releng r271819 : #i101457# avoiding usage of faspac with switch DONTCOMPRESS 2009-05-12 13:08:28 +0200 is r271816 : #i101457# avoiding usage of faspac with switch DONTCOMPRESS
Diffstat (limited to 'jvmfwk/plugins/sunmajor/javaenvsetup')
-rwxr-xr-xjvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
index 1a6f99f65ba4..19130d23ae7e 100755
--- a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
+++ b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
@@ -106,7 +106,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
errcode = jfw_existJRE(pInfo, &bExist);
if (errcode == JFW_E_NONE)
{
- if (false == findAndSelect(&pInfo))
+ if (!bExist && !findAndSelect(&pInfo))
return -1;
}
else