Where is my Java path Ubuntu?

Where is my Java path Ubuntu?
Answer
Steps
  • Launch the Terminal and type in sudo su to root.
  • Identify where is Java installed on your Ubuntu Machine by typing. which java .
  • to set the JAVA_HOME globally, you have to edit the bash.bashrc file.
  • At the end of the file type the following, one line at a time.
  • Line 1.
  • Line 2.
  • Line 3.
  • Line 4.
 

Tìm kiếm

Back
Top