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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-15-2010, 07:50 AM
|
#1
|
|
LQ Newbie
Registered: Sep 2010
Location: Hereford, England
Posts: 8
Rep:
|
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.
|
|
|
|
09-15-2010, 11:28 AM
|
#2
|
|
Guru
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,002
|
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!
|
|
|
|
09-15-2010, 01:01 PM
|
#3
|
|
LQ Newbie
Registered: Sep 2010
Location: Hereford, England
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by tredegar
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.
|
|
|
|
09-15-2010, 01:25 PM
|
#4
|
|
Guru
Registered: Aug 2005
Posts: 9,525
|
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
|
|
|
|
09-16-2010, 06:57 AM
|
#5
|
|
LQ Newbie
Registered: Sep 2010
Location: Hereford, England
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by John VV
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.
|
|
|
|
09-16-2010, 07:09 AM
|
#6
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
|
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).
|
|
|
1 members found this post helpful.
|
09-16-2010, 07:38 AM
|
#7
|
|
Guru
Registered: Aug 2005
Posts: 9,525
|
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
Last edited by John VV; 09-16-2010 at 07:39 AM.
|
|
|
|
09-16-2010, 07:40 AM
|
#8
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
|
|
|
|
|
09-18-2010, 10:04 AM
|
#9
|
|
LQ Newbie
Registered: Sep 2010
Location: Hereford, England
Posts: 8
Original Poster
Rep:
|
Thanks
Thanks everyone for your help, much appreciated. I'll just use the software without sounds. Thanks again.
|
|
|
|
11-21-2010, 01:54 PM
|
#10
|
|
LQ Newbie
Registered: Nov 2010
Posts: 1
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:03 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|