LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-18-2011, 07:25 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Rep: Reputation: 51
Install Java 1.5 on Squeeze


Hi

Knows someone howto install Java 1.5 on Squeeze?
 
Old 05-18-2011, 08:15 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,064
Blog Entries: 21

Rep: Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470Reputation: 3470
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
 
Old 05-18-2011, 08:28 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
why 1.5? 1.6 should be backwards compatible with any java apps that require 1.5.
 
Old 05-18-2011, 08:50 PM   #4
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by craigevil View Post
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.
 
Old 05-19-2011, 03:11 AM   #5
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 219

Rep: Reputation: 27
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

Last edited by austinium; 05-19-2011 at 03:15 AM.
 
Old 05-19-2011, 03:40 AM   #6
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,623

Original Poster
Rep: Reputation: 51
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.

Last edited by cccc; 05-19-2011 at 04:09 AM.
 
Old 05-19-2011, 04:14 AM   #7
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 219

Rep: Reputation: 27
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squeeze : in case you have no network connection with java apps ... almatic Debian 14 05-26-2011 02:50 AM
LXer: Java in the web browser in Debian Squeeze -- you have to add it LXer Syndicated Linux News 0 12-03-2010 06:20 PM
[SOLVED] Waiting for Squeeze stable vs installing Squeeze right now and keeping it up to date alanv Linux - Newbie 2 11-03-2010 02:43 AM
Java error - Debian GNU/Linux 6.0 Squeeze/sid DebianUserfg Linux - Newbie 2 05-31-2010 07:00 PM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration