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

Opened 2012-10-31T15:27:07-05:00

Last modified 2013-07-14T15:38:55-05:00

CheckSezpoz needs a JDK on Windows

Reported by: curtis Owned by: dscho
Priority: major Milestone: imagej2-b8-analysis
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1671

Description

The default installation of Eclipse for Java Developers on Windows comes with only a JRE, not a full JDK. So when launching ImageJ2, and CheckSezpoz attempts to run, exceptions are thrown indicating that apt cannot be found.

Configuring Eclipse on Windows to use a JDK is annoying, so we provide  instructions on the ImageJ web site (which we should make sure to keep updated). Unfortunately, many people will not read these instructions, so we should make an effort to inform people of what is wrong in the above situation, and provide a link to the web page which explains how to fix things.

Change History

comment:1 Changed 2012-12-27T11:13:57-06:00 by curtis

  • Blocking 1608 added

comment:2 Changed 2012-12-27T11:14:10-06:00 by curtis

  • Milestone changed from imagej2-b6-legacy to imagej2-b7-ndim-data

comment:3 Changed 2013-03-07T13:32:55-06:00 by bdezonia

  • Blocking 1671 added; 1608 removed
  • Milestone changed from imagej2-b7-ndim-data to imagej2-unscheduled

comment:4 Changed 2013-04-15T00:05:50-05:00 by dscho

I agree. My attempts. To use Maven to provide apt as a dependency (in the "test" scope so that only Eclipse is affected which happily ignores scopes) failed.

The safest way is to force Eclipse users to use a JDK to execute anything, erroring out with the helpful link Curtis pointed out.

comment:5 Changed 2013-07-13T16:51:14-05:00 by dscho

A first stab at this can be found in the check-sezpoz branch which I started to address this very issue but then readily forgot about:  https://github.com/scijava/scijava-common/compare/check-sezpoz

comment:6 Changed 2013-07-14T15:33:06-05:00 by dscho

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

comment:7 Changed 2013-07-14T15:38:55-05:00 by dscho

  • Milestone changed from imagej2-unscheduled to imagej2-b8-analysis