Hi List,
I'm trying to set the java virtual machine as follows:

####################################################
mephisto ~ # java-config --list-available-vms
The following VMs are available for generation-2:
*)    Oracle JDK 1.8.0.66 [oracle-jdk-bin-1.8]

mephisto ~ # java-config --set-system-vm oracle-jdk-bin-1.8
Now using oracle-jdk-bin-1.8 as your generation-2 system JVM

ferreirafm@mephisto ~ $ java-config --set-user-vm oracle-jdk-bin-1.8
Now using oracle-jdk-bin-1.8 as your user JVM
#####################################################

Well, when I try to install some java application, it issues that no virtual machine
is in the PATH (as show bellow).

####################################################
ferreirafm@mephisto ~/Downloads $ sh ./install-jalview.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable.  You must install a VM prior to
running this program.
#####################################################

I know I can set PATH in the .bashrc, but shouldn't
" java-config --set-user-vm" do the work?

Best,
Fred

Reply via email to