Marc Chamberlin wrote:
I am running openSuSE 11.4 on an x64 machine, and when it was installed, it installed the x64 version of the openJDK 1.6 Java by default. But when I tried to install Eclipse and the Apache-James server source for debugging purposes, I found that I could not run Eclipse using the x64 openJDK. SO I uninstalled it and installed the i586 (32 bit version) of Java 1.6 from Sun.
You should not use Sun's 32bit Java, but the one from openSUSE. On our 11.4 64bit systems, we installed the following packages: java-1_6_0-sun-1.6.0.u26-0.2.1.i586 java-1_6_0-sun-alsa-1.6.0.u26-0.2.1.i586 java-1_6_0-sun-devel-1.6.0.u26-0.2.1.i586 java-1_6_0-sun-jdbc-1.6.0.u26-0.2.1.i586 java-1_6_0-sun-plugin-1.6.0.u26-0.2.1.i586 In case you don't know this: You do this with zypper install java-1_6_0-sun.i586 etc. I.e., you specify the architecture explicitly. Afterwards call update-alternatives --config java and select the 32bit Sun Java (that's the one in /usr/lib and not in /usr/lib64). I have also zypper-locked "java-*-openjdk-devel", though I don't remember why; maybe some left-over from a previous installation. It works very good, very few problems up to now. A few 32bit package versions of Java-related libraries are missing; we recognized libtcnative (for Tomcat) and libsvnjavahl (for Subversion). If you really need them, you have to compile them yourself, or learn OBS usage, or learn to use /usr/lib/mkbaselibs. FWIW, we don't use Eclipse from OBS (wouldn't even know if it's there at all); but install one from Eclipse.org in /opt. We can't rely on any distribution here, since we cannot use Helios and need to stay on Galileo, where JSF 1.2+Facelets still works. If you want to do so, installation notes tell me that we needed to install the additional packages mozilla-xulrunner20.i586 mozilla-xulrunner20-gnome.i586 I don't remember why, maybe to make Eclipse help working. HTH, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org