[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#509690: openoffice.org: Upgrade after this version demands debian sun-java packages



On Thursday 25 December 2008 00:44:41 Rene Engelhard wrote:
> retitle 509690 please don't depend on Java
> severity 509690 wishlist
> tag 509690 + wontfix
> thanks
>
> Hi,
>
> David Baron wrote:
> > I have a sun-java-jre installed from Sun's runtime.
> > I can no longer update openoffice packages because they seem to demand
> > Debians sun-java packages.
>
> Wrong. It demands *ANY* JVM supported. jaca-gcj-compat does work too.
> And so does openjdk.
>
> > OpenOffice's java component runs off the Sun installation just fine as
> > does most all other java programs. I really do not need a duplicate
> > installation.
>
> And? Then tell the package systen using (equivs?) that you have Java
> already. The package system in this case does not know that - it simply
> cant.
OK, how? As I say below, JAVA_HOME is usually in the env.
>
> > I might be better to "recommend" the Debian packages rather than
> > "require" them.
>
> And break the install for people who don't know that parts use Java?
> And thus don't install them?
>
> > (Switching involves change paths and switching Sun's netbeans over before
> > removing Sun's installation.)
>
> Not my problem.
>
> And OOo is not the only Java-using app depending on the JRE. Do you really
> want all JVM-using packages to not depend on Java so that they don't work
> out of the box when you install them)?
I have not encountered others that would not install. OO-3 that I have 
currently installed from Experimental installed just fine and runs without a 
hitch. Has anything changed radically from 3.0.0.4 to 3.0.1-rc#?
>
> This hasn't changed from your post on debian-user where you got the same
> answer(s).
>
> Grüße/Regards,
>
> René

Java is one of those things where there are installation alternatives. I once 
installed eclipse and that installation installed IBM's Java and that bolixed 
up everything I had that ran off Sun's. This all went through the alternatives 
system so I was able to fix some paths there but that was a mess. I eventually 
took eclipse off because it carries too much excess baggage (example IBM's 
lutus OO-1 derivative).

Usually for Java-dependent installs, environment variables such as JAVA_HOME 
indicate the presence of a jre or such installations request the path. If 
neither JAVA_HOME or user simple types enter, a jvm can be installed at this 
point. (If not sure, leave blank and jvm will be installed ... many Debian 
pre- or post-install scripts work this way, out of the box).

Note that the great and holy sun distributes their VirtualBox as .deb for each 
Debian version, Ubuntu, etc., as well as rpms, rather than a .run or .sh of 
which the distro's package system would be unaware.



Reply to: