How to install Sun's Java correctly on Debian/Lenny?
I see, that my distribution is already contains some JVM, but a free one, not Sun's.
Below is version output.
testbed:/usr/share# java -version
java version "1.5.0"
gij (GNU libgcj) version 4.3.2
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Note, that gij package is not installed, not decribed in package.debian.org and gij command is not working:
bash: /usr/bin/gij: No such file or directory
My questions are:
1) What package is responsible for java, shipped with Debian?
2) How to remove shipped java and turn to Sun's one?
When I am running an installer from Sun's site, it just creates a folder for JDK. Is this correct?