Jump to content

Java install on linux box


toranam

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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...