Current Raspbian (version 2015-02-16) preload with java 1.8.0. By default, both java and javac are in PATH (that's why we can run java and javac directly), but no JAVA_HOME set.
This video show how to verify java location, set JAVA_HOME in .bashrc, and verify using jEdit.
- By default, java should be in /usr
- Edit hidden file .bashrc with command:
$ nano .bashrc
No comments:
Post a Comment