Sherlock, Ric wrote:
Have made some changes to address these issues:
<http://www.jsoftware.com/jwiki/System/Installation/Linux>
Is the command: update-java-alternatives available on linuxes other than Ubuntu?
Can someone check the syntax for update-java-alternatives on 64-bit Linux
please.
Is it update-java64-alternatives and update-java32-alternatives?
On 64-bit ubuntu, 64-bit is the default mode so that it does not need to specify
"64", OTHT it adds suffix "32" to 32-bit program. eg.
There are both /lib and /lib64, but the latter is only a symbol link to /lib.
Other distros may take the other alternative but I have no experience.
$ update-java-alternatives -l
ia32-java-6-sun 63 /usr/lib/jvm/ia32-java-6-sun
java-6-sun 63 /usr/lib/jvm/java-6-sun
$ sudo update-alternatives --list java
/usr/bin/gij-4.2
/usr/lib/jvm/java-6-sun/jre/bin/java
/usr/lib/jvm/ia32-java-6-sun/jre/bin/java
$ ls -l `which java32`
lrwxrwxrwx 1 root root 41 2008-02-08 22:45 /usr/bin/java32 ->
/usr/lib/jvm/ia32-java-6-sun/jre/bin/java
showing that ubuntu's update-alternatives is capable of handling both 32 and 64
bit program. It needs other forum members' help to check other distros eg.
opensuse and redhat/fedora how to reconfigure java.
regards,
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm