LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-02-2010, 06:20 AM   #1
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,227
Blog Entries: 23

Rep: Reputation: 279Reputation: 279Reputation: 279
PLease help me! No sound in JRE


Hi,

I use JRE 1.6.2_20 to play Runescame, but I get no sound. Can anyone please eehlp?

Tnx

Thor
Sys : FC12/JRE 1.6.0 20/Firefox
(years later - sorry for my wining...)

Last edited by Thor_2.0; 06-25-2011 at 01:56 PM.
 
Old 08-03-2010, 02:36 AM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,490

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
i could start listing off things to try.
BUT What have you done and tried already ?
and did sound work before ??? now .

Last edited by John VV; 08-03-2010 at 02:57 AM.
 
Old 08-03-2010, 02:38 AM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Works just fine here.
Debian sid 2.6.32 kernel Firefox 3.6.8 and in Chrome 6.0.472.14 dev
Java(TM) Plug-in 1.6.0_21
alsa 1.0.21

Works with the 2.6.35 kernel and alsa 1.0.23 as well.
 
Old 08-04-2010, 05:15 AM   #4
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,227
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Hi,

Both of ya: BIG tnx for a reaction...

Ok, here's a short digest of the quest I did:
- installed FC12
- installed the JRE plugin from Sun/Oracle in /usr/java/jre1.6.0_21/
- made a symlink to the libjavaplugin in /home/T01/.mozilla/plugin (home folder of the user), owner and group were transfered to "T01" (the user) using chown
- tinkered with the alternatives next, as the Sun JRE was not visible in the plugins-pane of Firefox...
- I added the Sun JRE in the libjavaplugin entry of the alternatives, set it to active (the bullet) with priority 1000 (the max I could set it to)
- also checked the read-perms of the folder (/usr/java/jre1.6.0_21/plugin/i386/ns7/libjavaplugin_oji.so) and x-perms were available, execute should have been possible...
- installed FC13 and went tru the whole song again...

I does work on FC10, there I did (about) the same - give or take some things that did'nt needed to be done as they did'nt have any impact anyway...

What I do notice is that system-configure-sound does not show ALSA as a device, but only the hardware - no virtual device as I do have in FC10...

Distro trouble? Broken stuff (I did update the FC13 - after a netinstall - it was an absolute fresh install)

BTW - what is the life cycle of your distros? Fedora has one of about six months now, and having to do that dance over and over again seems a bit of a waste of time, my projects dont wait...

Tnx!!

And all wellness to you!

Thor
(still crazy after all those years)
 
Old 08-04-2010, 11:02 AM   #5
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Take a look at http://www.mjmwired.net/resources/mj...-f13.html#java

Also see http://plugindoc.mozdev.org/linux.html#Java

Debian Stable is usually released about every 2 yrs,. You can use the backports and volatile repos to get newer packages. Stable only gets security and the rare bug fixes.

Personally I run Debian unstable it is more a rolling release, with continual updates. I have had the same install for 6 years, haven't had to reinstall so far.
I do apt-get update;apt-get dist-upgrade daily to stay updated.
 
1 members found this post helpful.
Old 08-04-2010, 04:14 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 13,490

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
you do know that fedora has the default java-icetea installed bu default ?
and by installing the sun java on top of a already installed java that messed up the currently installed java

i am not running fedora right now BUT
(/usr/java/jre1.6.0_21/plugin/i386/ns7/libjavaplugin_oji.so)
that is not the location of the already installed java in fedora
it is in the "alternitaves " folder

Quote:
I does work on FC10, there I did (about) the same
fedora changes SO VERY fast
that what worked in 10 might not work in 13
3 newer versions

the java install changed i think in fedora 11

Last edited by John VV; 08-04-2010 at 04:18 PM.
 
1 members found this post helpful.
Old 08-04-2010, 05:15 PM   #7
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,227
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Hi,

John : thanks, this means I have to re-learn how to install Java. A "mistake" I made was to assume Fedora would have some continuity in the way it's to be treated, it seems it does not. I looked at arch linux, and debian, maybe a change of distro is in order. Sadly, I really like(d) Fedora...
craigevil : big tnx for the boost here, I have the (hopefully wrong) impression that Linux is open, yet not acessible. I do hope I'm wrong...I dread the day I HAVE to revert to windows...
Lemme have a look at debian...
Eh, I'm so lost, I dont know if I have to change distro, or re-learn how to install Java. Maybe an uninstall of the icetea?

Hey, it's about midnite...and I just got of work...I'm rambling...

Wellness and goodnite good people!

Thor
 
Old 08-04-2010, 05:27 PM   #8
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,227
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Hi again,

Wow, craigevil, the links you gave are just the pick-me-up I needed right now.
I'll try that out asap...but now, the little munchkinks tell me to have a nap first...

Tnx, dudes!!

Thor
(happy again...)
 
Old 08-04-2010, 05:36 PM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 13,490

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
yep that is fedora it changes very fast
the Mjm pages are one of the best help pages for fedora
so is the fedora docs
http://docs.fedoraproject.org/en-US/index.html
 
Old 08-09-2010, 06:47 AM   #10
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,227
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Hi,

Ok, so, here's what I did: I installed Debian . Smooth install, be it that some servers were not accessible (at the time) - I tried out the runescape, and still get no sound...

Using Lenny, kernel 2.6.26-2-686, latest JRE (1.6.0_21) and Iceweasel...

But, all in all, Debian seems like the way forward for me...if it has a lifespan that exceeds that one of Fedora by a couple of years.

In case you're wondering, this is what lshw found:

description: Space-saving Computer
product: Pentium(R) 4 processor 2666 MHz
vendor: Hewlett-Packard
serial: czc3280v5z
width: 32 bits
capabilities: smbios-2.3 dmi-2.3 smp-1.4 smp

and a whole slew more, there's a 250Gb SATA disk and 1.5 Gb memory...

Something MUST be possible here...

Man, there goes the project...again.

Tnx for some insight - if possible, guys.

Wellness

Thor
 
Old 08-09-2010, 07:22 AM   #11
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Sounds more like you need to get your soundcard working properly.
take a look at Trouble shooting ALSA on Debian - LinuxQuestions.org : http://www.linuxquestions.org/questi...n-debian-3018/

For the Java web browser plugin, install either the free icedtea-gcjwebplugin (Lenny) or icedtea6-plugin (Squeeze) package,
or the <non-free> sun-java6-plugin package. For other Java programs, you can install the default-jre package to get a Java runtime;
use "apt-cache search java-virtual-machine" to see other implementations. The best options are probably openjdk-6-jre or sun-java6-jre (non-free).

$ apt-cache policy sun-java6-plugin
sun-java6-plugin:
Installed: 6.21-1
Candidate: 6.21-1
Version table:
*** 6.21-1 0
500 http://mirrors.kernel.org sid/non-free Packages
100 /var/lib/dpkg/status

Update Iceweasel to the version in the backports repo.I would also update the kernel to the backports one.
See http://backports.org/dokuwiki/doku.php?id=instructions
 
Old 08-11-2010, 08:55 AM   #12
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,227
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Hi,

I just (simply) re-installed Debian added Pulseaudio and I have system sounds - quite a bit of them...but, no sound in the JRE. :S

I used the Sun JDK 1.6.0 21 and the JRE from that set.

Are we looking at a security problem here?

Tnx 4 yur hlp!!!

Thor

Last edited by Thor_2.0; 08-11-2010 at 09:15 AM.
 
Old 08-13-2010, 10:57 AM   #13
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,227
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
By the way - anyone else had this problem? And found a way to fix this? I'd like to head/read from you...and your solution. I'm still slaying in silence here (in Runescape) and I would like to hear the agony of the ones I slay...

Ok, I just want to hear sounds in Java...

Please...

Thanks

Thor
 
Old 08-14-2010, 05:17 PM   #14
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,227
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Well, for one I dont think it is a security problem...and I cannot install JMF...

If any-bo-dy has something clever/usefull to add, please do...thanks

Thor
:-(
 
Old 08-21-2010, 08:24 AM   #15
Thor_2.0
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,227
Blog Entries: 23

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
Hi,

In the (bleak) hope of some answer/solution...I had the same effect on a PC where Runescape does work. The VLC was still active, and I did not get any (ambient) sounds in the game.

I re-installed PulseAudio on the Debian machine but without any difference.
Can it be that the system-sounds get in the way? Something else is in the way? How do I figure out what wants to make sound and thus hogs the speakers - so to speak?

Thanks

Thor
 
  


Reply

Tags
java, jre, sound


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
Please help JRE make sound... Thor_2.0 Linux - Software 4 06-28-2010 01:09 AM
Sun JRE versus GNU JRE frznchckn Linux - Software 3 05-19-2009 01:18 PM
Where JRE 5.0 Branta Puppy 3 12-28-2007 03:46 PM
convert from jre-...-rpm.bin into jre-...rpm gimi_k2 Linux - Newbie 3 07-18-2005 07:34 PM


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