Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
5775129a
Kaydet (Commit)
5775129a
authored
Kas 09, 2004
tarafından
Jens-Heiner Rechtien
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS jl13 (1.5.10); FILE MERGED
2004/09/30 14:39:31 jl 1.5.10.1: #i29390#
üst
b871fa10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
javaldx.cxx
jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
+11
-10
No files found.
jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
Dosyayı görüntüle @
5775129a
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: javaldx.cxx,v $
*
* $Revision: 1.
6
$
* $Revision: 1.
7
$
*
* last change: $Author:
rt $ $Date: 2004-10-28 16:24:18
$
* last change: $Author:
hr $ $Date: 2004-11-09 13:58:34
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -94,21 +94,22 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
fprintf
(
stdout
,
HELP_TEXT
);
// default
return
0
;
}
javaFrameworkError
errcode
=
JFW_E_NONE
;
sal_Bool
bEnabled
=
sal_False
;
if
(
jfw_getEnabled
(
&
bEnabled
)
!=
JFW_E_NONE
)
errcode
=
jfw_getEnabled
(
&
bEnabled
);
if
(
errcode
==
JFW_E_NONE
&&
bEnabled
==
sal_False
)
{
//Do not do any preparation because that may only slow startup time.
return
0
;
}
else
if
(
errcode
!=
JFW_E_NONE
&&
errcode
!=
JFW_E_DIRECT_MODE
)
{
fprintf
(
stderr
,
"javaldx failed!
\n
"
);
return
-
1
;
}
if
(
bEnabled
==
sal_False
)
{
//Do not do any preparation because that may only slow startup time.
return
0
;
}
JavaInfo
*
pInfo
=
NULL
;
javaFrameworkError
errcode
=
JFW_E_NONE
;
errcode
=
jfw_getSelectedJRE
(
&
pInfo
);
if
(
errcode
==
JFW_E_INVALID_SETTINGS
)
...
...
@@ -130,7 +131,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
fprintf
(
stderr
,
"javaldx: Could not find a Java Runtime Environment!
\n
"
);
return
0
;
}
else
if
(
errcode
!=
JFW_E_NONE
)
else
if
(
errcode
!=
JFW_E_NONE
&&
errcode
!=
JFW_E_DIRECT_MODE
)
{
fprintf
(
stderr
,
"javaldx failed!
\n
"
);
return
-
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment