Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] javaws
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
user7719
n00b
n00b


Joined: 19 Feb 2021
Posts: 60

PostPosted: Fri Mar 22, 2024 7:26 pm    Post subject: [SOLVED] javaws Reply with quote

Hi,

I'm trying to use the iDrac9 Java virtual console which is access by a jnlp file which needs javaws to run.

When I try to run it I get the following error:

Code:
$ /usr/bin/javaws
* javaws is not available for openjdk-17 on x86_64
* IMPORTANT: some Java tools are not available on some VMs or some architectures


I've tried installing various java versions:

Code:
$ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-8
  [2]   openjdk-8
  [3]   openjdk-17  system-vm
  [4]   openjdk-bin-8


And can only find one javaws on my system:

Code:
$ ls -la /usr/bin/javaws
lrwxrwxrwx 1 root root 44 Nov 26 14:55 /usr/bin/javaws -> /usr/libexec/eselect-java/run-java-tool.bash


I've also tried switching java versions:

Code:
$ eselect java-vm set 4
$ /usr/bin/javaws
* javaws is not available for openjdk-bin-8 on x86_64
* IMPORTANT: some Java tools are not available on some VMs or some architectures
$ eselect java-vm set 1
$ /usr/bin/javaws
* javaws is not available for icedtea-bin-8 on x86_64
* IMPORTANT: some Java tools are not available on some VMs or some architectures


Is it possible to make this work?


Last edited by user7719 on Sat Mar 23, 2024 11:38 am; edited 1 time in total
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1539

PostPosted: Fri Mar 22, 2024 8:19 pm    Post subject: Re: javaws Reply with quote

Java WebStart is deprecated in Java 9 and removed in Java 11.

user7719 wrote:

And can only find one javaws on my system:

Code:
$ ls -la /usr/bin/javaws
lrwxrwxrwx 1 root root 44 Nov 26 14:55 /usr/bin/javaws -> /usr/libexec/eselect-java/run-java-tool.bash




This is how eselect-java works to give you consistent invocations of java tools across the java versions.

You can either eselect java 8 for your current user and this should give you a working javaws or take a look at https://openwebstart.com/ for which there's an ebuild in fol4 overlay.

Best Regards,
Georgi
Back to top
View user's profile Send private message
user7719
n00b
n00b


Joined: 19 Feb 2021
Posts: 60

PostPosted: Fri Mar 22, 2024 8:44 pm    Post subject: Reply with quote

Hi,

I tried switching to Java 8...

Code:
$ eselect java-vm set 2
$ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-bin-8
  [2]   openjdk-8  user-vm
  [3]   openjdk-17  system-vm
  [4]   openjdk-bin-8
$ javaws
* javaws is not available for openjdk-8 on x86_64
* IMPORTANT: some Java tools are not available on some VMs or some architectures
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 370

PostPosted: Sat Mar 23, 2024 10:01 am    Post subject: Reply with quote

I think you need dev-java/icedtea-web.
Back to top
View user's profile Send private message
user7719
n00b
n00b


Joined: 19 Feb 2021
Posts: 60

PostPosted: Sat Mar 23, 2024 10:44 am    Post subject: [SOLVED] javaws Reply with quote

sMueggli wrote:
I think you need dev-java/icedtea-web.


That worked. Many thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum