You are not logged in.

#1 2018-08-07 09:47:55

prosoitos
Member
Registered: 2018-03-31
Posts: 68
Website

[SOLVED] Why is javah missing from java10-openjdk?

Why is javah missing from java10-openjdk? Is this an omission or is there a reason for this?

I need javah for rJava and the R packages that depend on it. I've been working around this, over the past several months, by using java9-openjdk instead (see https://stackoverflow.com/questions/500 … #50027990). But now that java10-openjdk is officially replacing java9-openjdk and since javah is still missing from java10-openjdk, I thought that I would ask.

Thank you.

Last edited by prosoitos (2018-08-08 17:05:46)

Offline

#2 2018-08-07 11:38:53

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] Why is javah missing from java10-openjdk?

Offline

#3 2018-08-08 08:15:28

prosoitos
Member
Registered: 2018-03-31
Posts: 68
Website

Re: [SOLVED] Why is javah missing from java10-openjdk?

Oh! thank you! I've been intrigued by this for months, but had failed to find this info. Looks like javac should do the job, so hopefully I'll get rJava to work.

I appreciate the link!

Offline

#4 2018-08-08 08:20:34

prosoitos
Member
Registered: 2018-03-31
Posts: 68
Website

Re: [SOLVED] Why is javah missing from java10-openjdk?

Oh, actually rJava installed without complaint. When I tried it, months ago, when java10-openjdk was just out, it was asking for javah. But apparently, not anymore. I guess an update in rJava must have adapted to the change.

So all is good. Thank you!

Last edited by prosoitos (2018-08-08 08:20:55)

Offline

#5 2018-08-08 08:26:04

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: [SOLVED] Why is javah missing from java10-openjdk?

Please mark as [SOLVED] by editing the title in your original post: https://wiki.archlinux.org/index.php/Co … ow_to_post

Offline

#6 2018-08-08 09:34:15

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: [SOLVED] Why is javah missing from java10-openjdk?

Users have been warned of the pending removal since JDK 9, in which a warning is generated each time the javah tool is invoked.

Missed this?

Offline

#7 2018-08-08 17:05:25

prosoitos
Member
Registered: 2018-03-31
Posts: 68
Website

Re: [SOLVED] Why is javah missing from java10-openjdk?

Thank you for the [SOLVED] reminder.

I never invoked javah directly. I never work with java. I only need to have it installed to have R packages that rely on rJava working... So no, I never saw this.

In fact, I really don't know anything about java and ignored the very existence of javah until R complained about its absence. All I know is that some of the R packages I use need rJava and rJava needs jdk. Sorry for my utter ignorance when it comes to java.

Last edited by prosoitos (2018-08-08 17:10:07)

Offline

#8 2018-08-08 17:33:25

Awebb
Member
Registered: 2010-05-06
Posts: 6,286

Re: [SOLVED] Why is javah missing from java10-openjdk?

That is a good reason. I also try to avoid Java if possible.

Offline

Board footer

Powered by FluxBB