https://github.com/andrestubbe/fastcore
Unified JNI loader for the FastJava ecosystem. Cross-platform native library loading for Java 25+ with automatic Windows/Linux/macOS support.
https://github.com/andrestubbe/fastcore
cross-platform dll-loader fastjava java jni jvm linux macos native-library-loader windows
Last synced: 11 days ago
JSON representation
Unified JNI loader for the FastJava ecosystem. Cross-platform native library loading for Java 25+ with automatic Windows/Linux/macOS support.
- Host: GitHub
- URL: https://github.com/andrestubbe/fastcore
- Owner: andrestubbe
- License: mit
- Created: 2026-04-14T11:36:32.000Z (14 days ago)
- Default Branch: master
- Last Pushed: 2026-04-14T12:31:16.000Z (14 days ago)
- Last Synced: 2026-04-14T13:30:24.926Z (14 days ago)
- Topics: cross-platform, dll-loader, fastjava, java, jni, jvm, linux, macos, native-library-loader, windows
- Language: Java
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# FastCore — Unified JNI Loader
> **Cross-platform native library loading** for Java 17+ — Windows, Linux, macOS
[](https://www.java.com)
[](https://maven.apache.org)
[](https://opensource.org/licenses/MIT)
---
## Quick Start
```java
import fastcore.FastCore;
// Load a native library
FastCore.loadLibrary("fastrobot");
// Check platform
if (FastCore.isWindows()) {
System.out.println("Running on Windows");
}
// Get platform info
System.out.println(FastCore.getPlatformInfo());
```
---
## Features
- **Cross-platform** — Windows (.dll), Linux (.so), macOS (.dylib)
- **Automatic extraction** — Native libraries from JAR to temp
- **Smart loading** — System path first, fallback to extracted
- **Zero dependencies** — Pure Java
---
## Installation
### Direct Download (No Maven Required)
Download the latest JAR directly:
- [fastcore-1.0.0.jar](https://github.com/andrestubbe/FastCore/releases/download/v1.0.0/fastcore-1.0.0.jar)
Browse all releases: [Releases page](https://github.com/andrestubbe/FastCore/releases)
### JitPack (for Maven/Gradle projects)
**Maven:**
```xml
jitpack.io
https://jitpack.io
com.github.andrestubbe
fastcore
v1.0.0
```
**Gradle:**
```groovy
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.andrestubbe:fastcore:v1.0.0'
}
```
## Building
See [COMPILE.md](COMPILE.md) for build instructions.
---
**Part of the FastJava Ecosystem** — *Making the JVM faster.*