Top 11 Java Native Projects
-
-
Here is the code for JNI, which uses the prebuilt JavaCPP library to call the getpid function. We don't have to write all the manual C binding code and rituals as the JavaCPP library already does it.
-
Mergify
Automate your Pull Request with Mergify. Mergify is the most powerful merge queue tool that offers speculative checks, batch merges, and multiple queueing options. Coordinated with any CI and fully integrated to GitHub. Get started or request a demo!
-
spring-native
Spring Native provides beta support for compiling Spring applications to native executables using GraalVM native-image compiler.
Project mention: Introducing Spring Native for JHipster: Serverless Full-Stack Made Easy | dev.to | 2022-03-24During this experience, I was surprised to find that Spring Native doesn't support caching yet. I believe this support will be added by the community soon. In the meantime, if you're looking to start/stop your infra as fast as possible, you probably don't care about caching. Caching is made for long-lived, JVM-strong, JVM-loving apps.
-
Project mention: Why does requesting current position using react-native-get-location times out sometimes even with good internet connection ? | reddit.com/r/reactnative | 2021-10-17
No. You have to ask the maintainer for it. Or use this one: https://github.com/Agontuk/react-native-geolocation-service
-
Another popular option is Java Native Runtime (JNR). Though not as widely used or mature as JNA, it's much more modern and has better performance than JNA for most use cases. However, there are some cases where JNA might perform better.
-
JavaPackager
:package: Gradle/Maven plugin to package Java applications as native Windows, Mac OS X, or GNU/Linux executables and create installers for them.
Project mention: What is the official/most common/best way to make a .exe from a Java desktop app with a JavaFX GUI? | reddit.com/r/JavaFX | 2021-12-27 -
Project mention: WritableImage and real-time ray-tracing. I need help! | reddit.com/r/JavaFX | 2022-03-28
That already looks much better. Too bad you're limited to no external dependencies. This could be a nice test project for aparapi (e.g. https://foojay.io/today/high-performance-rendering-in-javafx/).
-
SonarLint
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
-
-
If you aren't off-put by the Blender/Unity UI style, there's also ImGUI a possibility as it has some java bindings available.
-
SquirrelJME
SquirrelJME is a Java ME 8 Virtual Machine for embedded and Internet of Things devices. It has the ultimate goal of being 99.9% compatible with the Java ME standard.
-
If you want to try it already you can now with this PR to ti.map.
Java Native related posts
- Kotlin/Native
- Does Java 18 finally have a better alternative to JNI?
- WritableImage and real-time ray-tracing. I need help!
- JEP 419: Foreign Function and Memory API
- Spring Native – Native Executables for GraalVM Image Compiler
- Teaching D from Scratch: Is it a viable first language?
- How run ToS on MacOSX as a java command?
Index
What are some of the best open-source Native projects in Java? This list will help you:
Project | Stars | |
---|---|---|
1 | JNA | 7,128 |
2 | JavaCPP | 3,826 |
3 | spring-native | 2,593 |
4 | react-native-geolocation-service | 1,286 |
5 | JNR | 985 |
6 | JavaPackager | 526 |
7 | Aparapi | 408 |
8 | darklaf | 345 |
9 | imgui-java | 245 |
10 | SquirrelJME | 131 |
11 | ti.map | 49 |
Are you hiring? Post a new remote job listing for free.