![](https://seccdn.libravatar.org/avatar/d08ade365636ca76c6f2cd1499a207f0.jpg?s=120&d=mm&r=g)
Hey Group; Why is there /etc/alternatives? Shades of Debian! Why is /usr/bin/java linked to /etc/alternatives/java which linked to /usr/bin/java-#. Why not /usr/bin/java linked /usr/bin/usr/bin/java-# Why is /usr/lib/jvm/files linked to /etc/alternatives/files which is linked to /usr/lib/jvm/files. A loop. Why complicate a previously very simple straight forward system? -- 73 de Donn Washburn Hpage: " http://www.hal-pc.org/~n5xwb " Ham Callsign N5XWB Email: " n5xwb@hal-pc.org " 307 Savoy St. HAMs: " n5xwb@arrl.net " Sugar Land, TX 77478 BMW MOA #: 4146 - Ambassador LL# 1.281.242.3256 " http://counter.li.org " #279316
![](https://seccdn.libravatar.org/avatar/6d198f8c8f1c94ccef873cebcf4f5dfa.jpg?s=120&d=mm&r=g)
Donn Washburn wrote:
Hey Group;
Why is there /etc/alternatives? Shades of Debian!
Why is /usr/bin/java linked to /etc/alternatives/java which linked to /usr/bin/java-#. Why not /usr/bin/java linked /usr/bin/usr/bin/java-#
Why is /usr/lib/jvm/files linked to /etc/alternatives/files which is linked to /usr/lib/jvm/files. A loop.
Why complicate a previously very simple straight forward system?
/etc/UlternativeUniverse would be more appropriate, it looks like a hotpotch done by a drunken guy just for a Friday night laugh. Just maybe it's been done this way to complicate matters if you upgrade using Java from Sun or something done by trial and error to get some applications to work. I have had to rip it out and install jdk1.5.0_04 from Sun, symlink it to /usr/lib/java and also to /etc/alternatives, just to minimise the effort, it still leaves a potential mess, but so far so good. barrabas:/ftp/jul05/skype.dbus # l /usr/lib/jvm total 78 drwxr-xr-x 4 root root 352 2005-06-24 20:35 ./ drwxr-xr-x 218 root root 80288 2005-07-24 11:33 ../ lrwxrwxrwx 1 root root 26 2005-05-02 15:11 java -> /etc/alternatives/java_sdk lrwxrwxrwx 1 root root 32 2005-05-02 15:11 java-1.4.2 -> /etc/alternatives/java_sdk_1.4.2 lrwxrwxrwx 1 root root 23 2005-06-24 20:35 java-1.4.2-sun -> java-1.4.2-sun-1.4.2.08/ drwxr-xr-x 3 root root 72 2005-06-24 20:36 java-1.4.2-sun-1.4.2.06/ drwxr-xr-x 6 root root 168 2005-06-24 20:35 java-1.4.2-sun-1.4.2.08/ lrwxrwxrwx 1 root root 30 2005-05-02 15:11 java-sun -> /etc/alternatives/java_sdk_sun lrwxrwxrwx 1 root root 21 2005-05-02 15:06 jre -> /etc/alternatives/jre/ lrwxrwxrwx 1 root root 27 2005-05-02 15:06 jre-1.4.2 -> /etc/alternatives/jre_1.4.2 lrwxrwxrwx 1 root root 27 2005-06-24 20:34 jre-1.4.2-sun -> java-1.4.2-sun-1.4.2.08/jre/ lrwxrwxrwx 1 root root 25 2005-05-02 15:06 jre-sun -> /etc/alternatives/jre_sun Broken links and all....., gross and untidy ...Yeuk! Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM Mainframes and Sun Servers Tech Support Specialist Microsoft Windows Free Zone - Linux used for all Computing Tasks
![](https://seccdn.libravatar.org/avatar/b12cfb65ca4faebc3e3aac17838e8f8d.jpg?s=120&d=mm&r=g)
Donn, On Sunday 24 July 2005 06:26, Donn Washburn wrote:
Hey Group;
Why is there /etc/alternatives? Shades of Debian!
My stock answer to "why" questions is "why ask why?" But that's just because I think it's funny.
Why is /usr/bin/java linked to /etc/alternatives/java which linked to /usr/bin/java-#. Why not /usr/bin/java linked /usr/bin/usr/bin/java-#
SuSE 9.3 supports both Java 1.4.2 and 1.5.0 (a.k.a. Java 5.0). While compatibility upward to 5.0 is pretty good, it's not perfect, so for practical purposes, it's too early to support only 1.5.0 / 5.0. On the other hand, some software now requires or prefers the new Java, and SuSE Professional's philosophy is to embrace new packages (something I appreciate greatly), so they're left with the need to offer both, and that includes both installed at the same time. Hence, /etc/alternatives.
Why is /usr/lib/jvm/files linked to /etc/alternatives/files which is linked to /usr/lib/jvm/files. A loop.
Yes, as delivered in the 9.3 DVDs, there are loops. Install all the Java packages you're going to use and then run YOU to get them fixed.
Why complicate a previously very simple straight forward system?
Why ask "why?" Randall Schulz
![](https://seccdn.libravatar.org/avatar/5c786b1b80718534429c90c4126cd5ab.jpg?s=120&d=mm&r=g)
Randall R Schulz <rschulz@sonic.net> [Sun, 24 Jul 2005 07:56:43 -0700]:
SuSE 9.3 supports both Java 1.4.2 and 1.5.0 (a.k.a. Java 5.0).
And don't forget IBM Java or BEA Java. AFAIK, There isn't a single Java VM that runs on all the platforms we support. Philipp -- Philipp Thomas SUSE LINUX Products GmbH
![](https://seccdn.libravatar.org/avatar/6d198f8c8f1c94ccef873cebcf4f5dfa.jpg?s=120&d=mm&r=g)
Philipp Thomas wrote:
Randall R Schulz <rschulz@sonic.net> [Sun, 24 Jul 2005 07:56:43 -0700]:
SuSE 9.3 supports both Java 1.4.2 and 1.5.0 (a.k.a. Java 5.0).
And don't forget IBM Java or BEA Java. AFAIK, There isn't a single Java VM that runs on all the platforms we support.
Philipp
I found java problems when I installed 1.5.0 due to the links in /usr/bin, my way out was in /usr/lib "ln -s /opt/jdk1.5.0_04 java" and ln -s /opt/jdk1.5.0_04 /etc/alternatives". Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist Microsoft Windows Free Zone - Linux used for all Computing Tasks
participants (4)
-
Donn Washburn
-
Philipp Thomas
-
Randall R Schulz
-
Sid Boyce