RE: [SLE] Newbie problem Open Office & Java Suse V 7.3
install the package java2. This is needed by OO. It is present within 7.3, so YaST2 will do the job.... Regards Harry
-----Original Message----- From: John Blue [SMTP:jblue@bestpond.com] Sent: Friday, May 17, 2002 12:48 PM To: suse-linux-e@suse.com Subject: [SLE] Newbie problem Open Office & Java Suse V 7.3
I have been moving along slowly with Linux V 7.3, managing to get some things working on a PC dual boot system with NT4. I have Samba almost there ( a couple of questions will probably arise after some more reading).
Can now access the net, via a PC with ADSL connection (NT4), and this works fine, so I decided to download Open Office V 1.0, (which I have been using under Windows). So I got the Linux file downloaded and started the installation.
My initial problem is that the install process indicated "No Java Environment Found". I tried downloading a java runtime from the SuSE CD and re-booted, same error message.
I had not installed Star Office 5.2, but decided to do that just to see if it would install. Yes I could install it, and it found the java environment.
The installation I have is SuSE V 7.3 as per the CD's plus an online update of patches to the installation. The only "outside" software is Open Office.
Can some kind user offer advice as to how I can troubleshoot this problem, or provide the basic steps to resolve this installation process. Please bear with me in that I am still learning basic Linux commands, and am still ploughing my way through How To's and man pages. (As an aside I am almost really ready to commit to V8.0 Professional).
John
John Blue, PO Box 542 Mawson ACT 2607 Australia email: jblue@bestpond.com Fax: +61 2 6291 1119
Thought for the day: Intuition (n): an uncanny sixth sense which tells people that they are right, whether they are or not.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
Harry, Thanks ....worked perfectly! Best wishes, John
install the package java2. This is needed by OO. It is present within 7.3, so YaST2 will do the job....
Regards Harry
-----Original Message----- From: John Blue [SMTP:jblue@bestpond.com] Sent: Friday, May 17, 2002 12:48 PM To: suse-linux-e@suse.com Subject: [SLE] Newbie problem Open Office & Java Suse V 7.3
I have been moving along slowly with Linux V 7.3, managing to get some things working on a PC dual boot system with NT4. I have Samba almost there ( a couple of questions will probably arise after some more reading).
Can now access the net, via a PC with ADSL connection (NT4), and this works fine, so I decided to download Open Office V 1.0, (which I have been using under Windows). So I got the Linux file downloaded and started the installation.
My initial problem is that the install process indicated "No Java Environment Found". I tried downloading a java runtime from the SuSE CD and re-booted, same error message.
I had not installed Star Office 5.2, but decided to do that just to see if it would install. Yes I could install it, and it found the java environment.
The installation I have is SuSE V 7.3 as per the CD's plus an online update of patches to the installation. The only "outside" software is Open Office.
Can some kind user offer advice as to how I can troubleshoot this problem, or provide the basic steps to resolve this installation process. Please bear with me in that I am still learning basic Linux commands, and am still ploughing my way through How To's and man pages. (As an aside I am almost really ready to commit to V8.0 Professional).
John
John Blue, PO Box 542 Mawson ACT 2607 Australia email: jblue@bestpond.com Fax: +61 2 6291 1119
Thought for the day: Intuition (n): an uncanny sixth sense which tells people that they are right, whether they are or not.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
John Blue, PO Box 542 Mawson ACT 2607 Australia email: jblue@bestpond.com Fax: +61 2 6291 1119 Thought for the day: The E-mail of the species is more deadly than the mail..
-----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? Berge, Harry ten wrote: | install the package java2. This is needed by OO. It is present within 7.3, | so YaST2 will do the job.... | | Regards Harry | | |>-----Original Message----- |>From: John Blue [SMTP:jblue@bestpond.com] |>Sent: Friday, May 17, 2002 12:48 PM |>To: suse-linux-e@suse.com |>Subject: [SLE] Newbie problem Open Office & Java Suse V 7.3 |> |>I have been moving along slowly with Linux V 7.3, managing to get |>some things working on a PC dual boot system with NT4. I have Samba |>almost there ( a couple of questions will probably arise after some |>more reading). |> |>Can now access the net, via a PC with ADSL connection (NT4), and this |>works fine, so I decided to download Open Office V 1.0, (which I have |>been using under Windows). So I got the Linux file downloaded and |>started the installation. |> |>My initial problem is that the install process indicated "No Java |>Environment Found". I tried downloading a java runtime from the SuSE |>CD and re-booted, same error message. |> |>I had not installed Star Office 5.2, but decided to do that just to |>see if it would install. Yes I could install it, and it found the |>java environment. |> |>The installation I have is SuSE V 7.3 as per the CD's plus an online |>update of patches to the installation. The only "outside" software is |>Open Office. |> |>Can some kind user offer advice as to how I can troubleshoot this |>problem, or provide the basic steps to resolve this installation |>process. Please bear with me in that I am still learning basic Linux |>commands, and am still ploughing my way through How To's and man |>pages. (As an aside I am almost really ready to commit to V8.0 |>Professional). |> |>John |> |>John Blue, |>PO Box 542 |>Mawson ACT 2607 |>Australia |>email: jblue@bestpond.com |>Fax: +61 2 6291 1119 |> |>Thought for the day: |> Intuition (n): an uncanny sixth sense which tells people |> that they are right, whether they are or not. |> |> |> |>-- |>To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com |>For additional commands send e-mail to suse-linux-e-help@suse.com |> |>Also check the archives at http://lists.suse.com | | - -- Key fingerprint = AEAC 149C 913C 59DF 6E29 ~ 91FC 0134 1268 021C 5B0B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE85Q+uATQSaAIcWwsRAlZwAJ9fd6nQR87lgDmzFpR3HEma/K4qzACfbdgz aleYaMNmQmTFLP8uEtsB8Hc= =hLDl -----END PGP SIGNATURE-----
* 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 -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
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?
On Thursday 13 June 2002 07:58 pm, Kevin McLauchlan wrote:
OpenOffice, and got exactly the same problem again -- "No Java runtime environment...:".
OO & StarOffice have much in common ~ for me, StarOffice works just fine without Java :) best wishes ____________ sent on Linux ____________
* Kevin McLauchlan; <kmclauchlan@chrysalis-its.com> on 13 Jun, 2002 wrote:
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...:".
Strage as I have both Java1 and Java2 installed and I am using this command continiously. One thing you have to remember is when you give source setJava Java2 command it is only valid for that terminal so You have to runthe OO installer from that terminal. Since you have no error messages what does "echo $JAVA_HOME" result to ? -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
On Thursday 13 June 2002 16:47, Togan Muftuoglu wrote:
Strage as I have both Java1 and Java2 installed and I am using this command continiously. One thing you have to remember is when you give source setJava Java2 command it is only valid for that terminal so You have to runthe OO installer from that terminal.
Since you have no error messages what does "echo $JAVA_HOME" result to ?
Togan: Pending your review of the following you may want to include it in the FAQ: source: discuss@openoffice.org _______________________________ I ran into a similar problem with InterBase - it requires JDK 1.1.8. Here's what to do: 1. run setup -net as root. (may already be done) 2. run setup as a user, and select any JDK you can (or none). 3. edit the file $HOME/OpenOffice.org1.0/user/config/javarc a. replace "RequiredVersion=1.3.0" with "RequiredVersion=1.2.1" (or whatever version you need to install). b. delete 1.2.1 from "ExcludeVersion=1.1.6 1.1.7b 1.1.7B 1.1.8 1.2.1" if needed. 4. run /path/to/OpenOffice.org1.0/program/jvmsetup and you should be able to select the desired version of the JDK. I can confirm that this works, but I don't know what issues this will cause with your OO.org install... Nothing has happened to me so far :) Anyone on the list know if bad things will happen? Enjoy! __________________________________ Chris H.
A post by Jonathan Wilson on 3 May touched on this, and just in time for my test install of SO6 yesterday. OO/SO will not recognise 1.1.8 at all, and Chris' points below both explain that, and provide a clever way of dealing with it. For those like my namesake, though, who just want OO/SO to work with Java2, the short reason for why it won't see it is that the symlink java in /usr/lib is pointing to 1.1.8. Before or during the install, therefore, open a terminal, and enter the following: su (+password) cd /usr/lib mv java java1 ln -s SunJava2-1.3.1 java exit OO/SO should now see Java2, and you can continue with the install. HTH Kevin
I ran into a similar problem with InterBase - it requires JDK 1.1.8. Here's what to do:
1. run setup -net as root. (may already be done) 2. run setup as a user, and select any JDK you can (or none). 3. edit the file $HOME/OpenOffice.org1.0/user/config/javarc a. replace "RequiredVersion=1.3.0" with "RequiredVersion=1.2.1" (or whatever version you need to install). b. delete 1.2.1 from "ExcludeVersion=1.1.6 1.1.7b 1.1.7B 1.1.8 1.2.1" if needed. 4. run /path/to/OpenOffice.org1.0/program/jvmsetup and you should be able to select the desired version of the JDK.
On Saturday 15 June 2002 16:57, Kevin Donnelly wrote:
A post by Jonathan Wilson on 3 May touched on this, and just in time for my test install of SO6 yesterday. OO/SO will not recognise 1.1.8 at all, and Chris' points below both explain that, and provide a clever way of dealing with it.
For those like my namesake, though, who just want OO/SO to work with Java2, the short reason for why it won't see it is that the symlink java in /usr/lib is pointing to 1.1.8. Before or during the install, therefore, open a terminal, and enter the following: su (+password) cd /usr/lib mv java java1 ln -s SunJava2-1.3.1 java exit
OO/SO should now see Java2, and you can continue with the install.
Actually, I tried to write back and say thanks to Togan because I had finally, correctly read what he was telling me, and it worked. On the first attempt, I had several xterms open and, until it was said explicitly, I didn't understand that the "source..." command was effective only within the terminal in which it was issued. I didn't twig to the fact that it was a bash subcommand and would not have effect outside the single instance of the shell. So, once the dummy acquired enough clues to follow directions as they were written, everything worked. However, my posts since Thursday have been hitting the [SLE] bit-bucket, with no warnings or error messages. OO is now in, including Java support. I may never know why I wanted Java support... but if I'd failed to include it, I would have found myself needing it urgently within days. So, thanks again. The advice and patience on this list is appreciated, even if I do get cranky when I break things (an hourly occurrence... :-) /kevin (evaluating OpenOffice1.0 in Ottawa)
Hi Brian, Yoiu may have seen that I got my Open Office up & running after following Harry's advice re installing Java2. I am running SuSE 7.3 and when I went to install the Java2 I noticed that there were a number of Java packages, so I ended up just searching the complete package list for Java2, fortunately this brought up just one package so I selected that. Good luck with yours. John
-----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?
Berge, Harry ten wrote: | install the package java2. This is needed by OO. It is present within 7.3, | so YaST2 will do the job.... | | Regards Harry | | |>-----Original Message----- |>From: John Blue [SMTP:jblue@bestpond.com] |>Sent: Friday, May 17, 2002 12:48 PM |>To: suse-linux-e@suse.com |>Subject: [SLE] Newbie problem Open Office & Java Suse V 7.3 |> |>I have been moving along slowly with Linux V 7.3, managing to get |>some things working on a PC dual boot system with NT4. I have Samba |>almost there ( a couple of questions will probably arise after some |>more reading). |> |>Can now access the net, via a PC with ADSL connection (NT4), and this |>works fine, so I decided to download Open Office V 1.0, (which I have |>been using under Windows). So I got the Linux file downloaded and |>started the installation. |> |>My initial problem is that the install process indicated "No Java |>Environment Found". I tried downloading a java runtime from the SuSE |>CD and re-booted, same error message. |> |>I had not installed Star Office 5.2, but decided to do that just to |>see if it would install. Yes I could install it, and it found the |>java environment. |> |>The installation I have is SuSE V 7.3 as per the CD's plus an online |>update of patches to the installation. The only "outside" software is |>Open Office. |> |>Can some kind user offer advice as to how I can troubleshoot this |>problem, or provide the basic steps to resolve this installation |>process. Please bear with me in that I am still learning basic Linux |>commands, and am still ploughing my way through How To's and man |>pages. (As an aside I am almost really ready to commit to V8.0 |>Professional). |> |>John |> |>John Blue, |>PO Box 542 |>Mawson ACT 2607 |>Australia |>email: jblue@bestpond.com |>Fax: +61 2 6291 1119 |> |>Thought for the day: |> Intuition (n): an uncanny sixth sense which tells people |> that they are right, whether they are or not. |> |> |> |>-- |>To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com |>For additional commands send e-mail to suse-linux-e-help@suse.com |> |>Also check the archives at http://lists.suse.com | |
- -- Key fingerprint = AEAC 149C 913C 59DF 6E29 ~ 91FC 0134 1268 021C 5B0B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE85Q+uATQSaAIcWwsRAlZwAJ9fd6nQR87lgDmzFpR3HEma/K4qzACfbdgz aleYaMNmQmTFLP8uEtsB8Hc= =hLDl -----END PGP SIGNATURE-----
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
John Blue, PO Box 542 Mawson ACT 2607 Australia email: jblue@bestpond.com Fax: +61 2 6291 1119 Thought for the day: I don't suffer from insanity. I enjoy every minute of it..
I have installed open office with no problem without java. I installed version 1.0, not the one that came with suse. On Friday 17 May 2002 19:25, John Blue wrote:
Hi Brian,
Yoiu may have seen that I got my Open Office up & running after following Harry's advice re installing Java2.
I am running SuSE 7.3 and when I went to install the Java2 I noticed that there were a number of Java packages, so I ended up just searching the complete package list for Java2, fortunately this brought up just one package so I selected that.
Good luck with yours. John
-----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?
Berge, Harry ten wrote: | install the package java2. This is needed by OO. It is present
within 7.3, | so YaST2 will do the job.... | | Regards Harry | |
|>-----Original Message----- |>From: John Blue
[SMTP:jblue@bestpond.com] |>Sent: Friday, May 17, 2002 12:48 PM |>To: suse-linux-e@suse.com |>Subject: [SLE] Newbie problem Open Office & Java Suse V 7.3 |> |>I have been moving along slowly with Linux V 7.3, managing to get |>some things working on a PC dual boot system with NT4. I have Samba |>almost there ( a couple of questions will probably arise after some |>more reading). |> |>Can now access the net, via a PC with ADSL connection (NT4), and this |>works fine, so I decided to download Open Office V 1.0, (which I have |>been using under Windows). So I got the Linux file downloaded and |>started the installation. |>
|>My initial problem is that the install process indicated "No Java |>Environment Found". I tried downloading a java runtime from the SuSE |>CD and re-booted, same error message. |> |>I had not installed Star
Office 5.2, but decided to do that just to |>see if it would install. Yes I could install it, and it found the |>java environment. |> |>The installation I have is SuSE V 7.3 as per the CD's plus an online
|>update of patches to the installation. The only "outside" software
is |>Open Office. |> |>Can some kind user offer advice as to how I can troubleshoot this |>problem, or provide the basic steps to resolve this installation |>process. Please bear with me in that I am still learning basic Linux |>commands, and am still ploughing my way through How To's and man |>pages. (As an aside I am almost really ready to commit to V8.0 |>Professional). |> |>John |> |>John Blue, |>PO Box 542
|>Mawson ACT 2607 |>Australia |>email: jblue@bestpond.com |>Fax: +61 2
6291 1119 |> |>Thought for the day: |> Intuition (n): an uncanny sixth sense which tells people |> that they are right, whether they are or not. |> |> |> |>-- |>To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com |>For additional commands send e-mail to suse-linux-e-help@suse.com |> |>Also check the archives at http://lists.suse.com | |
- -- Key fingerprint = AEAC 149C 913C 59DF 6E29 ~ 91FC 0134 1268 021C 5B0B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE85Q+uATQSaAIcWwsRAlZwAJ9fd6nQR87lgDmzFpR3HEma/K4qzACfbdgz aleYaMNmQmTFLP8uEtsB8Hc= =hLDl -----END PGP SIGNATURE-----
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com
John Blue, PO Box 542 Mawson ACT 2607 Australia email: jblue@bestpond.com Fax: +61 2 6291 1119
Thought for the day: I don't suffer from insanity. I enjoy every minute of it..
participants (9)
-
Alexander Klayman
-
Berge, Harry ten
-
Brian W. Carver
-
Chris Herrnberger
-
John Blue
-
Kevin Donnelly
-
Kevin McLauchlan
-
tabanna
-
Togan Muftuoglu