Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Absolute Beginner Talk
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Absolute Beginner Talk
The perfect starting place to find out more about computers, Linux and Ubuntu.

 
Thread Tools Display Modes
Old May 5th, 2008   #1
Xoanan
Way Too Much Ubuntu
 
Xoanan's Avatar
 
Join Date: Aug 2006
Location: Gallatin Tennessee
Beans: 308
Xubuntu 9.10 Karmic Koala
Send a message via AIM to Xoanan Send a message via Yahoo to Xoanan
Question Open Office Base JRE issue

Hi All

I have been having trouble installing Java onto OO Base lately. I keep adding it and it doesn't seem to like it much. I have uninstalled and reinstalled Java to no avail. Here are some pix that describe it



Then I attempt to install java



Then I close base and reopen it only to get the same error message. Then I go into tools -> options -> open office.org -> java and I see that none of them are selected. I must be missing something, but what?

__________________
There's always a workaround; finding it is the hard part.
Xoanan is offline   Reply With Quote
Old May 6th, 2008   #2
Xoanan
Way Too Much Ubuntu
 
Xoanan's Avatar
 
Join Date: Aug 2006
Location: Gallatin Tennessee
Beans: 308
Xubuntu 9.10 Karmic Koala
Send a message via AIM to Xoanan Send a message via Yahoo to Xoanan
Question Re: Open Office Base JRE issue

I discovered something through reading some threads here.
Java 6 is on the machine but it is not running.

Here is etc/jvm

Code:
 This file defines the default system JVM search order. Each
# JVM should list their JAVA_HOME compatible directory in this file.
# The default system JVM is the first one available from top to
# bottom.

/usr/lib/jvm/java-gcj
/usr/lib/jvm/ia32-java-1.5.0-sun
/usr/lib/jvm/java-1.5.0-sun
/usr
I try to install java 6 and get this

Code:
xoanan@ubuntu:/$ sudo apt-get install sun-java6-bin sun-java6-jre
Reading package lists... Done
Building dependency tree       
Reading state information... Done
sun-java6-bin is already the newest version.
sun-java6-jre is already the newest version.
sun-java6-jre set to manually installed.
The following packages were automatically installed and are no longer required:
  libflashsupport linux-headers-2.6.24-16-generic linux-headers-2.6.24-16
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up sun-java6-doc (6-06-0ubuntu1) ...
This package is an installer package, it does not actually contain the
JDK documentation.  You will need to go download one of the
archives:

    jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

    http://java.sun.com/javase/downloads/

now and download.  The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort] 
This package is an installer package, it does not actually contain the
JDK documentation.  You will need to go download one of the
archives:

    jdk-6-doc.zip jdk-6-doc-ja.zip

(choose the non-update version if this is the first installation).
Please visit

    http://java.sun.com/javase/downloads/

now and download.  The file should be owned by root.root and be copied
to /tmp.

[Press RETURN to try again, 'no' + RETURN to abort]
I have downloaded the documentation, but still no luck
__________________
There's always a workaround; finding it is the hard part.
Xoanan is offline   Reply With Quote
Old May 7th, 2008   #3
Xoanan
Way Too Much Ubuntu
 
Xoanan's Avatar
 
Join Date: Aug 2006
Location: Gallatin Tennessee
Beans: 308
Xubuntu 9.10 Karmic Koala
Send a message via AIM to Xoanan Send a message via Yahoo to Xoanan
Question Re: Open Office Base JRE issue

Reported on launchpad

https://bugs.launchpad.net/ubuntu/+s...rg/+bug/227679
__________________
There's always a workaround; finding it is the hard part.
Xoanan is offline   Reply With Quote
Old May 7th, 2008   #4
jimv
Fresh Brewed Ubuntu
 
Join Date: Dec 2006
Location: Oregon, US
Beans: 1,499
Ubuntu 9.04 Jaunty Jackalope
Re: Open Office Base JRE issue

Did you try to install sun-java6-doc? because you need sun-java6-jre
jimv is offline   Reply With Quote
Old May 7th, 2008   #5
Xoanan
Way Too Much Ubuntu
 
Xoanan's Avatar
 
Join Date: Aug 2006
Location: Gallatin Tennessee
Beans: 308
Xubuntu 9.10 Karmic Koala
Send a message via AIM to Xoanan Send a message via Yahoo to Xoanan
Question Re: Open Office Base JRE issue

Yep; several times in fact; I even uninstalled and reinstalled java common, and Open Office. Nada.
__________________
There's always a workaround; finding it is the hard part.
Xoanan is offline   Reply With Quote
Old May 8th, 2008   #6
Xoanan
Way Too Much Ubuntu
 
Xoanan's Avatar
 
Join Date: Aug 2006
Location: Gallatin Tennessee
Beans: 308
Xubuntu 9.10 Karmic Koala
Send a message via AIM to Xoanan Send a message via Yahoo to Xoanan
Talking Re: Open Office Base JRE issue

Found a fix on launchpad; apparently, with the release of Hardy, the file home/openoffice.org2/usr/config/javasettings_linux_x86.xml leaves java disabled, so you have to delete that and reboot so that open office creates it again. It worked!


Thanx for the assist!
__________________
There's always a workaround; finding it is the hard part.
Xoanan is offline   Reply With Quote

Bookmarks

Tags
jave, jre sun-java-6

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:56 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry