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 #298 (closed enhancement: fixed)

Opened 2010-12-02T11:23:03-06:00

Last modified 2011-08-03T11:15:13-05:00

Make JVM creation method generic

Reported by: hinerm Owned by: hinerm
Priority: minor Milestone: imagej-2.0-alpha5
Component: SCIFIO Version:
Severity: non-issue Keywords: BFITK
Cc: Blocked By:
Blocking:

Description

Currently in the BF-ITK plug-in, when a JVM is created the code is local to the module currently using the JVM. Ideally, we would have a single JVM creation method to facilitate simpler code maintenance.

This method should set all the appropriate options and accept 2 parameters - a dir and path string.

Change History

comment:1 Changed 2011-05-31T16:21:11-05:00 by hinerm

  • Owner changed from hinerm to curtis
  • Status changed from new to assigned

a jtools library has been added to Jar2Lib. Bf-cpp and bf-itk-jace have been modified to use this new library. However, it is not yet fully functional.

Desired modifications:

  • Allow for Jar2Lib to create a list of Jars to be automatically included if no classpath/jar list is provided
  • Allow for overriding the java library path

comment:2 Changed 2011-06-02T17:07:22-05:00 by curtis

  • Milestone changed from biweekly-2011: May-23 to Jun-03 to biweekly-2011: Aug-01 to Aug-12

comment:3 Changed 2011-07-27T14:54:19-05:00 by curtis

  • Owner changed from curtis to hinerm

Sorry Mark, I had no time to work on this. I am passing back to you. We can discuss whether it is really a priority, though.

comment:4 Changed 2011-08-01T12:10:32-05:00 by curtis

  • Milestone changed from biweekly-2011: Aug-01 to Aug-12 to imagej-2.0-alpha5

Milestone biweekly-2011: Aug-01 to Aug-12 deleted

comment:5 Changed 2011-08-03T11:15:13-05:00 by hinerm

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

jtools now automatically checks for a "jar" subdirectory, either in the working directory (if no classpath is provided) or in <classpath>/jar if a path is provided. All files in this directory are added to the classpath used to instantiate the JVM.