Ask Your Question

Open JDK - how to do this? [closed]

asked 2013-07-28 20:38:27 +0100

briansmith gravatar image

Looking at upgrading to the latest version of Libre Office for Linux and notice that the release notes indicate that the GCJ Java variant has issues with Libre Office and that it is recommended that Open JDK be used instead.What is involved in this?

Does one have to remove GCJ Java: if so how. Does one have to install OpenJDK? If so how.

FYI I have only recently installed Ubuntu and am a real beginner at all of this.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-11-04 15:40:17.834053

2 Answers

Sort by » oldest newest most voted

answered 2013-07-28 21:23:16 +0100

David gravatar image

updated 2013-07-28 21:25:59 +0100

This is more Ubuntu than LibO :) but no matter! You might already be good to go. Open up the terminal, and type this at the prompt:

java -version

Then hit "Enter", and see what it reports. It should tell you both version, as well as "flavour".

As for side-by-side, have a look at this AskUbuntu Q&A. You could search that site for more targetted support on this particular issue.

Hope that's a help!

edit flag offensive delete link more


Thanks - great help.

briansmith gravatar imagebriansmith ( 2013-07-28 22:50:36 +0100 )edit

answered 2013-07-29 14:35:53 +0100

L-user gravatar image

updated 2013-07-29 14:36:51 +0100

Maybe you don't need Java at all. I am using Ubuntu 12.04 and have installed LibreOffice 4.1 and no java is really required for my work. Java is needed in some special situations like in Writer if you are using File | Wizards. Some of them may not work, because they require Java.

The only really Java dependency is LibreOffice Base. But if you don't use it then you most probably will never need Java to use LibreOffice.

But if you would like to install Java anyway, I suggest to do the following:
1. Open Ubuntu Software Center.
2. In right menu type in "java jre" without double quotes.
3. "OpenJDK Java 7 Runtime" is displayed. Double click it and install it.

1. Open Terminal and type in:

sudo apt-get install openjdk-7-jre-headless
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-07-28 20:38:27 +0100

Seen: 1,402 times

Last updated: Jul 29 '13