Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > General Linux Support
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 12th, 2003
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Here Is The 411

Quote:
Originally posted by GertDeSmet
I have followed the procedure and i still cant run Java. When i do java -version it says java command not found. here is my profile :

PATH=/usr/java/j2re-1.4.0_03/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/julien/bin
JAVA_HOME=/usr/java/j2re-1.4.0_03
PATH=/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/julien/bin
export JAVA_HOME

thnx a lot in advance 4 ur help

gert
First, $JAVA_HOME should be written before your $PATH statement.
Second, Your path statement with your $JAVA_HOME path statement should be written as follows:

PATH=$JAVA_HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/julien/bin

So your profile should look like this:

JAVA_HOME=/usr/java/j2re-1.4.0_03
PATH=$JAVA_HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/julien/bin


Next you would need to type:

source /etc/profile

or

. /etc/profile #make sure there is a space between the period (.) and slash (/).

or

source ~/.bash_profile

or

. ~/.bash_profile #Make sure there is a space between the period (.) and tilde (~).

or simply logout and then back in to your system to initialize your system to use the new changes to your shell environment.

The dot/period (.) is the same as the "source" command on most systems that don't recognize the "source" command.

HTH

altoine
Reply With Quote
Reply


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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
i need help; LW says please install the new version of java after installing Java Logan_2468 Windows 7 October 5th, 2009 11:07 PM
Installing Java humbertoarte Windows 5 October 11th, 2006 09:25 AM
Installing Java m-life Windows 2 March 5th, 2006 12:32 PM
Installing Java chunkin General Linux Support 1 September 8th, 2003 12:29 PM
Installing java Unregistered General Linux Support 1 March 3rd, 2002 04:29 AM


All times are GMT -7. The time now is 04:00 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.