Bug 221213 - java/linux-oracle-jdk18: Does not work with NONE-ROOT user
Summary: java/linux-oracle-jdk18: Does not work with NONE-ROOT user
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-java mailing list
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2017-08-04 04:01 UTC by jinlong.hao
Modified: 2017-08-07 00:43 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (java)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?