I have a following problem.
I am executing an OS command line from within Oracle database that executes an external jar file with some parameters. I can't see shell output but I can connect with a different user to that same server through ssh/ftp and read files. There are multiple versions of Java on that server and I would like to see which one Oracle is using. Is it possible?
And before you start - no,
java -version > out.txt
does not work. It prints Java version to console and creates an empty file.