Using Intellij IDEA with current JDK
maurizio.cimadamore at oracle.com
Wed Jan 17 21:22:53 UTC 2018
And here's a link to the Intellij issue:
Says it should be in 2017.3.2, which is what I've got, so I think an
update should fix the problem for you.
On 17/01/18 21:16, Maurizio Cimadamore wrote:
> Whoops - forgot
>  - https://bugs.openjdk.java.net/browse/JDK-8193503
> On 17/01/18 21:15, Maurizio Cimadamore wrote:
>> Hi Andrew,
>> this is a bug in IntelliJ - not sure if it's already fixed in the
>> latest version - you might want to try to update in case you have not
>> done it.
>> The reason is that IntelliJ used to check for the presence of javah
>> to see if a JDK home was valid - since javah was removed , that
>> detection started to act up.
>> One workaround is to put an empty file called 'javah' in your JDK bin
>> folder :-)
>> On 17/01/18 16:15, Andrew Haley wrote:
>>> I now always get "The selected directory is not a valid home for JDK".
>>> when selecting the JDK home directory.
>>> Does anybody have any idea how to persuade IDEA that we need to work
>>> on the current top-of-tree JDK? Thanks.
More information about the jdk-dev