How do I change java<UNK>Home in Linux?

Vy Bùi

New member
How do I change java<UNK>Home in Linux?
Answer
20 Answers
  1. find /usr/lib/jvm/java-1.x.x-openjdk.
  2. vim /etc/profile. …
  3. Press ‘i’ to get in insert mode.
  4. add: export JAVA_HOME=”path that you found” export PATH=$JAVA_HOME/bin:$PATH.
  5. logout and login again, reboot, or use source /etc/profile to apply changes immediately in your current shell.
14 апр. 2015 г.
 

Tìm kiếm

Back
Top