From: Frederico Moraes Ferreira <ferreirafm@usp.br>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] java virtual machine
Date: Thu, 10 Dec 2015 16:56:18 +0000 [thread overview]
Message-ID: <5669AEB2.7050509@usp.br> (raw)
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
next reply other threads:[~2015-12-10 18:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-10 16:56 Frederico Moraes Ferreira [this message]
2015-12-10 23:06 ` [gentoo-user] java virtual machine Urs Schütz
2015-12-11 17:12 ` Frederico Moraes Ferreira
2015-12-11 22:47 ` Urs Schütz
2015-12-11 23:35 ` Urs Schütz
2015-12-14 10:50 ` Frederico Moraes Ferreira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5669AEB2.7050509@usp.br \
--to=ferreirafm@usp.br \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox