after installing intellij idea 14, oraclejdk 1.8 u25 (64 bit) on 14.04 ubuntu system, cannot configure java sdk use jdk. when navigate module settings->sdk , click configure sdk, add button, , select /usr/java/jdk1.8.0_25
in dialog, error popup stating "the selected directory not valid home jdk."
i've checked contents of directory, contains bin
folder both java
, javac
inside, lib
folder , jre
folder.
i've tried selecting each of in turn, no avail, expected.
evan knowles posted link https://askubuntu.com/questions/130186/what-is-the-rationale-for-the-usr-directory. provided me solution problem.
instead of using jdk @ /usr/java/jdk1.8.0_25
, instead used jdk @ /usr/local/java/jdk1.8.0_25
. reasons works rather other explained in detail within link.
Comments
Post a Comment