LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux mint 9. How do I activate sounds from a .jar folder? (http://www.linuxquestions.org/questions/linux-software-2/linux-mint-9-how-do-i-activate-sounds-from-a-jar-folder-832302/)

Robert67 09-15-2010 07:50 AM

Linux mint 9. How do I activate sounds from a .jar folder?
 
Hello to everyone, I hope someone can help me with my small problem. I have been using Linux Mint 9 for one week and I am very happy with it. However I am having problems with a .jar folder. I downloaded Wordbiz, the scrabble software and I made the relevant file executable and opened it with Sun Java 6. The software opened perfectly and operates well apart from the sounds. There is a folder containing the sound files and I don't have a clue how to incorporate those files into the software, in other words I want the software to have sounds. Can anyone help me please? The sounds are quite important as they are alerts. Thanks in advance.

tredegar 09-15-2010 11:28 AM

I suspect there is nothing wrong with your sound files.

Can other programs make sounds?

Have you tried opening up your soundmixer (often alsamixer, in a terminal, but I have not tried Mint), and turning up all the volume sliders?

Welcome to LQ!

Robert67 09-15-2010 01:01 PM

Quote:

Originally Posted by tredegar (Post 4098398)
I suspect there is nothing wrong with your sound files.

Can other programs make sounds?

Have you tried opening up your soundmixer (often alsamixer, in a terminal, but I have not tried Mint), and turning up all the volume sliders?

Welcome to LQ!



My sound equipment is working perfectly and all other installed programs make sounds. The Wordbiz folder comes with an executable file and a sounds file, the .jar executional file opens the software but I need to know how to incorporate the sounds as they're in a separate folder. Thanks.

John VV 09-15-2010 01:25 PM

is there a start up script to set the system paths ??
most of the time there is because the files in the jar are NOT in the system path
( i looked at the file -- add the location the your $PATH
but look for something that is new and current

a link to the program you installed would help

if it is this very old thing
http://www.isc.ro/
http://www.isc.ro/linux/download.html
the newest file i can find in it is from April 2005
and almost all of the jar is from 2002

have you tried installing a java install from 2005
it might work on the 5 year old jvm

it runs ? maybe -- i am not registered at the site so ...

Quote:

NOTE: If the program doesn't start when you try to run it you will need to install Microsoft Java VM.
that dates the program MS gave up that battle a few years ago and has people install sun's and NOT MS's version
also that download page was last updated on " Mon 18 Apr 2005 03:03:46 AM EDT"
5 years ago

Robert67 09-16-2010 06:57 AM

Quote:

Originally Posted by John VV (Post 4098516)
is there a start up script to set the system paths ??
most of the time there is because the files in the jar are NOT in the system path
( i looked at the file -- add the location the your $PATH
but look for something that is new and current

a link to the program you installed would help

if it is this very old thing
http://www.isc.ro/
http://www.isc.ro/linux/download.html
the newest file i can find in it is from April 2005
and almost all of the jar is from 2002

have you tried installing a java install from 2005
it might work on the 5 year old jvm

it runs ? maybe -- i am not registered at the site so ...


that dates the program MS gave up that battle a few years ago and has people install sun's and NOT MS's version
also that download page was last updated on " Mon 18 Apr 2005 03:03:46 AM EDT"
5 years ago


Sorry I'm not sure what you mean by a system path and start up script, I've been using MS until a week ago so I'm very new to manual installation. Basically I just downloaded the Linux version of Wordbiz, executed the relevant file and opened it with Sun Java 6. I need to find how to associate the sounds folder with the executable file, there must be a way. I also downloaded the MS version and installed it in Wine but it wouldn't recognise Java on my system therefore it wouldn't open with Wine. Thanks for trying to help, I appreciate it.

MTK358 09-16-2010 07:09 AM

The system path is where all the executables are. When you type a command at the terminal it is searched for in the system path is you don't explicitly provide one. To see it, type "echo $PATH" at a terminal.

A startup script is a shell script run at startup. A shell script is kind of like a DOS batch file, except for the Unix shell (it's far more powerful).

John VV 09-16-2010 07:38 AM

what i was saying was

do you 100% NEED this very program

it is very old in linux terms and has not been updated in 5 years and may not work correctly in a current operating system ( OS )
the java it runs on is there fore 5 years out of date

did this java program ever run on MS windows 7 or vista or xp for you

do not even bother running any java JVM program in wine


java programs are MEANT TO RUN ON ANY AND ALL OS's they are os independent
-- rant --
except for old MS only java programs built with the MS ONLY tools made by MS for MS only
-- end rant --

you might want to do some reading on linux and some of the basics, you did not learn MS windows in 1 week
a good free online book , a bit old but the basics have not changed
http://rute.2038bug.com/rute.html.gz

a very good online tutorial
http://www.linux.org/lessons/
http://www.linux.org/lessons/beginner/index.html
some good how to's and information
http://www.tldp.org/index.html

MTK358 09-16-2010 07:40 AM

Just found out about this:

http://labor-liber.org/en/gnu-linux/introduction/

Robert67 09-18-2010 10:04 AM

Thanks
 
Thanks everyone for your help, much appreciated. I'll just use the software without sounds. Thanks again.

sbuttgereit 11-21-2010 01:54 PM

This fixes the problem for me using Ubuntu 10.10, should work elsewhere.
 
Hi--

Basically, the problem that you are seeing is due to 'paths'. The sound files are not in the JAR file that you execute, they are in the WordBiz/sound directory. The instructions on the ISC site, therefore, must be read very literally. From the command line, you must change directory to the WordBiz directory (i.e.: cd /<path to WordBiz>/WordBiz) and then type: java -jar wordbiz.jar. If you do that, then you will have sound.

So I don't have to do that each time I wrote a small script that I called "start.sh" and I put it in the WordBiz directory alongside the wordbiz.jar file. That script does the necessary steps for me and allowed me to add an application launcher to the Gnome panel. The script was just 3 lines:
-----------------------
#!/bin/bash
cd <path to WordBiz>/WordBiz
java -jar wordbiz.jar
-----------------------

Make the script executable and run it... next thing you know you not only have the game, but with sounds as well.

Cheers,
SCB

chuckachup 12-29-2015 04:17 AM

WOW. sbuttgereit, what a legendary answer
 
FULLY relevant to those lost and wandering scrabblers barely understanding their linux.

I knew this linux aficionado, unfortunately he had bad qualities as well... and he managed to get the wordbiz sound files working by changing all of the suffixes of each sound file. (It was fast he did it en masse somehow) but I haven't for the life of me been able to do it. He might have been lying for fun actually seemed to also be a hobby. So I have tried many suffixes, tried dl several converters and audio players... all have issues getting working on my mint rebecca or were already there or lacked other crucial additional sw that was Uninstallable. Not a helpful word! ... have read pages of overly clever and other half clever bits with crucial or sadistic missing information and tried to drag net the internet - only good side of the battle was finally learning how to give myself all possible permissions on my system (giggles)and now I have 100 awesome barely read pages bookmarked as Linux Scoobies. Yah. And heaps more dodgy repositories.

BUT!

Your answer - learnt about 6 things in it - it reminds me of my first shell command before I got dementia and forgot how to do it 10 years later after unsatisfying fling with a recently released but unstable windows distro - TWO horrid unstable diva windows distros during that time actually, the russel crowes of my OS world... both totally committed suicide. Ubuntu, Puppy and now this have actually never failed me during that whole time. They just lose all support like a woolly old bra :)

This is some kind of watershed lighthouse in my Linux learnings

Some people learn by reading screeds written by some robo genero,but if you don't understand one part you're off researching that bit and it happens again so you get stuck in a quagmire loop. unfortunately for me that style kills more braincells than the neuron paths it creates so YOUR POST is outstanding the best post I've ever seen in a forum!!! I know and understood it would work! I have to actually learn and make notes from this type of direct one on one answer, regarding one specific issue where I know the exact directory tree for the files; not good for most forums! I wish I could learn from subtle clues hinted at in shades of grey manspeak but it hasn't been working out and I can see it frustrating everyone. (And at least I never say wtF are you talking about! I only understand 20% of that and am 98% unable to put what I don't understand about it into any kind of language form.)

I might have to follow your posts, I actually understand what you are talking about, it cements things I barely understood the first time, on my first two working shells; it is a real solution to the exact issue I am having and ...very inspiring for linuxing up my life like finding your passport by breaking into your sus ex's garage after you just won some airfares that have to be used that weekend

Go hard and keep expousing! Mucho amore, great skills! chucka

PS you should seriously consider teaching intelligent but annoying / passionate women linux skills I think you have the business

PPS am sorry some people mistakenly think that wordbiz may not be worth having, but if you are mad keen on the game of scrabble you don't have any other options; it's the be all for all the best players looking for online competition, and the ONLY reason some of those people use windows. Coz it's quite linuxist.

NGIB 12-29-2015 04:41 AM

Dude, you do realize this thread is 5 years old and the poster you mentioned only posted once in 2010?

ondoho 12-29-2015 09:13 AM

necrobumplovehaterant.
read, think and slowly count to 10 before you write.

chuckachup 12-29-2015 03:44 PM

Quote:

Originally Posted by NGIB (Post 5470268)
Dude, you do realize this thread is 5 years old and the poster you mentioned only posted once in 2010?

um - yarp:) am super hoping he comes back.

forums are temporary Scrabble my dear is permanent


All times are GMT -5. The time now is 12:56 PM.