walt: >On 01/15/2012 07:05 PM, Hartmut Figge wrote: >> on my x86_64 libreoffice fails to detect Java. I am getting this when >> starting lowriter: >> >> hafi@i5_64 ~ $ lowriter >> Warning: failed to launch javaldx - java may not fuction correctly >> >> Calculating dependencies... done! >> [ebuild R ] app-office/libreoffice-bin-3.4.3.2-r1 USE="(-aqua) >> -gnome -java -kde (-kdeenablefinal)" 0 kB > ^^^^^ > >Your java useflag seems to be turned off.
Yes. It is turned off by default. Turning it on results in Total: 45 packages (44 new, 1 reinstall), Size of downloads: 208,892 kB Horrible. *g* >Try turning it on before re-emerging libreoffice. I don't believe it must be turned on because of [1]. >Do you have /usr/lib/libreoffice/ure/bin/javaldx on your machine? No. hafi@i5_64 ~ $ locate javaldx hafi@i5_64 ~ $ [1] On another partition i have an i686 Gentoo, updated last 3 month ago. On that Gentoo libreoffice detects java. http://www.triffids.de/pub/screenshot/libr_jav.png (7 KB) Calculating dependencies... done! [ebuild R ] app-office/libreoffice-bin-3.3.4 USE="offlinehelp -gnome -java" LINGUAS="de en -af[...]" Calculating dependencies... done! [ebuild Rf ] dev-java/sun-jdk-1.6.0.29 USE="X alsa doc examples nsplugin -derby -jce" 0 kB hafi@i5 ~ $ eselect java-vm list Available Java Virtual Machines: [1] sun-jdk-1.6 system-vm user-vm hafi@i5 ~ $ eselect java-nsplugin list Available Java browser plugins [1] sun-jdk-1.6 current There is no javaldx either: hafi@i5 ~ $ locate javaldx hafi@i5 ~ $ There is a difference to my x86_64 Gentoo that *may* be important x86:64: Available Java Virtual Machines: [1] sun-jdk-1.6 system-vm i686: Available Java Virtual Machines: [1] sun-jdk-1.6 system-vm user-vm On i686 there is not only system-vm, but also user-vm. Don't know, why. Hartmut -- Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/ Von Usern fuer User :-)