LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-30-2010, 06:01 PM   #1
DebianUserfg
LQ Newbie
 
Registered: May 2010
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Sound not working properly on Runescape (Java) (Details in post) - Debian GNU/Linux


Hey, my first question on LQ

My sound on Runescape stops and picks up, is very choppy and annoying. I'm using Debian "Lenny". Sound on everything else works just fine (Flash, VLC, etc...)

Here are the Java packages I have installed:

openjdk-6-jre
openjdk-6-jre-headless
openjdk-6-jre-lib

Is there anyway to fix this? Any help is greatly appreciated.

Here is my computers hardware:

Intel Core 2 Duo 1.8Ghz
2GB RAM
250GB HDD
nVidia 8600GT
 
Old 05-30-2010, 06:35 PM   #2
jamescondron
Member
 
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
Walk me through exactly what you do to get to (and play) runescape. In as much detail as you think is necessary (I'm not interested in every mm you move the mouse, but every click would be good etc.)
 
Old 05-30-2010, 08:04 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
Try using sun-java6-plugin rather than openjdk.
 
Old 05-30-2010, 09:04 PM   #4
DebianUserfg
LQ Newbie
 
Registered: May 2010
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by craigevil View Post
Try using sun-java6-plugin rather than openjdk.
I can't find out how to install sun-java6, that's why I installed openjdk, do you know a tutorial that I can follow so I can install sun-java? Thanks for all the replies
 
Old 05-30-2010, 09:10 PM   #5
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 67
For lenny it's the packages sun-java6-bin and sun-java-jre. You can use synaptic or apt-get to install them.

EDIT: There is also a sun-java-plugin. They are not "official" debian packages, you'll probably have to add the multimedia repository to your sources.list. I would install all three.

Last edited by brucehinrichs; 05-30-2010 at 09:13 PM.
 
Old 05-30-2010, 09:35 PM   #6
DebianUserfg
LQ Newbie
 
Registered: May 2010
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by brucehinrichs View Post
For lenny it's the packages sun-java6-bin and sun-java-jre. You can use synaptic or apt-get to install them.

EDIT: There is also a sun-java-plugin. They are not "official" debian packages, you'll probably have to add the multimedia repository to your sources.list. I would install all three.
I added those repositories to my sources.list, but when I apt-get these programs, they say they cannot find them. Same with Synaptic, I search for them but nothing shows up... am I doing something wrong?
 
Old 05-30-2010, 10:01 PM   #7
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
sun-java is in the Debian repos, make sure you have contrib non-free.
http://packages.debian.org/lenny/sun-java6-plugin

You stable/lenny line should look more or less like:
deb http://http.us.debian.org/debian/ lenny main contrib non-free

feel free to change the country code to whatever works best for you.
 
Old 05-30-2010, 10:19 PM   #8
DebianUserfg
LQ Newbie
 
Registered: May 2010
Distribution: Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by craigevil View Post
sun-java is in the Debian repos, make sure you have contrib non-free.
http://packages.debian.org/lenny/sun-java6-plugin

You stable/lenny line should look more or less like:
deb http://http.us.debian.org/debian/ lenny main contrib non-free

feel free to change the country code to whatever works best for you.
Okay, here's what I did, I downloaded the .bin file from Java's website. I installed it, then I installed that plugin in the repo you posted, and everything worked, got on and Java started up, and my sound is working great! You guys helped me so much, thank you!
 
Old 05-31-2010, 12:16 PM   #9
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 67
Glad you got it working! If you're happy with the solution, please mark the thread as [SOLVED] using the Thread Tools located at the top of the thread.
 
Old 06-29-2011, 03:03 PM   #10
Sapa
LQ Newbie
 
Registered: Jun 2011
Posts: 6

Rep: Reputation: Disabled
this was my solution and iI hav made a newb thread same as this reply

(IGNORE THIS POST AFTER RESTARTING HAVNT BEEN ABLE TO DO IT AGAIN)

Well this is amazing, after 4 months and just after I posted elsewhere I have cracked it.

This is on 11.04 Natty Ubuntu

I have already switched to the Classic view in System then login

Already I have installed

GNOME Alsa mixer

Pulse Audio

Latest java mine is jre-6u26-linux-x64.bin installed via terminal into usr/local with symbolic link to Mozilla plugins and have removed icedtea symbolic link, instructions are on the java page where you download the .bin file

removed the hot thingy java cant remember what it was called exactly, I removed with update manager

if you put "about : plugins" into address bar of firefox you see what you have

I have gone through so much and even lost all my loyalty points with this and even bought a new comp and sound card but here is the solution to getting all the sound in Runescape:

***Check that nothing is muted in the GNOME Alsa mixer

(and I just kept trying different combinations of this and the sound preferences until I had music playing - I mean any music - I played lots of Muse till I heard it.) I haven't got speakers on this comp only headset, may be shouting for quite a while now.

***Once you know that you have sound, use SYNAPTIC and find the alsa-oss and alsaplayer-oss and install them.


I now have MUSIC on my comp, MUSIC on Runescape and also SOUND EFFECTS on Ubuntu 11.04 You have to find the alsa-oss compatibility installations to make oss play through alsa player its that simple


I REPEAT Once you know that you have sound on your computer, USE SYNAPTIC - find in synaptic and install these 2 packages

alsa-oss

and
alsaplayer-oss

Remove with package manager the other java versions except for icedtea (some other programs use this)

Then using firefox go to the java site and test java - it should not work, if it does you have to remove the symbolic links in mozilla.

Find the mozilla plugins folder in /usr/lib/mozilla
and remove the link to iced tea and to any other java versions
you can do this in terminal
(all the instructions are on the java page)


then you can download the latest java for linux from that same place as a .bin file and all the instructions are on the page as well as instructions for removing symbolic links using terminal.
(put the file into /usr/local to install it)


Only mistake in instructions on the official java page is that the symbolic link plugin ( li -s) has to go into the folder /usr/lib/mozilla/plugins
NOT firefox/plugins

Iced tea doesn't work anywhere near as well as the latest official java from their site.

Make sure your graphics driver is installed (Administration additional drivers)

Install using the software center the GNOME Alsa Mixer if you are on a gnome linux and also get Pulse Audio and Alsa Player then make sure your sound is ok on your computer, you may have to mess around with settings.

Then as i said in my last post install those 2 files alsa-oss and alsaplayer-oss and your sound should work as well

Last edited by Sapa; 07-03-2011 at 09:48 PM. Reason: CHANGE OF CIRCUMSTANCES
 
Old 07-03-2011, 06:49 PM   #11
Sapa
LQ Newbie
 
Registered: Jun 2011
Posts: 6

Rep: Reputation: Disabled
Sound was working fine on natty ubuntu when I posted the above and I was very pleased to have sound effects on Runescape after months of wracking my brains, missing the game as it's totally spoilt with out sound effects. I've played it for about 4 years with sound effects until I upgraded to 11.04 in April.

I really thought I had it when I posted last time but when I restarted my comp no sound effects and can't get the settings right again.
I have just bought a windows disk and coa .

I also need to point out that it was ok before the updates on 10:10 that I lost the sound effects so it's something in the upgrade but I don't know what. Now even reinstalling a fresh install of 10.10 doesn't work.

I like Ubuntu for most things but what's the point if it doesn't do the one thing i want it to??
 
  


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
Fedora 12: Cursor keys not working properly in GNU Screen retrovertigo Fedora 0 11-26-2009 12:25 AM
[SOLVED] sound is not working properly on debian testing(squeeze) mf93 Linux - Hardware 2 10-10-2009 09:39 AM
firefox and java not properly working under x64 Eric Vazquez Linux - Newbie 2 01-29-2009 10:32 AM
Java Sound works, but not 100% properly. (Driving me crazy!) Red Barchetta Linux - General 0 03-18-2007 02:08 AM
Java plugin and runescape BobNz Linux - Games 2 04-16-2004 10:21 PM


All times are GMT -5. The time now is 10:11 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration