java_interop 1.1.1 copy "java_interop: ^1.1.1" to clipboard
java_interop: ^1.1.1 copied to clipboard

Call Java from pure Dart over JNI, using only dart:ffi and no Flutter SDK. Boots or attaches to a JVM in-process, loads jars, and calls constructors, methods, fields and arrays.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add java_interop

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  java_interop: ^1.1.1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:java_interop/java_interop.dart';
1
likes
0
points
507
downloads

Publisher

unverified uploader

Weekly Downloads

Call Java from pure Dart over JNI, using only dart:ffi and no Flutter SDK. Boots or attaches to a JVM in-process, loads jars, and calls constructors, methods, fields and arrays.

Repository (GitHub)
View/report issues

Topics

#java #jni #ffi #interop #jvm

License

unknown (license)

Dependencies

ffi

More

Packages that depend on java_interop