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.
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.
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
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 ...
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.
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).
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
a very good online tutorial
some good how to's and information
Just found out about this:
Thanks everyone for your help, much appreciated. I'll just use the software without sounds. Thanks again.
This fixes the problem for me using Ubuntu 10.10, should work elsewhere.
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:
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.
|All times are GMT -5. The time now is 03:23 PM.|