1 |
Hi List, |
2 |
I'm trying to set the java virtual machine as follows: |
3 |
|
4 |
#################################################### |
5 |
mephisto ~ # java-config --list-available-vms |
6 |
The following VMs are available for generation-2: |
7 |
*) Oracle JDK 1.8.0.66 [oracle-jdk-bin-1.8] |
8 |
|
9 |
mephisto ~ # java-config --set-system-vm oracle-jdk-bin-1.8 |
10 |
Now using oracle-jdk-bin-1.8 as your generation-2 system JVM |
11 |
|
12 |
ferreirafm@mephisto ~ $ java-config --set-user-vm oracle-jdk-bin-1.8 |
13 |
Now using oracle-jdk-bin-1.8 as your user JVM |
14 |
##################################################### |
15 |
|
16 |
Well, when I try to install some java application, it issues that no |
17 |
virtual machine |
18 |
is in the PATH (as show bellow). |
19 |
|
20 |
#################################################### |
21 |
ferreirafm@mephisto ~/Downloads $ sh ./install-jalview.bin |
22 |
Preparing to install... |
23 |
Extracting the installation resources from the installer archive... |
24 |
Configuring the installer for this system's environment... |
25 |
No Java virtual machine could be found from your PATH |
26 |
environment variable. You must install a VM prior to |
27 |
running this program. |
28 |
##################################################### |
29 |
|
30 |
I know I can set PATH in the .bashrc, but shouldn't |
31 |
" java-config --set-user-vm" do the work? |
32 |
|
33 |
Best, |
34 |
Fred |