tree: 9378ceaee6216dd3a69eeec26b5994fdbb2036ea [path history] [tgz]
  1. bin/
  2. .gitignore
  3. analysis_options.yaml
  4. CHANGELOG.md
  5. pubspec.yaml
  6. README.md
pkgs/jnigen/example/pdfbox_plugin/dart_example/README.md

Running

After generating pdfbox_plugin bindings in the parent directory

  • setup native libraries: dart run jni:setup

  • dart run bin/pdf_info.dart <Path_to_PDF_File>

Alternatively, it's possible to compile bin/pdf_info.dart and then run it.

To run it from other directories, the helperDir and classpath parameters in Jni.spawn call should be adjusted appropriately.