If you want to check your java settings on Centos 7, you can simply check it by following commands:
ps -aux | grep java