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 #1626 (closed defect: duplicate)

Opened 2013-01-14T11:49:21-06:00

Last modified 2013-04-15T00:02:36-05:00

Sezpoz error on Windows

Reported by: bdezonia Owned by: dscho
Priority: major Milestone: imagej2-b7-ndim-data
Component: Core Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1207


During startup code of ImageJ2 on Windows there are multiple exceptions related to SezPoz that are thrown. They all have the following signature:


at$ Source)
at$ Source)
at Method)
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at imagej.util.CheckSezpoz.fix(
at imagej.util.CheckSezpoz.checkDirectory(
at imagej.util.CheckSezpoz.check(
at imagej.util.CheckSezpoz.check(
at imagej.ImageJ.<init>(
at imagej.ImageJ.<init>(
at imagej.ImageJ.<init>(
at imagej.Main.launch(
at imagej.Main.main(

Change History

comment:1 Changed 2013-01-14T17:38:02-06:00 by dscho

That is not all there is to it, right?

1) I suspect you run this inside Eclipse, not from a regular directory, and

2) you asked Eclipse to run this with the *JRE* rather than the *JDK*.

If so, we should probably catch the Error and suggest to the user to run with the JDK instead since we cannot guarantee correct artifacts otherwise (and endless frustration on both their and our sides would ensue).

comment:2 Changed 2013-01-15T10:00:10-06:00 by bdezonia

Yes, I was running from within Eclipse on Windows and only with the JRE. I was doing a quick build to test some code.

comment:3 Changed 2013-03-19T11:24:39-05:00 by bdezonia

  • Status changed from new to reviewing

dscho, please associated with some feature ticket

comment:4 Changed 2013-03-19T14:28:22-05:00 by dscho

  • Blocking 1207 added

This is not really a bug, but it was a PEBCAK. Still, I can add code to point that out better.

comment:5 Changed 2013-04-15T00:02:36-05:00 by dscho

  • Status changed from reviewing to closed
  • Resolution set to duplicate

This is a duplicate of ticket #1560.