Understanding the Java "defective" issue

Discuss setup / installation issues - Add a spell checker, Language pack?
Post Reply
Ulodesk
Posts: 2
Joined: Wed Feb 27, 2013 10:17 pm

Understanding the Java "defective" issue

Post by Ulodesk »

I searched the forum for this issue, but I'm new of OO and can't make clear sense out of what I found.

I had installed OO the other day for some work in an enviroment where everyone is using it. (I work as a Word DTP). Since I prefer keyboard shortcuts and have a list of copyediting macros I have recorded in Word, I thought I'd replicate them in OO. I recorded two of the simplest and then went to run them, only to get the defective Java message. I have the latest Java update (v. 15, I believe); due to the security issues in the headlines of recent weeks, I had uninstalled it completely, but and then reinstalled with a fresh download when I saw I would need it for OO.

From what I have seen, it appears that one must use an older version of Java, but I can't make out which is the most recent one that works for macros. Is there a simple answer to this, and is it readily available still?

Thanks.
Open Office 3.4.1 on Windows 7 64-bit
thomasjk
Volunteer
Posts: 4453
Joined: Tue Dec 25, 2007 4:52 pm
Location: North Carolina

Re: Understanding the Java "defective" issue

Post by thomasjk »

V13 works with 3.4.1. Avaialble here http://www.oldapps.com/java.php?old_java=11828. Java update 15 works for me. Do you have the 32bit version? Its is required for OOo.
Tom K.
Windows 11 23H2
LibreOffice
User avatar
Villeroy
Volunteer
Posts: 31344
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Understanding the Java "defective" issue

Post by Villeroy »

You don't need any Java to run this office. You don't even need it to run macros. Call any Basic macros from somewhere else other than Tools>Macros>Run.
For instance, Tools>Macros>Organize>Basic, button [Run] runs a Basic macro without any Java installed on the system.
It is rather unlikely that you stumble upon a feature that is implemented in Java.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Bill
Volunteer
Posts: 8952
Joined: Sat Nov 24, 2007 6:48 am

Re: Understanding the Java "defective" issue

Post by Bill »

Legacy versions of OOo and AOO 3.4.0 and AOO 3.4.1 can use 32-bit Java 6.

AOO 3.4.0 and 3.4.1 can use 32-bit Java 7 if the Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) is installed. The "JRE is defective" error occurs if the 2010 redistributable is not installed.
AOO 4.1.14 on Ubuntu MATE 22.04
Post Reply