javahhas been deprecated since JDK 8 and will / was removed in JDK 10 , and in accordance with JEP 313 and obsolescence javac, flag text -hshould be used instead:
Warning. The tool javahis planned to be removed in the next major version of the JDK. The tool has been replaced with the '-h' option added to javacthe JDK 8. Users are encouraged to switch to the javac'-h' option ; see the javac man page for more information.
The problem is that it javahworks with compiled files .class, but it javacworks with source files (i.e. .java).
javahworks fine with Kotlin functions and externalsince everything ends with compilation as Java bytecode, but since there are no Java source files, when using Kotlin I don’t see any way I javac -hcould work.
Is there a replacement javahor workaround for Kotlin?
Moira source
share