LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Install Java 1.5 on Squeeze (https://www.linuxquestions.org/questions/debian-26/install-java-1-5-on-squeeze-881512/)

cccc 05-18-2011 07:25 PM

Install Java 1.5 on Squeeze
 
Hi

Knows someone howto install Java 1.5 on Squeeze?

rokytnji 05-18-2011 08:15 PM

I wrote a post for manual install long time back. It was for 1.6 java but should work for 1.5.

http://www.linuxforums.org/forum/cof...tix-8-2-a.html

I'm not sure if the lavajavaplugin_ojis.so will work in your Debian Squeeze browser though as the later browsers use the libnpjp2.so which is a symlink in /usr/lib/mozilla/plugins folder instead of being just copied.

You can use my thread to install java 1.5. But installing the plugin in your browser will be the tricky part.

http://www.linuxforums.org/forum/att...enshotjava.jpg

craigevil 05-18-2011 08:28 PM

why 1.5? 1.6 should be backwards compatible with any java apps that require 1.5.

cccc 05-18-2011 08:50 PM

Quote:

Originally Posted by craigevil (Post 4360472)
why 1.5? 1.6 should be backwards compatible with any java apps that require 1.5.

We have a VPN software and it works only with Java 1.5.

austinium 05-19-2011 03:11 AM

add the following line to /etc/sources.list
Code:

deb http://snapshot.debian.org/archive/debian/20070724T000000Z testing main non-free
you should be able to install java 1.5 after updating apt.
remember to remove the apt line once you've installed java 1.5

or

have a look here


I was once in a similar situation and thats how i managed to find the Debian Snapshot Server's URL. Hit & Trial really.

P.S.: There maybe a better way to do this, please let me and the others here know if you know it :)

cccc 05-19-2011 03:40 AM

Thx, I've add to /etc/sources.list and get this error:
Code:

# apt-get update

W: GPG error: http://snapshot.debian.org testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A70DAF536070D3A1

I've tried this:
Code:


# gpg --keyserver subkeys.pgp.net --recv A70DAF536070D3A1
# gpg --export --armor A70DAF536070D3A1 | sudo apt-key add -

but it doesn't help.

austinium 05-19-2011 04:14 AM

I got the same error myself, could not a way to fix it...but i could install sun-java5 via apt in spite of it.


All times are GMT -5. The time now is 09:58 AM.