LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 12-29-2008, 10:06 PM   #1
KirkShanahan
LQ Newbie
 
Registered: Dec 2008
Posts: 20

Rep: Reputation: 0
Need help with Web Browser - Java and more


Hi all,

I'm in need of some help setting up my Debian system, especially with Java and other plugins for Iceweasel. I am installing on a new system, Intel PD 940 3.2GHz with 3Gig memory and a clean 80Gig HD. Made an ISO disk by downloading Debian 4.0 r6 i386 from the Debian Web site, and the installation seemed to go OK. Currently have most functionality with some notable exceptions.

The main problem I have is that I am trying to get a Web Browser working that can do Java. It seems Iceweasel should fit the bill, so I am working on that now. I have downloaded the Linux Java self-extracting binary, extracted it into /usr/local/sbin, and tried to install it by setting up some symbols in the Iceweasel plugin subdir per the instructions at
http://www.java.com/en/download/help/5000010500.xml. The Iceweasel prefererences have Java and Javascript enabled, but no luck. I restart Iceweasel as instructed.

Here are the symbols I set up (trying two methods here, neither worked.):

Lennie:/usr/lib/iceweasel/plugins# ls -l|more
total 12 {{only java related ones shown}}
lrwxrwxrwx 1 root root 20 2008-12-29 16:28 java -> /usr/local/sbin/java
lrwxrwxrwx 1 root root 21 2008-12-29 16:28 libjavaplugin_oji.so -> /libjavaplugin_oji.so

From the java directory:
Lennie:/usr/local/sbin# ls -l
total 19664
lrwxrwxrwx 1 root staff 11 2008-12-29 10:07 java -> jre1.6.0_11
drwxr-xr-x 8 root staff 4096 2008-12-29 06:56 jre1.6.0_11
-rwxr-xr-x 1 root staff 20106959 2008-12-29 06:55 jre-6u11-linux-i586.bin


So, what do I do to get Java working?


Other questions:

Trivial one. When I type in java directory manually, it doesn't work, but when I cut-and-paste from the ls list, it does. Anyone know why? (ex. output below)

Lennie:/usr/local/sbin# ls
java jre1.6.0_11 jre-6u11-linux-i586.bin
Lennie:/usr/local/sbin# ls jrel.6.0_11 <--type in
ls: jrel.6.0_11: No such file or directory
Lennie:/usr/local/sbin# ls jre1.6.0_11 <--cut-and-paste
bin javaws LICENSE plugin THIRDPARTYLICENSEREADME.txt
COPYRIGHT lib man README Welcome.html
Lennie:/usr/local/sbin# ls java <--symbol works...
bin javaws LICENSE plugin THIRDPARTYLICENSEREADME.txt
COPYRIGHT lib man README Welcome.html

I am also having problems with the Adobe Flash Player (AFP) plugin. When I access LinuxQuestions.org for ex., I get a bar across the top saying I need to get a plugin. I click on it and it pops up a window saying I need AFP, so I click on install. It seems to work but after restarting Iceweasel it still doesn't work.

Also, I am trying to get the gcc command to work (i.e install the GNU gcc pkg) but the aptitude program doesn't seem to work.

I'm not sure if all these problems are related or not. Any help will be appreciated.

Kirk Shanahan
 
Old 12-30-2008, 01:30 AM   #2
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
First off you might want to consider upgrading to Lenny, Etch/stable is pretty old and Lenny will be the new stable soon.

For Java you need non-free contrib in your /etc/apt/sources.list

the do aptitude update && aptitude install sun-java5-jre sun-java5-plugin

For Flash I would suggest adding the debian-Multimedia.org repo then doing

aptitude update && aptitude install flashplayer-mozilla debian-multimedia-keyring

For GCC you probably need build-essential and you might want module-assistant

If you want multimedia plugins I would suggest aptitude install mplayer mozilla-mplayer


If your not sure howto edit your sources.list just open any text editor as root and open /etc/apt/sources.list

and make sure it looks like

#Stable
deb http://http.us.debian.org/debian/ stable main contrib non-free
#Stable Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free

# Marillat For info visit http://www.debian-multimedia.org
deb http://www.debian-multimedia.org stable main


You may need backports for something later on so go ahead and add it as well
# Debian Stable Backports
# For information visit
# http://www.backports.org/dokuwiki/do...d=instructions
# apt-get install debian-backports-keyring
#deb http://www.backports.org/debian etch-backports main contrib non-free

You can see my signature for more sources.
 
Old 12-30-2008, 11:27 AM   #3
KirkShanahan
LQ Newbie
 
Registered: Dec 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks for the help Craig. I now have functioning Java and Flash plugins. However, when I tried to do the multimedia plugin, I got stuck when the system asked for the 'Debian GNU/Linux 4.0 r6 _Etch_ - Official i386 CD Binary-1 20081219-16:03' CD. I only downloaded the first CD from the Debian Web site, and it worked every other time I was asked for this.

(http://cdimage.debian.org/debian-cd/...-1.iso.torrent)

Any suggestions as to what it is looking for?

TIA,
Kirk Shanahan

--- error msgs during 'aptitude install mplayer mozilla-mplayer' ---


WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.

libxvidcore4 mplayer libavformatcvs51 libpostproccvs51 libx264-54
mozilla-mplayer libavutilcvs49 libavcodeccvs51 liblame0 libfaac0 libfaad0

Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": Yes
Writing extended state information... Done
Media Change: Please insert the disc labeled 'Debian GNU/Linux 4.0 r6 _Etch_ - Official i386 CD Binary-1 20081219-16:03' in the drive '/cdrom/' and press enter
{{I put the CD in the drive here...}}
Media Change: Please insert the disc labeled 'Debian GNU/Linux 4.0 r6 _Etch_ - Official i386 CD Binary-1 20081219-16:03' in the drive '/cdrom/' and press enter

[1]+ Stopped aptitude install mplayer mozilla-mplayer
 
Old 12-30-2008, 12:23 PM   #4
KirkShanahan
LQ Newbie
 
Registered: Dec 2008
Posts: 20

Original Poster
Rep: Reputation: 0
I may have spoken too soon. Flash and Java seem to work on my account OK, but when I created some new accounts, I lost sound. Video plays but no sound. Yet when I log out and log back in under my account (not root) I still have sound. Ideas?

Update-3/20/2009 - problem was due to user account settings - had to enable sound and CD use.

Last edited by KirkShanahan; 03-20-2009 at 07:19 PM. Reason: update
 
  


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
i want to develope a digital library plu-in for web browser using java anoopv Linux - Newbie 1 12-22-2008 02:03 PM
vnc server with java for connecting with web browser fakie_flip Linux - Software 5 04-05-2006 10:18 PM
Java and Web Browser problems. RHLinuxGUY Linux - Software 1 09-25-2005 12:01 PM
browser plugin for Konqueror web browser (linspire) Tracianddwayne Linux - Newbie 1 01-01-2005 03:15 PM
please tell how to make a plugin for a web-browser (konqueror) using c++ / Qt / Java gajaykrishnan Programming 1 07-22-2004 12:28 PM

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

All times are GMT -5. The time now is 03:13 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration