Re: Java problem when running CppunitTest_dbaccess_dialog_save on OS X 10.10 with Oracle JDK 1.8

2014-11-02 Thread Robert Antoni Buj i Gelonch
The file /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Info.plist contains only CommandLine string for JVMCapabilities key, for this reason OS X doesn't detect a full java runtime installation. Regards, Robert On Sat, Nov 1, 2014 at 11:32 PM, Robert Antoni Buj i Gelonch

Re: Java problem when running CppunitTest_dbaccess_dialog_save on OS X 10.10 with Oracle JDK 1.8

2014-11-01 Thread Robert Antoni Buj i Gelonch
HSQLDB requires some J2EE libs that aren't bundled within a standard JDK (javax.servlet). source files: ./workdir/UnpackedTarball/hsqldb/src/hsqlServlet.java ./workdir/UnpackedTarball/hsqldb/src/org/hsqldb/Servlet.java build: ./workdir/UnpackedTarball/hsqldb/classes/hsqlServlet.class

Re: Java problem when running CppunitTest_dbaccess_dialog_save on OS X 10.10 with Oracle JDK 1.8

2014-11-01 Thread Robert Antoni Buj i Gelonch
I think that the following command can solve the issue with Oracle's JDKs. sudo curl -o /Library/Java/Extensions/javaee-api-7.0.jar -O#L http://central.maven.org/maven2/javax/javaee-api/7.0/javaee-api-7.0.jar Regards, Robert On Sat, Nov 1, 2014 at 8:19 PM, Robert Antoni Buj i Gelonch

Re: Java problem when running CppunitTest_dbaccess_dialog_save on OS X 10.10 with Oracle JDK 1.8

2014-11-01 Thread Robert Antoni Buj i Gelonch
Not yet solved. No Java runtime present, requesting install. On Sat, Nov 1, 2014 at 8:41 PM, Robert Antoni Buj i Gelonch robert@gmail.com wrote: I think that the following command can solve the issue with Oracle's JDKs. sudo curl -o /Library/Java/Extensions/javaee-api-7.0.jar -O#L

Re: Java problem when running CppunitTest_dbaccess_dialog_save on OS X 10.10 with Oracle JDK 1.8

2014-10-28 Thread Stephan Bergmann
On 10/20/2014 01:48 PM, Alexander Thurgood wrote: I encountrered this very same problem, and solved it by installing the appropriate JavaforOSX2014-001.dmg, which allowed my build to complete the debug tests, but this apparently also has consequences for use of third party jdbc drivers that

Re: Java problem when running CppunitTest_dbaccess_dialog_save on OS X 10.10 with Oracle JDK 1.8

2014-10-24 Thread Alexander Thurgood
Le 20/10/2014 10:03, Tor Lillqvist a écrit : Stephan pointed me to old discussion in https://bugs.libreoffice.org/show_bug.cgi?id=74877 , and that is relevant also for OS X 10.10 and Java 1.8, it seems that one (sadly) really needs to install the Apple-supplied Java 1.6 in order to use an

Re: Java problem when running CppunitTest_dbaccess_dialog_save on OS X 10.10 with Oracle JDK 1.8

2014-10-21 Thread Robert Antoni Buj i Gelonch
Oracle doesn’t bundle /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/../../../../../Frameworks/JavaVM.framework/JavaVM, it comes with /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/../lib/server/libjvm.dylib. I've upload the patch

Re: Java problem when running CppunitTest_dbaccess_dialog_save on OS X 10.10 with Oracle JDK 1.8

2014-10-21 Thread Robert Antoni Buj i Gelonch
FIX: Oracle doesn’t bundle JAVA_HOME/../../../../../Frameworks/JavaVM.framework/JavaVM, it comes with JAVA_HOME/jre/lib/server/libjvm.dylib. (note that Apple installs under /System/Library, Oracle installs under /Library) On Tue, Oct 21, 2014 at 10:21 AM, Robert Antoni Buj i Gelonch

Java problem when running CppunitTest_dbaccess_dialog_save on OS X 10.10 with Oracle JDK 1.8

2014-10-20 Thread Tor Lillqvist
Our code to detect what Java versions there are on a machine and cleverly choose the right one is really sad and over-engineered. Something in there goes wrong when building LibreOffice on OS X 10.10 with the latest Oracle JDK (1.8.0_25) installed. The CppunitTest_dbaccess_dialog_save fails and

Re: Java problem when running CppunitTest_dbaccess_dialog_save on OS X 10.10 with Oracle JDK 1.8

2014-10-20 Thread Tor Lillqvist
Stephan pointed me to old discussion in https://bugs.libreoffice.org/show_bug.cgi?id=74877 , and that is relevant also for OS X 10.10 and Java 1.8, it seems that one (sadly) really needs to install the Apple-supplied Java 1.6 in order to use an Oracle-supplied leading-edge Java (1.7 or 1.8) with

Fwd: Java problem when running CppunitTest_dbaccess_dialog_save on OS X 10.10 with Oracle JDK 1.8

2014-10-20 Thread Tor Lillqvist
(Forwarding to the development list.) On 20 October 2014 16:39, Robert Antoni Buj i Gelonch robert@gmail.com wrote: Xcode doesn't include the java framework. jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx: /../../../../../Frameworks/*JavaVM*.framework/*JavaVM* //as of 1.6.0_22 You