
Dude the only thing you need to do to use the Sun JVM is to export the JAVA_HOME... how hard can that be ? for example: echo "export JAVA_HOME=\"/usr/lib/default\"" > /etc/profile.d/java-sun.sh That .sh file is sourced so it doesn't need to be 0755. There's nothing you can do to suppor the stuff from sun... It's not even packaged according to jpackage... and worst... it comes with Epoch set to 2000, while historically jpackage is set to 1. People who want to user vendor stuff should learn to use it. (my opinion) There's almost 3000 lines of scripts in Oracle/Sun check them out: rpm -q(p) --scripts jdk*.rpm 2012/9/19 Michal Vyskocil <mvyskocil@suse.cz>:
Hallo all,
from time to time I got the complaints from the users want to use our Java packages, but not the JVM itself. As Oracle retired the permission to distribute their own JVM, most of the users want to manually install the Oracle JVM instead of openjdk we distribute.
In a past, we have changed a logic of alljava.sh, so it search for jvm in /usr/java/latest and /usr/java as well, so can setup the proper JAVA_HOME for third-party JVM.
The next unsolved problem are dependencies. In a bug#776951 I've got an proposal to introduce the fake package with java, but I do not like that approach. We don't need to deal with a dependencies at all, if we intentionally break them.
https://bugzilla.novell.com/show_bug.cgi?id=776951
Instead of it, I propose following - change all Requires: java in openSUSE:Factory to Recommends: java. For default openSUSE setup, it won't make any difference. For people wanting to have third-party java installed, they can add lock for distributed JVMs and put their preffered JVM.
There is only one problem - users can turn the recommends off, but I don't see that as a probable case for Java software, so I would go forward.
Any objections, or other ways to go?
Regards Michal Vyskocil
-- --- Artigo 21 - Direito à Resistência Todos têm o direito de resistir a qualquer ordem que ofensa os seus direitos, liberdades e garantias e de repelir pela força qualquer agressão, quando não seja possível recorrer à autoridade pública. Constituição da Républica Portuguesa -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org