On 07/02/2012 08:56 PM, DJViking wrote:
>
> How do I get YAST to recognize a manually installed Java installation?
> I have installed the rpm-bin package of JDK-1.6u33 from Sun/Oracle.
did you install it by running an rpm command?
if that is what you mean by “manual” then don’t do that any
more…instead, right click the rpm and select “Open With” > “YaST” or
“Install/Remove Software” (but, you didn’t declare either your operating
system version or desktop environment, so i don’t know for sure if you
can follow those directions!)
> This installation is visible in YAST, but when upgrading LibreOffice it
> complains about a missing Java dependency and wants to install
> openJDK(which I have locked/banned).
and once installed there is a place inside LibreOffice set up to fiddle
with java…again, i have no idea what version OS or DE or LibreOffice
you are using but maybe if you look in Tools > Options > LibreOffice >
Java and then click “Help” button at the bottom of that window, there
may be some useful hints there (i do not know)…but, for SURE if you
didn’t install Java by using YaST then you cannot count on the RPM
command to have placed all the links in all the right places where YaST
will see it, and ‘tell’ LibreOffice what is available…so, be sure to
try reinstalling that rpm with YaST or Install/Remove…(i think they
are the same)
oh, i guess i should have asked: you wrote: “but when upgrading
LibreOffice it complains”
so, you “upgraded” from what LO version to what new one? or rather you
are trying to upgrade but can’t because it declares it must have the
open JDK…so, i wonder where/how you got the new upgrade package
that is, how did you do that? did you use YaST Software Management or
zypper, or what?
and why are you “upgrading”? was the one you had missing a critical
capability? or ??
> In addition to this I have installed jdk1.7u4 (non-RPM) manually by
> unpacking it into /usr/java/jdk1.7.0_04,
i don’t have any idea what that means… !
but it is nothing i have ever done before!!
oh WAIT, maybe you are using 12.1 and need to look at this
http://en.opensuse.org/SDB:Installing_Java
> but it is the 1.6 version I want Yast to recognize.
it is possible to have more than one version of Java installed, and then
use the LibreOffice set up to tell it which to use
–
dd