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 :
it ended up in a map with all the files in it. I moved the file to my /usr/lib/jvm
chmod a+x jdk_file_name.bin
Next step is that i set the JAVA_HOME in the following manner :
and I added JAVA_HOME="path_to_javafolder" at the top of the file.
sudo gedit /etc/environment
now when i do
my java doesn't show up in the list.
sudo update-alternatives --config java
Thanks in advance.