![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Way Too Much Ubuntu
![]() |
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.
|
|
|
|
|
|
#2 |
|
Way Too Much Ubuntu
![]() |
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 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]
![]()
__________________
There's always a workaround; finding it is the hard part.
|
|
|
|
|
|
#3 |
|
Way Too Much Ubuntu
![]() |
__________________
There's always a workaround; finding it is the hard part.
|
|
|
|
|
|
#4 |
|
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
|
|
|
|
|
|
#5 |
|
Way Too Much Ubuntu
![]() |
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.
|
|
|
|
|
|
#6 |
|
Way Too Much Ubuntu
![]() |
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.
|
|
|
|
| Bookmarks |
| Tags |
| jave, jre sun-java-6 |
| Thread Tools | |
| Display Modes | |
|
|