Hello. I have strange problem. I login to cbsd and from root i get this :
and when i log to another user i get this.
Anyone can tell me why ??
I think this is that same java... why on root i get 17 on user i get 8
On both users $JAVA_HOME is not set.
Thanks for help
Code:
synch:/root@[10:03] # /usr/local/bin/java -version
openjdk version "17.0.4" 2022-08-12
OpenJDK Runtime Environment (build 17.0.4+8-1)
OpenJDK 64-Bit Server VM (build 17.0.4+8-1, mixed mode, sharing)
synch:/root@[10:09] # md5 /usr/local/bin/java
MD5 (/usr/local/bin/java) = ca23f4f8610452f7de984ab3a31a129b
synch:/root@[10:10] # df -h | grep /usr/local
/jails/jails-data/synch-data/usr/local 829G 2.1G 827G 0% /usr/local
Code:
synch:/root@[10:10] # su -l bauer
[bauer@synch ~]$ /usr/local/bin/java -version
openjdk version "1.8.0_342"
OpenJDK Runtime Environment (build 1.8.0_342-b07)
OpenJDK 64-Bit Server VM (build 25.342-b07, mixed mode)
[bauer@synch ~]$ md5 /usr/local/bin/java
MD5 (/usr/local/bin/java) = ca23f4f8610452f7de984ab3a31a129b
[bauer@synch ~]$ df -h | grep /usr/local
/jails/jails-data/synch-data/usr/local 829G 2.1G 827G 0% /usr/local
I think this is that same java... why on root i get 17 on user i get 8
On both users $JAVA_HOME is not set.
Thanks for help