Fri Sep 11 17:29:44 EEST 2009

Jalbum on Debian Squeeze / Sid (Unstable)

I wanted to install Jalbum on Debian GNU/Linux and as usual with GNU/Linux there were some complications. This time the Java installer won't run reporting error:
No Java virtual machine could be found from your PATH debian .
I really wanted it badly to work on Debian and after some time I happily managed to make it work.
Here is how:

1. Execute:
# apt-get install sun-java6-jdk sun-java6-fonts sun-java6-source sun-java6-demo

2. Execute:
# update-alternatives --config java

There are 5 choices for the alternative java (providing /usr/bin/java).

  Selection    Path                                       Priority   Status
------------------------------------------------------------
* 0            /usr/lib/jvm/java-gcj/jre/bin/java          1043      auto mode
  1            /usr/bin/gij-4.3                            43        manual mode
  2            /usr/bin/jamvm                              10        manual mode
  3            /usr/lib/jvm/ia32-java-6-sun/jre/bin/java   63        manual mode
  4            /usr/lib/jvm/java-6-sun/jre/bin/java        63        manual mode
  5            /usr/lib/jvm/java-gcj/jre/bin/java          1043      manual mode

Select 4 as default.

Now go and Execute
sh Jalbuminstall.bin