Astrostack

Norman Silverstone norman at littletank.org
Wed Aug 23 09:03:20 UTC 2006


< snip >

> will help with the process. Just make sure that, after you install the
> sun JVM, run:
> 
> $ sudo update-alternatives --config java
> 
> to set the sun JVM as the system default JVM.
> 
> If the program still doesn't work with the sun JVM, then something
> deeper is amiss.

I did as suggested, selected 4 and got the following:-

norman at gruber:~/Desktop/AstroStack3LE $ update-alternatives --config
java

There are 4 alternatives which provide `java'.

  Selection    Alternative
-----------------------------------------------
      1        /usr/bin/gij-wrapper-4.0
      2        /usr/bin/gij-wrapper-4.1
*+    3        /usr/lib/jvm/java-gcj/jre/bin/java
      4        /usr/lib/jvm/java-1.5.0-sun/jre/bin/java

Press enter to keep the default[*], or type selection number: 4
Using `/usr/lib/jvm/java-1.5.0-sun/jre/bin/java' to provide `java'.
update-alternatives: unable to make /etc/alternatives/java.dpkg-tmp a
symlink to /usr/lib/jvm/java-1.5.0-sun/jre/bin/java: Permission denied
norman at gruber:~/Desktop/AstroStack3LE $

What have I done wrong?

Norman








More information about the ubuntu-users mailing list