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. Thanks Joachim for your thoughts/reply. I didn't use zypper (probably should given my past experience/mistrust of Yast) but used Yast to uninstall the x64 versions and install the x32 bit versions of Java. I have all the the ones you mentioned installed.... Afterwards call
update-alternatives --config java
and select the 32bit Sun Java (that's the one in /usr/lib and not in /usr/lib64). Yes I ran this command. I remain amazed/disgusted at all the broken
I have also zypper-locked "java-*-openjdk-devel", though I don't remember why; maybe some left-over from a previous installation. I simply uninstalled the openjdk-devel package, along with the rest of
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. I have both of these packages you mentioned, installed on my server as I need both Tomcat and Subversion. But I checked in Yast and noted that
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 I just downloaded and installed Indigo (x32 version) from Eclipse.org. (Didn't find it in the repositories either) Haven't gotten far enough with it to tell what works and what is broken.... I could try and go back to the x64 versions of Eclipse and java and see if I can work with
mozilla-xulrunner20.i586 mozilla-xulrunner20-gnome.i586 Yes, I had the x64 version of these installed also.. So decided to be
On 07/18/2011 04:28 AM, Joachim Schrod wrote: links that remain for java related stuff in /etc/alternatives so suspect the packagers are being awfully careless about keeping this directory clean and free from potential problems... the openjdk packages that were originally installed. the x64 bit versions are installed and have no idea whether I need to reinstall with the x32 bit versions? How far do I need to go in tracking down what packages need to be switched to the x32 bit versions, now that I have the x32 bit version of Java installed? Doesn't YaST (and the packages dependencies check this for me, or is the packaging broken?) the Eclipse people to get it running, if going to x32 proves to be too difficult... (but so far, experiences from other people who use Eclipse is also indicating there is problems with the x64 versions so not too hopeful of that route) pre-emptive and switch them over to the i586 (x32) versions also. Again, I have no idea how much I am going to have to chase down, in the packages, to switch over to an x32 bit version... This in part is why I originally asked the question - Is changing from an x64 version of a java vm to an x32 version supported in openSuSE? Or do I need to scrap the installation entirely and see if I can re-install openSuSE for an x32 architecture. This would be a REAL PITA!!! (I dunno/remember if the installation even allowed me the choice, so much of this sort of decision making has been automated these days.. Sigh... ) (As an aside, I am apparently having troubles now with our Apache James email server handling crypto communications with email clients. I kinda suspect it may be related also to having an x64 version of some java package installed, which should be an x32 bit version... SO will have to try and track that one down also...)
I don't remember why, maybe to make Eclipse help working.
HTH, Joachim
Thanks again for replying, Joachim, you helped, but I remain confused... Marc... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org