Jump to content

Java install on linux box


Recommended Posts

Posted
Just now, jefferson1 said:

i think you need to use export command 

 

 

edi work autundo chustunna

 

~/.bashrc

JAVA_HOME='/usr/jre1.8.0_221'
export JAVA_HOME
PATH="$JAVA_HOME/bin:$PATH"
export PATH

Posted
Just now, Amrita said:

 

export PATH=$PATH:/usr/java/jdk1.5.0_07/bin

naa java JAVA_HOME='/usr/jre1.8.0_221' lo undi

Posted
1 minute ago, Amrita said:

 

export PATH=$PATH:/usr/java/jdk1.5.0_07/bin

This will only export for that session no

Posted
3 minutes ago, toranam said:

edi work autundo chustunna

 

~/.bashrc

JAVA_HOME='/usr/jre1.8.0_221'
export JAVA_HOME
PATH="$JAVA_HOME/bin:$PATH"
export PATH

export PATH=/usr/java/<JDK Directory>/bin:$PATH

Posted
3 minutes ago, toranam said:

edi work autundo chustunna

 

~/.bashrc

JAVA_HOME='/usr/jre1.8.0_221'
export JAVA_HOME
PATH="$JAVA_HOME/bin:$PATH"
export PATH

Did you log in to a new session and verify? 

Or do

source  .bashrc

Posted
2 minutes ago, toranam said:

naa java JAVA_HOME='/usr/jre1.8.0_221' lo undi

replace then

export PATH=$PATH:/JAVA_HOME

Posted
3 minutes ago, Amrita said:

export PATH=$PATH:/usr/java/jdk1.5.0_07/bin

$ echo $PATH

Thats not installation. Just setting path to jdk if its installed

Posted
Just now, Somedude said:

Thats not installation. Just setting path to jdk if its installed

 

10 minutes ago, toranam said:

yah looking to update path ..as application is not seeing it ..so ekkada exact ga update cheyalo chustunna

 

Posted
2 minutes ago, Idassamed said:

Did you log in to a new session and verify? 

Or do

source  .bashrc

i thought bashrc file lo he is saving.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...