Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Aug 2017 11:34:15 +0800
From:      "jinlong.hao" <jinlong.hao@gausscode.com>
To:        freebsd-java@freebsd.org
Subject:   Help with linux-oracle-jdk: does not work correctly with NON-ROOT user
Message-ID:  <73aaecb0-db26-0044-d931-f979b6d2058e@gausscode.com>

next in thread | raw e-mail | index | archive | help
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?

-- 
/jinlong.hao
Gausscode Inc.
jinlong.hao@gausscode.com /



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73aaecb0-db26-0044-d931-f979b6d2058e>