Hi everyone,

I downloaded the bin file for the JDK 1.4.2. I need it because i need to program for Canon and the network printers only support that java version.

I installed the bin like this :

Code:
chmod a+x jdk_file_name.bin
sudo ./jdk_file_name.bin
it ended up in a map with all the files in it. I moved the file to my /usr/lib/jvm

Next step is that i set the JAVA_HOME in the following manner :
Code:
sudo gedit /etc/environment
and I added JAVA_HOME="path_to_javafolder" at the top of the file.

now when i do
Code:
sudo update-alternatives --config java
my java doesn't show up in the list.
How come?

Thanks in advance.