Aaaargh! See below: On Friday 17 May 2002 10:30, Togan Muftuoglu wrote:
* Brian W. Carver; <bwcarver@earthlink.net> on 17 May, 2002 wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I had the exact same problem as John on SuSE 8.0, no Java Runtime Environment found by OOo, but no problem in SO5.2. I read your solution with eager anticipation, went to Yast2, and see that java2 is already installed on my system. Why then can't OOo find it?
AFAIK they use different JAVA version and JAVA variables If you have both of the JAVA's installed 1.1.8 and 1.3
open a terminal window and issue the command
source setJava Java2
and then in the same window enter the executable name for OO and see if it works
I don't have StarOffice installed, so I don't know if it would find jre, or even if I have a jre installed. Anyway, I was installing OO and hit the message "No Java Runtime Environment was found which can be used by OpenOffice.org", with an offer to install 00 without Java support. Java support was important enough that it's assumed as a default in the installer, therefore I want it (not because I know what use I might have for it..., but just because somebody smarter than I am thought it important enough to make it a default setting). I read this e-mail thread, aborted the OO installation, and issued the the command you suggest (source setJava Java2) and got no error message. I then re-ran ./startup for OpenOffice, and got exactly the same problem again -- "No Java runtime environment...:". A search of my entire drive for *jre* gave a bunch of hits (see end of message for complete list), most of which were docs, but one of which was a directory: /usr/lib/SunJava2-1.3.1/jre Under that, were ..../jre /bin .../jre/lib and .../jre/plugin directories. I tried pointing the OO installer at every damn one of them, with no success. Ok, so I'm all screwed up here. In spite of what I told YaST2 when I first installed SuSE 8, which was: "Install anything that even smells like Java...", I probably don't really have it, do I? Just some useless files and directories with "jre" in their names, but not the real stuff. Right? How would I know? Is there an rpm -q command that gives "Tell me if there's anything jre-like installed"??? BELOW is the result of a Konqueror "Find file" for files named *jre*: file:/usr/lib/SunJava2-1.3.1/jre file:/usr/share/doc/packages/java2/jre file:/home/me/.kde/share/apps/RecentDocuments/jre.desktop file:/opt/kde2/share/apps/quanta/doc/php/function.hw-array2objrec.html file:/opt/kde2/share/apps/quanta/doc/php/function.hw-objrec2array.html file:/usr/lib/SunJava1-1.1.8/bin/i686/green_threads/jre file:/usr/lib/SunJava1-1.1.8/bin/i686/green_threads/jre_g file:/usr/lib/SunJava1-1.1.8/bin/i686/native_threads/jre file:/usr/lib/SunJava1-1.1.8/bin/i686/native_threads/jre_g file:/usr/lib/SunJava1-1.1.8/bin/jre file:/usr/lib/SunJava1-1.1.8/bin/jre_g file:/usr/share/doc/sdb/en/html/jreuter_add_rem_dasd.html file:/usr/share/doc/sdb/en/html/jreuter_imap_filemax.html file:/usr/share/doc/susehilf/raw_pacs/en/IBMJava2-JRE file:/usr/share/doc/susehilf/raw_pacs/en/java2-jre file:/usr/share/sgml/docbook/docbook-xsl-stylesheets-1.42/doc/jrefhtml.xsl file:/usr/share/sgml/docbook/docbook-xsl-stylesheets-1.42/docsrc/jrefhtml.xsl file:/usr/share/sgml/docbook/docbook-xsl-stylesheets-1.42/docsrc/xsl2jref.xsl -end- PS: Why NOT hijack this thread? To me, it's the same problem except that I'm running SuSE 8 instead of SuSE 7.3. Does that make some kind of difference?