GithubHelp home page GithubHelp logo

isabella232 / jni-utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from coursier/jni-utils

0.0 0.0 0.0 72 KB

License: Apache License 2.0

Shell 6.70% C 23.87% Java 34.71% Scala 28.25% Batchfile 6.47%

jni-utils's Introduction

coursier-jni-utils

coursier-jni-utils is a small library allowing to tap into various Windows native APIs from Java / Scala via JNI.

Developer docs

coursier-jni-utils is built with Mill. It comes up with Mill launchers (mill, mill.bat), so that only a JVM and the Visual C++ compiler should be needed to build it.

Requirements

JVM

A JVM, such as AdoptOpenJDK 8 or 11, is required. To check if such a JVM is installed, run java -version, and check that it prints a version higher than or equal to 8.

Visual C++

A Visual Studio installation with Visual C++ is required.

IDE

IntelliJ IDEA is the recommended IDE to develop on jni-utils. Prior to opening the project with IDEA, run

$ ./mill mill.scalalib.GenIdea/idea

Then open the jni-utils directory in IDEA.

Compiling

$ ./mill __.compile

This should automatically compile .h / .c files with Visual C++, create a corresponding .dll, and make it available as a resource from Java.

Running tests

Some simple tests can be run with

$ ./mill __.test

jni-utils's People

Contributors

alexarchambault avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.