29 coaches online • Server time: 09:20
Forum Chat
Log in
Recent Forum Topics goto Post Gnome Roster - how a...goto Post Gnomes are trashgoto Post All Star Bowl!
SearchSearch 
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic
Kardac



Joined: Oct 31, 2003

Post 16 Posted: Apr 11, 2004 - 13:03 Reply with quote Back to top

I have the latest java installed in my Suse dist, (9.0).
But when i try the java -jar Bbowl.jar command, the os cant find the program?

Ideas?
BTW, Im a newbie at Linux.....

_________________
Best regards,
Kardac Stenfot
www.norroner.com
Candlejack



Joined: Aug 02, 2003

Post   Posted: Apr 11, 2004 - 13:50 Reply with quote Back to top

You mean it can't find the java command? If so, make sure you either include the path to you jre in you path variable or to use the full path for the programm call. I recommend the first way Smile Assuming your jre was installed to /usr/lib/java/jre<versionnumber> you should add the following line to your system wide bashconfiguration file (that should /etc/bashrc if suse handles it in a sane way Wink) or your user specific .bashrc resident in your homedirectory (note the "." as first character so it will be hidden unless you use ls -a to examine the directory):

export PATH=$PATH:/usr/lib/java/jre<versionnumber>/bin

After adding this line open a new terminal and all should work properly (you can also reuse your current shell by sourcing the modified config file using the command ". <config file>")

hth, Candlejack

_________________
--
The Sanity Resort
Kardac



Joined: Oct 31, 2003

Post   Posted: Apr 11, 2004 - 22:23 Reply with quote Back to top

Thanx Candlejack.
That did the trick Very Happy

_________________
Best regards,
Kardac Stenfot
www.norroner.com
Display posts from previous:     
 Jump to:   
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic