Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] how to install oracle-jdk-bin?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
papandreoos
Apprentice
Apprentice


Joined: 17 Dec 2014
Posts: 163

PostPosted: Sun Jun 10, 2018 3:38 pm    Post subject: [SOLVED] how to install oracle-jdk-bin? Reply with quote

if i emerge it, i get error:
Quote:

!!! ERROR: Could not find a vm matching: oracle-jdk-bin-9

it's an error message but portage install the package (jdk) successfully.
also when i command:
Quote:
java-config --list-available-vms
i get:
Quote:
The following VMs are available for generation-2:

and thats it. there is nothing there.

also if i command:
Quote:
eselect java-vm list

i get:
Quote:
Available Java Virtual Machines:
(none found)


(oracle-jre-bin is installed successfully without any error message)


Last edited by papandreoos on Sun Jun 10, 2018 6:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30907
Location: here

PostPosted: Sun Jun 10, 2018 4:45 pm    Post subject: Reply with quote

What version you installed? With 1.8 here no problem
Code:
# eselect java-vm list
Available Java Virtual Machines:
  [1]   oracle-jdk-bin-1.8  system-vm

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
papandreoos
Apprentice
Apprentice


Joined: 17 Dec 2014
Posts: 163

PostPosted: Sun Jun 10, 2018 5:24 pm    Post subject: Reply with quote

fedeliallalinea wrote:
What version you installed? With 1.8 here no problem
Code:
# eselect java-vm list
Available Java Virtual Machines:
  [1]   oracle-jdk-bin-1.8  system-vm


Code:
equery l oracle-jdk-bin
 * Searching for oracle-jdk-bin ...
[IP-] [  ] dev-java/oracle-jdk-bin-9.0.4-r2:9


i'm on testing branch.
Back to top
View user's profile Send private message
papandreoos
Apprentice
Apprentice


Joined: 17 Dec 2014
Posts: 163

PostPosted: Sun Jun 10, 2018 5:54 pm    Post subject: Reply with quote

fedeliallalinea thank you very much!
i downgraded to stable branch, both oracle's jre and jdk and now i can open those JNLP files!
(there is a FAQ on the site where the JNLP files come from and it said that there is a problem with icedtea and they suggest using the oracle java).

also i didnt USE the nsplugin or javafx.
and i also remove the jre.
i see it can work (the JNLP files) just with the jdk.

so problem solved i think :-).
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30907
Location: here

PostPosted: Sun Jun 10, 2018 5:58 pm    Post subject: Reply with quote

I'm glad you resolved.
I tried also me to download java-9 but java-config or eselect can't work.
Maybe installing eselect-java from java overlay but not tried.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
papandreoos
Apprentice
Apprentice


Joined: 17 Dec 2014
Posts: 163

PostPosted: Sun Jun 10, 2018 7:13 pm    Post subject: Reply with quote

thanks again :-)
Back to top
View user's profile Send private message
papandreoos
Apprentice
Apprentice


Joined: 17 Dec 2014
Posts: 163

PostPosted: Wed Jul 25, 2018 11:47 am    Post subject: Reply with quote

i have another question.
it's working OK as i said before but every time i open jnlp file i get warning:
java update needed.
your java version is out of date.
Click Update to install the recommended latest version.
Click Block to stop Java content in your browser or Later to
continue and be reminded again later.

i can mark:
do not ask again until the next update is available (so i mark it of course).

and than i press Later.

but everytime i open jnlp file i get the same warning message.
i want to disable this message.
how can i do this?

(i'm using stable oracle jdk bin).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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