Alex Daniloff wrote:
Hello Linux folks. Yesterday I was trying to install jdk1.2 from http://www.blackdown.org My previuos jdk1.1.7 was working very slow and supported "green" threads only. I untared new jdk1.2.xxxx.gz2 into /usr/lib/jdk1.2 and made soft link: ln -s /usr/lib/jdk1.2 /usr/lib/java After this I executed: export PATH=/usr/lib/jdk1.2/bin:$PATH However, new java complained about some library and refused to work. I got tired and I decided to switch back to my original jdk1.1.7 After I performed the same manipulations described above for my old jdk1.1.7 it is also stopped working. I did RTFM pretty througfully but I couldn't find what I did wrong. Could somebody please give me advise how to fix this mess. How to make ever one of these jdk's working. Thanks in advance,
It's not that hard. I've got pretty much all the current JVMs installed here - the 1.1.7B that comes with SuSE, the IBM 1.1.8, the Blackdown 1.2.2, the Sun 1.2.2, and the IBM 1.3.0. You shouldn't need to do anything to path. Under SuSE, /etc/profile sets PATH to include /usr/lib/java/bin anyway, so whichever JVM is linked to by /usr/lib/java will be the current one. You can arbitrarily use any of the others by invoking them explicitly. You might be having SuSEconfig-related problems - /etc/rc.config has some Java configuration options (green threads being the main one). You might try deinstalling SuSE's Java entirely, removing the Java lines from /etc/rc.config, and installing JVMs from their original distributions, so you know the wrong JVM won't be confused by SuSE's settings. (I suggest you install them under /usr/local, but you may still want to link to your live one with a symlink at /usr/lib/java so /etc/profile still sets your path for you. -- Rachel -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/