Ask Your Question
0

How to select JRE 7 on Mac OS X 10.9 for LO 4.1x? [closed]

asked 2013-10-26 20:17:23 +0200

RW gravatar image

updated 2020-08-18 23:44:24 +0200

Alex Kemp gravatar image

I'm running LibreOffice 4.1.2.3 on Mac OSX 10.9. I have java version "1.7.0_45" (the most recent as of Oct. 26 2013) from Oracle installed. Java is working fine (i.e., I can compile and run Java apps). In LO, if I select Preferences -> Advanced and click on "Add..." to select a JRE, all selections result in the error message "The folder you selected does not contain a Java runtime environment. Please select a different folder."

For example, I've tried

/System/Library/Frameworks/JavaVM.framework/
/System/Library/Frameworks/JavaVM.framework/JavaVM/
/System/Library/Frameworks/JavaVM.framework/Versions/Current/
/System/Library/Frameworks/JavaVM.framework/Versions/Current/JavaVM/
/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/

and so on. All result in the same error message.

Any tips on what LO is asking for and where to find it?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-11-12 14:38:51.877655

1 Answer

Sort by » oldest newest most voted
0

answered 2013-10-27 01:17:28 +0200

oweng gravatar image

updated 2013-10-27 03:11:12 +0200

This is an earlier version of the same question, without any satisfactory resolution. From your question:

I have java version "1.7.0_45" (the most recent as of Oct. 26 2013) from Oracle installed.

Are you certain you are running the original Oracle version instead of the Apple-supplied variant? The answer here indicates there are differences in install location between the two e.g.,

Oracle: /Library/Java/JavaVirtualMachines/<JDK_version>/Contents

Apple: /System/Library/Java/JavaVirtualMachines/<JDK_version>/Contents

EDIT: Also note my answer here.

edit flag offensive delete link more

Comments

I didn't see that previous question initially. As far as I know, Apple doesn't supply Java anymore. If you install 10.9, there's no Java unless you go to java.com and download from there. LO gives the same error from any path involving Java, including the ones you list for "Oracle" above. I don't have the path you list as "Apple".

RW gravatar imageRW ( 2013-10-27 11:35:05 +0200 )edit

Hmmm. It does indeed appear that Apple is abandoning its own variant of Java in favour of the Oracle-supplied one, once again. There have evidently been other problems with the update Apple made in this respect. I'm not sure if that link helps (as it relates to Java 6 and the Safari plug-in). The situation of Java under Apple is starting to look ugly.

oweng gravatar imageoweng ( 2013-10-28 02:42:19 +0200 )edit

Note this answer from a developer.

oweng gravatar imageoweng ( 2013-10-28 03:01:57 +0200 )edit

Question Tools

1 follower

Stats

Asked: 2013-10-26 20:17:23 +0200

Seen: 7,337 times

Last updated: Oct 27 '13