An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# FastCore — Unified JNI Loader

> **Cross-platform native library loading** for Java 17+ — Windows, Linux, macOS

[![Java](https://img.shields.io/badge/Java-17+-blue.svg)](https://www.java.com)
[![Maven](https://img.shields.io/badge/Maven-3.9+-orange.svg)](https://maven.apache.org)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](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.*