LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 09-15-2010, 07:50 AM   #1
Robert67
LQ Newbie
 
Registered: Sep 2010
Location: Hereford, England
Posts: 8

Rep: Reputation: 0
Question 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.
 
Old 09-15-2010, 11:28 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,008

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
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!
 
Old 09-15-2010, 01:01 PM   #3
Robert67
LQ Newbie
 
Registered: Sep 2010
Location: Hereford, England
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tredegar View Post
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.
 
Old 09-15-2010, 01:25 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,845

Rep: Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711
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
 
Old 09-16-2010, 06:57 AM   #5
Robert67
LQ Newbie
 
Registered: Sep 2010
Location: Hereford, England
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
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.
 
Old 09-16-2010, 07:09 AM   #6
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
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.
Old 09-16-2010, 07:38 AM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 12,845

Rep: Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711Reputation: 1711
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.
 
Old 09-16-2010, 07:40 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713Reputation: 713
Just found out about this:

http://labor-liber.org/en/gnu-linux/introduction/
 
Old 09-18-2010, 10:04 AM   #9
Robert67
LQ Newbie
 
Registered: Sep 2010
Location: Hereford, England
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks

Thanks everyone for your help, much appreciated. I'll just use the software without sounds. Thanks again.
 
Old 11-21-2010, 01:54 PM   #10
sbuttgereit
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
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
 
  


Reply

Tags
jar, linux, mint, sounds


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
how to Share a folder in linux mint 9 with windows 7..... vkmahajan123 Linux - Newbie 3 07-14-2010 07:33 AM
How to set mail.jar(JavaMail) and mysql-connector-java.jar in Linux class path Terry56 Linux - Software 3 01-19-2010 09:06 AM
I got error with this command 'java -jar NodeView-v1.1.jar' mohdismiaswaly Linux - Software 3 04-23-2009 06:24 AM
Jar files folder manolakis Programming 1 02-06-2009 02:49 PM
Fedora Core 1 Associating .jar files with java -jar command pymehta Fedora 0 01-13-2005 05:26 AM


All times are GMT -5. The time now is 07:18 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