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
02864717
Kaydet (Commit)
02864717
authored
Nis 08, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Look for Oracle Java 7 in a 64-bit LibreOffice on OS X
Change-Id: Ife3fc97c11ab5216df62aba92dc11ed6cf07c154
üst
2ecae4cd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
2 deletions
+25
-2
javavendors_macosx.xml
jvmfwk/distributions/OpenOfficeorg/javavendors_macosx.xml
+5
-1
sunjre.cxx
jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
+10
-1
util.cxx
jvmfwk/plugins/sunmajor/pluginlib/util.cxx
+10
-0
No files found.
jvmfwk/distributions/OpenOfficeorg/javavendors_macosx.xml
Dosyayı görüntüle @
02864717
...
...
@@ -20,7 +20,7 @@
<javaSelection
xmlns=
"http://openoffice.org/2004/java/framework/1.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<updated>
20
06-05-02
</updated>
<updated>
20
13-04-09
</updated>
<vendorInfos>
<vendor
name=
"Apple Computer, Inc."
>
...
...
@@ -29,8 +29,12 @@
<vendor
name=
"Apple Inc."
>
<minVersion>
1.5.0
</minVersion>
</vendor>
<vendor
name=
"Oracle Corporation"
>
<minVersion>
1.7.0
</minVersion>
</vendor>
</vendorInfos>
<plugins>
<library
vendor=
"Oracle Corporation"
>
vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/libsunjavaplugin.dylib
</library>
<library
vendor=
"Apple Inc."
>
vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/libsunjavaplugin.dylib
</library>
<library
vendor=
"Apple Computer, Inc."
>
vnd.sun.star.expand:$URE_INTERNAL_LIB_DIR/libsunjavaplugin.dylib
</library>
</plugins>
...
...
jvmfwk/plugins/sunmajor/pluginlib/sunjre.cxx
Dosyayı görüntüle @
02864717
...
...
@@ -59,6 +59,9 @@ char const* const* SunInfo::getRuntimePaths(int * size)
"/bin/classic/jvm.dll"
,
// The 64-bit JRE has the jvm in bin/server
"/bin/server/jvm.dll"
#elif defined MACOSX && defined X86_64
// Oracle Java 7, under /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
"/lib/server/libjvm.dylib"
#elif defined UNX
"/lib/"
JFW_PLUGIN_ARCH
"/client/libjvm.so"
,
"/lib/"
JFW_PLUGIN_ARCH
"/server/libjvm.so"
,
...
...
@@ -71,12 +74,18 @@ char const* const* SunInfo::getRuntimePaths(int * size)
char
const
*
const
*
SunInfo
::
getLibraryPaths
(
int
*
size
)
{
#if
def
UNX
#if
defined
UNX
static
char
const
*
ar
[]
=
{
#if defined MACOSX && defined X86_64
// Oracle Java 7, under /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
"/lib/server"
,
"/lib"
#else
"/lib/"
JFW_PLUGIN_ARCH
"/client"
,
"/lib/"
JFW_PLUGIN_ARCH
"/server"
,
"/lib/"
JFW_PLUGIN_ARCH
"/native_threads"
,
"/lib/"
JFW_PLUGIN_ARCH
#endif
};
*
size
=
SAL_N_ELEMENTS
(
ar
);
return
ar
;
...
...
jvmfwk/plugins/sunmajor/pluginlib/util.cxx
Dosyayı görüntüle @
02864717
...
...
@@ -61,6 +61,7 @@ using ::rtl::Reference;
#endif
#ifdef UNX
#if !(defined MACOSX && defined X86_64)
namespace
{
char
const
*
g_arJavaNames
[]
=
{
""
,
...
...
@@ -113,6 +114,7 @@ char const *g_arSearchPaths[] = {
#endif
};
}
#endif
#endif // UNX
namespace
jfw_plugin
...
...
@@ -1137,6 +1139,14 @@ void createJavaInfoDirScan(vector<rtl::Reference<VendorBase> >& vecInfos)
getJREInfoByPath
(
"file:////usr/jdk/latest"
,
vecInfos
);
}
#elif defined MACOSX && defined X86_64
void
createJavaInfoDirScan
(
vector
<
rtl
::
Reference
<
VendorBase
>
>&
vecInfos
)
{
// Oracle Java 7
getJREInfoByPath
(
"file:///Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home"
,
vecInfos
);
}
#else
void
createJavaInfoDirScan
(
vector
<
rtl
::
Reference
<
VendorBase
>
>&
vecInfos
)
{
...
...
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