Bug 221213

Summary: java/linux-oracle-jdk18: Does not work with NONE-ROOT user
Product: Ports & Packages Reporter: jinlong.hao <jinlong.hao>
Component: Individual Port(s)Assignee: freebsd-java mailing list <java>
Status: Open ---    
Severity: Affects Only Me CC: java, jinlong.hao
Priority: --- Keywords: needs-qa
Version: LatestFlags: koobs: maintainer-feedback? (java)
koobs: merge-quarterly?
Hardware: Any   
OS: Any   

Description jinlong.hao 2017-08-04 04:01:57 UTC
Hi, ALL:

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?