Re: [gentoo-user] java virtual machine

2015-12-14 Thread Frederico Moraes Ferreira

Tks

Em 11-12-2015 23:35, Urs Schütz escreveu:

On 12/11/15 20:47, Urs Schütz wrote:

On 12/11/15 15:12, Frederico Moraes Ferreira wrote:

Has anybody happen to know which java distribution, except the oracle
one, will carry javaws?
Thanks,
Fred


javaws was working here with icedtea-bin-7.



Correction: dev-java/icedtea-web seems to be the package providing 
javaws for icedtea.







Re: [gentoo-user] java virtual machine

2015-12-11 Thread Urs Schütz

On 12/11/15 20:47, Urs Schütz wrote:

On 12/11/15 15:12, Frederico Moraes Ferreira wrote:

Has anybody happen to know which java distribution, except the oracle
one, will carry javaws?
Thanks,
Fred


javaws was working here with icedtea-bin-7.



Correction: dev-java/icedtea-web seems to be the package providing 
javaws for icedtea.


--
Urs



Re: [gentoo-user] java virtual machine

2015-12-11 Thread Urs Schütz

On 12/11/15 15:12, Frederico Moraes Ferreira wrote:

Has anybody happen to know which java distribution, except the oracle
one, will carry javaws?
Thanks,
Fred


javaws was working here with icedtea-bin-7.

--
Urs



Re: [gentoo-user] java virtual machine

2015-12-11 Thread Frederico Moraes Ferreira
Has anybody happen to know which java distribution, except the oracle 
one, will carry javaws?

Thanks,
Fred

Em 10-12-2015 23:06, Urs Schütz escreveu:
I do not know the answer to your question. But here is how I switch 
java virtual machines:


$ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-7  system-vm
  [2]   oracle-jre-bin-1.7

$ eselect java-vm set user 2
or
$ sudo eselect java-vm set system 2





Re: [gentoo-user] java virtual machine

2015-12-10 Thread Urs Schütz

On 12/10/15 14:56, Frederico Moraes Ferreira wrote:

Hi List,


Hi Fred


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?


I do not know the answer to your question. But here is how I switch java 
virtual machines:


$ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-7  system-vm
  [2]   oracle-jre-bin-1.7

$ eselect java-vm set user 2
or
$ sudo eselect java-vm set system 2

Urs






[gentoo-user] java virtual machine

2015-12-10 Thread Frederico Moraes Ferreira

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