NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #153 (closed task: fixed)

Opened 2010-08-23T11:03:53-05:00

Last modified 2010-08-31T12:05:15-05:00

Finish jar2lib project

Reported by: curtis Owned by: curtis
Priority: major Milestone: biweekly-2010: Aug-09 to Aug-20
Component: Jar2Lib Version:
Severity: non-issue Keywords:
Cc: Blocked By:


The jar2lib project is a way to wrap a Java library in C++ proxies, which invoke the Java code via JNI. It is based on  Jace but does more, wrapping an entire JAR at a time, optionally renaming a list of constants to avoid C++ global namespace conflicts, and providing a CMake build file for compiling the resultant project into a native library.

With Brian's departure, the project was left in an unfinished state. It would be great to have it working so that we can wrap the ImageJ library for native use in-process.

Change History

comment:1 Changed 2010-08-23T11:31:01-05:00 by curtis

  • Status changed from new to closed
  • Resolution set to fixed

 loci-java:r6809 provides a working version of jar2lib.

It is capable of wrapping Bio-Formats and supporting libraries as before with the bf-cpp project. It can ostensibly wrap ij.jar as well, though there are a couple of remaining issues, which will be resolved on a separate ticket (#154).

comment:2 Changed 2010-08-31T12:05:15-05:00 by curtis

  • Component changed from other to jar2lib