What Is Java_Home Path in Linux?
Contents Where Is Java_Home in Linux? 20 Answers Find /Usr/Lib/Jvm/Java-1. X. X-Openjdk. Vim /Etc/Profile. … Press ‘I’ to Get in Insert Mode. Add: Export...
Contents
Where is Java_home in Linux?
20 Answers
- find /usr/lib/jvm/java-1.x.x-openjdk.
- vim /etc/profile. …
- Press ‘i’ to get in insert mode.
- add: export JAVA_HOME=”path that you found” export PATH=$JAVA_HOME/bin:$PATH.
- logout and login again, reboot, or use source /etc/profile to apply changes immediately in your current shell.
14 апр. 2015 г.
What is the path for Java_home?
Set JAVA_HOME: Right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and then edit JAVA_HOME to point to where the JDK software is located, for example, C:Program FilesJavajdk1. 6.0_02.