Day-to-day Problems & Answers

Day-to-day Problems & Answers

How to set java path in Ubuntu 16.04

Just edit & append below code at the end of file (vi /etc/profile)

export JAVA_HOME=/home/priyan/softwares/jdk1.7.0_80
export PATH=$PATH:$JAVA_HOME/bin
echo $JAVA_HOME

/home/priyan/softwares/jdk1.7.0_80  - - - This is my location. You can add your own
Posted by Priyanka
Newer Post Older Post Home

All Posts Collection

  • ►  2022 (3)
    • ►  February (1)
    • ►  January (2)
  • ►  2020 (4)
    • ►  July (1)
    • ►  June (2)
    • ►  February (1)
  • ►  2019 (5)
    • ►  June (3)
    • ►  May (2)
  • ►  2018 (26)
    • ►  December (1)
    • ►  October (1)
    • ►  September (1)
    • ►  August (1)
    • ►  July (2)
    • ►  June (3)
    • ►  May (1)
    • ►  April (2)
    • ►  March (6)
    • ►  February (5)
    • ►  January (3)
  • ▼  2017 (25)
    • ►  November (2)
    • ►  October (5)
    • ►  September (2)
    • ►  August (3)
    • ►  July (1)
    • ►  June (1)
    • ►  May (1)
    • ▼  April (4)
      • Converting a PuTTY key for SecureCRT
      • Search all images in folder
      • How to set java path in Ubuntu 16.04
      • How to add source codes to blog
    • ►  March (5)
    • ►  February (1)
  • ►  2013 (4)
    • ►  April (1)
    • ►  March (3)
Awesome Inc. theme. Theme images by Storman. Powered by Blogger.