Ticket #1560 (closed enhancement: fixed)

Opened 7 years ago

Last modified 6 years ago

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 7 years ago by curtis

  • Blocking 1608 added

comment:2 Changed 7 years ago by curtis

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

comment:3 Changed 7 years ago by bdezonia

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

comment:4 Changed 6 years ago 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 6 years ago 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 6 years ago by dscho

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

comment:7 Changed 6 years ago by dscho

  • Milestone changed from imagej2-unscheduled to imagej2-b8-analysis
Note: See TracTickets for help on using tickets.