No Java Virtual Machine Error

Latest response

Hi Guys,
as always, thanks for your help.

I am trying to run a script to install a foglight agent as user "oracle" . When I run the script, I get this error

"Connection to X Server failed. Switching to console mode.
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program"

Any help with this will be truly appreciated.

Thanks to all.

Responses