- Java 11 and 12:New Features
- Mala Gupta
- 188字
- 2021-07-02 12:27:08
Removal of the Native-Header Generation Tool (javah)
This version of JEP has removed the javah tool from the tools shipped with the JDK.
Suppose that you need instances of your class to be referenced by native code in C. Developers have used the javah tool to generate the C header and source files from a Java class. The generated code is used to enable native code (say, written in C) to access the instances of your Java class. The javah tool creates a .h file, which defines struct, similar to the structure of your class. For multiple classes in a source file, the javah tool generates separate .h files.
The removal of javah doesn't imply any decline in the usage of your Java classes by the native code.
With Java 8, javah was enhanced to take on the responsibility of generating the C header and source code files. After testing over two versions, javah is being removed from Java SE 10.
- TypeScript Essentials
- JavaScript從入門到精通(微視頻精編版)
- Spring 5.0 By Example
- Java系統分析與架構設計
- Spring技術內幕:深入解析Spring架構與設計
- Oracle Database In-Memory(架構與實踐)
- Visual Basic程序設計教程
- INSTANT Weka How-to
- Hands-On Microservices with Kotlin
- WordPress 4.0 Site Blueprints(Second Edition)
- C語言程序設計
- 青少年信息學競賽
- 零基礎入門學習Python(第2版)
- Unity 2D Game Development Cookbook
- 軟件測試實用教程