For some reason, I have change openjdk to linux-oracle-jdk. I've install linux-oracle-jdk on FreeBSD-11（linux-c7 by pkg, linux-oracle-jdk18 by ports), and i find two problems with it:
1. After install linux-oracle-jdk, with root user, i type "java -version" command, and the error msg appears: "libjli.so: cannot open shared object file: No such file or directory". I simply cp this file from jdk directory to /compat/linux/lib, the problem is solved.
2. when i change user from root to common user, the "java -version" seems does not work correctly, and there is no response any more. Could anyone tell me what's the problem, and how to solve it?