View previous topic :: View next topic |
Author |
Message |
mobidyc Tux's lil' helper
Joined: 01 May 2006 Posts: 109
|
Posted: Wed Nov 14, 2007 2:40 pm Post subject: [openoffice] where is jre ? [SOLVED] |
|
|
Hello,
when i launch some powerpoint presentations with ooo it complains with 'unable to find the java environment' (or something like that).
when i go to the options and i try to set a path to a java environment...i don't know what path indicate in.
i've followed the java doc on gentoo.org so i think java is correct on my system.
also, i can check the java environment without problem:
Code: |
#> java-check-environment
* === Java Environment Checker ===
* The purpose of this script is to check the sanity of your Java Environment.
* We have significantly changed and improved the way Java is handled in many
* respects.
* Please refer to our upgrade guide for details:
* http://www.gentoo.org/proj/en/java/java-upgrade.xml
* Checking fastjar ... [ ok ]
* Checking vm_environment_files ... [ ok ]
* Checking user_settings ...
* Running as root. Don't need to check user settings. [ ok ]
* Checking generation_1_system_vm ... [ ok ]
* Checking virtual_provides ... [ ok ]
* Checking overlays_eclasses ... [ ok ]
* Checking package_env ... [ ok ]
* Java environment is sane. Congratulations!
#> java-config --list-available-vms
The following VMs are available for generation-2:
1) Sun JDK 1.4.2.16 [sun-jdk-1.4]
*) Sun JDK 1.5.0.13 [sun-jdk-1.5]
3) Sun JDK 1.6.0.03 [sun-jdk-1.6]
#> java-config --jdk-home
/opt/sun-jdk-1.5.0.13
#> java-config --jre-home
/opt/sun-jdk-1.5.0.13
|
i've tried to set up the following path:
/opt/sun-jdk-1.5.0.13/bin/
/opt/sun-jdk-1.5.0.13/
/usr/lib/javatoolkit/bin/
/usr/bin/
/usr/bin/java
/usr/bin/javac
and other mysterious path related to java.
please, someone could help me to find/set a correct path to the java environment?
--
Regards,
Mobidyc
Last edited by mobidyc on Sat Nov 24, 2007 12:37 am; edited 1 time in total |
|
Back to top |
|
|
Dammital Apprentice
Joined: 05 Nov 2004 Posts: 189
|
Posted: Wed Nov 14, 2007 9:22 pm Post subject: Re: [openoffice] where is jre ? |
|
|
mobidyc wrote: | options and i try to set a path to a java environment...i don't know what path indicate in. |
In my system, under Tools->Options->Java the "Sun Microsystems Inc" entry reads "/opt/sun-jdk-1.5.0.13/jre". |
|
Back to top |
|
|
mobidyc Tux's lil' helper
Joined: 01 May 2006 Posts: 109
|
Posted: Thu Nov 15, 2007 9:27 am Post subject: |
|
|
Hello,
thanks for your answer.
i already try that, of course, but it does'nt work anymore ;(
according to your settings, the problem is definitively not related to ooo but to my system.
any advices?
--
Regards,
Mobidyc |
|
Back to top |
|
|
Dammital Apprentice
Joined: 05 Nov 2004 Posts: 189
|
Posted: Thu Nov 15, 2007 1:33 pm Post subject: |
|
|
Sorry, I'm empty! Here is the reported config on my system, just to compare:
Code: | $ java-config --list-available-vms
The following VMs are available for generation-2:
*) Sun JDK 1.5.0.13 [sun-jdk-1.5]
$ java-config --jdk-home
/opt/sun-jdk-1.5.0.13
$ java-config --jre-home
/opt/sun-jdk-1.5.0.13 |
[ebuild R ] app-office/openoffice-2.3.0 USE="cairo cups dbus eds firefox gnome gstreamer gtk java ldap pam -binfilter -debug -kde -mono -odk -seamonkey -sound -webdav -xulrunner" |
|
Back to top |
|
|
mobidyc Tux's lil' helper
Joined: 01 May 2006 Posts: 109
|
Posted: Thu Nov 15, 2007 1:34 pm Post subject: |
|
|
Thanks,
i'll check that!
--
Regards,
Mobidyc |
|
Back to top |
|
|
dozd n00b
Joined: 18 Jan 2006 Posts: 8
|
Posted: Mon Nov 19, 2007 4:03 pm Post subject: |
|
|
mobidyc wrote: | Thanks,
i'll check that!
|
I think the problem is missing 'java' USE flag.
I'm currently solving problem with exporting to XHTML and missing settings of jre is that problem (as I googled).
I'm currently recompiling OO with java USE flag. I'll write if I'm correct. |
|
Back to top |
|
|
mobidyc Tux's lil' helper
Joined: 01 May 2006 Posts: 109
|
Posted: Mon Nov 19, 2007 4:08 pm Post subject: |
|
|
dozd wrote: |
I think the problem is missing 'java' USE flag.
I'm currently solving problem with exporting to XHTML and missing settings of jre is that problem (as I googled).
I'm currently recompiling OO with java USE flag. I'll write if I'm correct. |
you'r false, i already have the java USE flag actived:
#> emerge --quiet --pretend --verbose app-office/openoffice-bin
[ebuild R ] app-office/openoffice-bin-2.3.0 USE="java kde -gnome" LINGUAS="en fr -af -as_IN -be_BY -bg -br -bs -ca -cs -da -de -dz -el -en_GB -en_ZA -es -et -fi -ga -gl -gu -he -hi_IN -hr -hu -it -ja -ka -km -ko -lt -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta -te_IN -tg -th -ti_ER -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" |
|
Back to top |
|
|
dozd n00b
Joined: 18 Jan 2006 Posts: 8
|
Posted: Mon Nov 19, 2007 10:30 pm Post subject: |
|
|
mobidyc wrote: | dozd wrote: |
I think the problem is missing 'java' USE flag.
I'm currently solving problem with exporting to XHTML and missing settings of jre is that problem (as I googled).
I'm currently recompiling OO with java USE flag. I'll write if I'm correct. |
you'r false, i already have the java USE flag actived:
|
Yes, I see now . But I'm getting new error that the directory i selected does not contain a Java runtime environment. I didn't have it before.
But I've found new way to go.
Try this .. https://forums.gentoo.org/viewtopic-t-569457.html
emerge libX11 without xcb USE flag (you can have it set mainly for compiz).
Works for me! Lol . |
|
Back to top |
|
|
mobidyc Tux's lil' helper
Joined: 01 May 2006 Posts: 109
|
Posted: Sat Nov 24, 2007 12:37 am Post subject: |
|
|
Big thanks all,
solved by the following command:
Code: | find /opt -iname libmawt.so | grep 'xawt/libmawt.so' | xargs sed -i 's/XINERAMA/FAKEEXTN/g' |
thanks for your links which helped me.
--
Regards,
Mobidyc |
|
Back to top |
|
|
|