Issue 126130

Summary: Java 6
Product: Base Reporter: Henry Harris <henry_harris>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P5 (lowest) CC: aorthen, jake.nadler, kschenk, larry.gusaas, mseidel, oooforum, villeroy
Version: 4.1.1Keywords: crash
Target Milestone: ---   
Hardware: Mac   
OS: OS X 10.10   
Issue Type: DEFECT Latest Confirmation in: 4.1.1
Developer Difficulty: ---
Attachments:
Description Flags
Window displayed after specifying the name of a new database
none
Error details after OpenOffice quite unexpectedly
none
Options dialog with Java 8
none
Crash report in plain text format
none
Options - OpenOffice - Java
none
Java Start Parameters
none
Class Path
none
Options - OpenOffice - Java none

Description Henry Harris 2015-02-25 11:28:05 UTC
Some features require Java 6, which is no longer available. I have Java 8 installed on my Mac. For example, I cannot create a Database.

Thank you in anticipation.
Comment 1 oooforum (fr) 2015-02-26 10:17:52 UTC
(In reply to Henry Harris from comment #0)
> Some features require Java 6, which is no longer available. 
Could you provide more details about these features?

See issue 125981
Comment 2 Henry Harris 2015-02-26 15:30:14 UTC
Created attachment 84549 [details]
Window displayed after specifying the name of a new database
Comment 3 Henry Harris 2015-02-26 15:35:05 UTC
Created attachment 84550 [details]
Error details after OpenOffice quite unexpectedly
Comment 4 Henry Harris 2015-02-26 15:35:38 UTC
After specifying the name of a new database, the Window in the screenshot is displayed, followed by OpenOffice quitting unexpectedly.

The error details are also attached.
Comment 5 Ariel Constenla-Haile 2015-02-27 15:14:23 UTC
(In reply to Henry Harris from comment #2)
> Created attachment 84549 [details]
> Window displayed after specifying the name of a new database

This message does not belong to OpenOffice, it looks like some error message from your system.

Did you try to configure the JRE 8 installed on your mac? From the menu OpenOffice - Preferences..., in Options - OpenOffice - Java, check "Use a Java runtime environment", and in the list it should appear Java 8.
Comment 6 Ariel Constenla-Haile 2015-02-27 15:23:59 UTC
Created attachment 84553 [details]
Options dialog with Java 8
Comment 7 Ariel Constenla-Haile 2015-02-27 15:25:49 UTC
Created attachment 84554 [details]
Crash report in plain text format
Comment 8 Ariel Constenla-Haile 2015-02-27 15:28:07 UTC
The crash report shows that there is indeed a bug. I cannot reproduce it, but it is worth investigating (a crash with a STL container).
It seems unrelated to Java/OpenOffice Base.
Comment 9 Henry Harris 2015-02-27 16:19:18 UTC
Hi there,

I hope that I have not confused anybody. I did struggle with completing the form and adding attachments.

To clarify hopefully:

*  I am running an iMac under OS X 10.10.2 (14C109)
*  I am using Apache OpenOffice 4.1.1
*  Java Version 8 Update 11 is installed

It appears that some features in this configuration of OpenOffice require Java 6, which is no longer available. An example can be seen when creating a new database. A message referring to "soffice" appears and OpenOffice quits unexpectedly.

The screen shots show the precise details, together with a text file of the problem details.

Please let me know whether this is now sufficient information.

Thank you in anticipation.

Regards,

Henry
Comment 10 Ariel Constenla-Haile 2015-02-27 18:42:32 UTC
(In reply to Henry Harris from comment #9)
> Please let me know whether this is now sufficient information.

See comment 5
"Did you try to configure the JRE 8 installed on your mac? From the menu OpenOffice - Preferences..., in Options - OpenOffice - Java, check "Use a Java runtime environment", and in the list it should appear Java 8."
If possible, please attach a screenshot of that dialog.
Comment 11 Henry Harris 2015-02-28 08:08:00 UTC
Thank you for comment 10.

Guess what, when I turn off the option "Use a Java runtime environment, using my example, the database is created correctly.

Can anyone satisfy my curiosity s to what this is?

Screenshots attached hopefully.
Comment 12 Henry Harris 2015-02-28 08:08:55 UTC
Created attachment 84556 [details]
Options - OpenOffice - Java
Comment 13 Henry Harris 2015-02-28 08:09:51 UTC
Created attachment 84557 [details]
Java Start Parameters
Comment 14 Henry Harris 2015-02-28 08:10:44 UTC
Created attachment 84558 [details]
Class Path
Comment 15 oooforum (fr) 2015-03-02 09:11:34 UTC
(In reply to Henry Harris from comment #12)
> Created attachment 84556 [details]
> Options - OpenOffice - Java
Wrong screenshot, could you report it
Comment 16 Henry Harris 2015-03-02 10:16:54 UTC
Created attachment 84563 [details]
Options - OpenOffice - Java

Sorry, it appears I had some finger trouble. I hope this screenshot is the one being sought.

Thanks

Henry
Comment 17 Andreas Säger 2015-03-03 10:34:57 UTC
@Comment 11
When you turn off Java entirely you can still create new databases. These databases will be connected to external dBase directories. dBase directories, csv directories and spreadsheets are so called "file based databases" with very limited functionality.
Without Java you can still create tables, queries and forms manually without any wizard. You can not produce any reports but you can use Calc and stand-alone Writer documents for reporting.
Comment 18 Henry Harris 2015-03-03 10:45:39 UTC
Thank you for the last comment 17.

Are there any plans to work with Java 8 in the future and remove these limitations?
Comment 19 oooforum (fr) 2015-03-17 08:01:40 UTC
*** Issue 126182 has been marked as a duplicate of this issue. ***
Comment 20 Larry Gusaas 2015-03-18 17:06:21 UTC
Apache OpenOffice works with Java 8, but you also need to have Java 6 installed. Java 6 was provided by Apple, not Oracle. It is still available.
To download it go to http://support.apple.com/kb/DL1572
Comment 21 Larry Gusaas 2015-03-18 23:27:32 UTC
(In reply to lgusaas from comment #20)
> Apache OpenOffice works with Java 8, but you also need to have Java 6
> installed. Java 6 was provided by Apple, not Oracle. It is still available.
> To download it go to http://support.apple.com/kb/DL1572

Apache OpenOffice does not require Java 6, but requires it to installed on Macs before AOO will recognize newer versions of Java. This is a bug in AOO code. Apple used to supply their version of Java up to and including Java 6, but no longer does so.
Comment 22 Henry Harris 2015-03-19 13:51:08 UTC
(In reply to lgusaas from comment #20)
> Apache OpenOffice works with Java 8, but you also need to have Java 6
> installed. Java 6 was provided by Apple, not Oracle. It is still available.
> To download it go to http://support.apple.com/kb/DL1572

All works perfectly. Great.
Comment 23 orcmid 2015-03-19 15:51:53 UTC
(In reply to Henry Harris from comment #22)
> (In reply to lgusaas from comment #20)
> > Apache OpenOffice works with Java 8, but you also need to have Java 6
> > installed. Java 6 was provided by Apple, not Oracle. It is still available.
> > To download it go to http://support.apple.com/kb/DL1572
> 
> All works perfectly. Great.

Funny.  We don't have a "Works for Me" tabulation, which might have been better than resolving it on one success.

In any case, I think the web page about this issue needs to be updated.  We can't do anything about error messages from the OS, but we do need a place that MAC OSX users can find and employ easily without dealing with Bugzilla.

Perhaps a new issue is best for that.  When one is up, it will be cross-linked.
Comment 24 orcmid 2015-03-19 15:54:12 UTC
.
Comment 25 Larry Gusaas 2015-03-19 17:25:56 UTC
(In reply to orcmid from comment #23)
> (In reply to Henry Harris from comment #22) 
> > All works perfectly. Great.
> 
> Funny.  We don't have a "Works for Me" tabulation, which might have been
> better than resolving it on one success.
> 
> In any case, I think the web page about this issue needs to be updated.  We
> can't do anything about error messages from the OS, but we do need a place
> that MAC OSX users can find and employ easily without dealing with Bugzilla.
> 
> Perhaps a new issue is best for that.  When one is up, it will be
> cross-linked.

The problem is not fixed. AOO does not find Java unless Java 6 is installed.
The location of newer versions of Java on Macs has been changed and AOO has not been re-written to find that location.

There are many reports (and the workaround) of this on the Forum.
Comment 26 orcmid 2015-03-19 17:54:49 UTC
So we need to get to confirmed state here.
Comment 27 orcmid 2015-03-19 17:55:13 UTC
.
Comment 28 oooforum (fr) 2017-04-04 16:32:02 UTC
*** Issue 127384 has been marked as a duplicate of this issue. ***
Comment 29 Matthias Seidel 2021-06-17 14:17:02 UTC
Java detection in AOO was updated some versions ago.
I have no problems finding AdoptOpenJDK 8 and 11 with AOO4.1.10 on macOS.

Can someone confirm?
Comment 30 oooforum (fr) 2023-02-06 07:53:35 UTC
Agreed, seems to be fixed since 4.1.7.

Remember that JRE 6 is out-to-date now.