LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-26-2004, 05:26 AM   #1
RaiReg
Member
 
Registered: Jul 2003
Location: Bali, Indonesia
Distribution: SuSE, Ubuntu, Kubuntu, Mepis, Mandrake, Knoppix, Slax
Posts: 50

Rep: Reputation: 15
Hattrick Organizer Problem


Hi

Does anyone here play fantasy soccer on Hattrick at http://hattrick.org ?

Well anyway I do and there is a great software to help with the game named Hattrick Organizer (http://www.hattrickorganizer.de/) it requires Java to run and it's suppose to run under Linux to (as stated on their site) by executing the "HO.sh" file however I haven't been able to figure out how to make it work

HO.sh file only contains this line "java -jar hocoded.jar" so maybe someone could tell me if something needs to be changed

I have Java installed (J2RE 1.4.2) on my system.

Can anyone please englighten me

Thanks
 
Old 01-26-2004, 07:33 AM   #2
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,261

Rep: Reputation: 297Reputation: 297Reputation: 297
Hi

I really dont know this program, but java programs need java, and they usually need to know where it is.

Simly running "HO.sh" should work. Command:
sh HO.sh
(works even if it doesn't have the execute permission)

If it complains about not finding java, you need to find it, and I suggest adding it to the PATH variable (permanent fix), although I think it would work if you just changed the "java" word i HO.sh to the full path.

Hope this helps.
 
Old 01-26-2004, 07:40 AM   #3
RaiReg
Member
 
Registered: Jul 2003
Location: Bali, Indonesia
Distribution: SuSE, Ubuntu, Kubuntu, Mepis, Mandrake, Knoppix, Slax
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Guttorm
Hi

I really dont know this program, but java programs need java, and they usually need to know where it is.

Simly running "HO.sh" should work. Command:
sh HO.sh
(works even if it doesn't have the execute permission)

If it complains about not finding java, you need to find it, and I suggest adding it to the PATH variable (permanent fix), although I think it would work if you just changed the "java" word i HO.sh to the full path.

Hope this helps.
thx will try that, hopefully it will work
 
Old 01-26-2004, 07:14 PM   #4
RaiReg
Member
 
Registered: Jul 2003
Location: Bali, Indonesia
Distribution: SuSE, Ubuntu, Kubuntu, Mepis, Mandrake, Knoppix, Slax
Posts: 50

Original Poster
Rep: Reputation: 15
Smile

Hi changed the line in HO.sh from "java -jar hocoded.jar" to "/usr/java/j2re1.4.2_02/bin/java -jar hocoded.jar" and then run the file from console using $ sh HO.sh and it works now

Thanks a lot !

I was wandering would it be possible to make a shortcut for it on the desktop so I don't need to go to console every time I want to run it ? I tried by creating Link to application on my Desktop but it didn't work, is there a way to do it ?

Many thanks again
 
  


Reply


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
Music Organizer Artik Linux - Software 10 07-23-2005 11:03 AM
Library Organizer secprovider Linux - Software 0 11-11-2004 02:26 PM
Looking for an organizer/calendar under X Linux.tar.gz Linux - Software 5 08-24-2004 06:56 PM
Mp3 Organizer nrunge Linux - Software 2 12-04-2003 09:15 PM
Need a calendar / organizer jpbarto Linux - Software 7 09-11-2003 10:02 AM


All times are GMT -5. The time now is 01:11 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration