NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 832 - Run single instance listener not working
Run single instance listener not working
Status: RESOLVED FIXED
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
PC Windows
: P5 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2014-07-02 03:16 CDT by David Platten
Modified: 2015-10-09 16:05 CDT
1 user (show)

See Also:

Description David Platten 2014-07-02 03:16:05 CDT
I have searched the list and seen that people have had this problem before, but the suggested solutions don't work for me.

I would like to only have one instance of Fiji running at a time, but it is ignoring the "Run single instance listener" setting.

For example, I have Fiji running with an image open. If I then run Fiji from the command line to open another image I get another instance of Fiji launching which opens the new image. I want this second image to open in the existing instance of Fiji.

I am using Fiji (ImageJ 1.49C) on Windows XP, and have also tried on Windows 7, where the same thing happens.

I have a vanilla version of ImageJ (1.48c) installed on the Windows XP computer: this adheres to the "Run single instance listener" setting.

I wonder if it has something to do with Fiji being a portable app, and the ImageJ installation being a "properly installed" program?

Any help would be appreciated.

Regards,

David
Comment 1 David Platten 2014-07-02 03:16:25 CDT
Information about your version of Java:

  os.arch => x86
  os.name => Windows XP
  os.version => 5.1
  java.version => 1.7.0_06
  java.vendor => Oracle Corporation
  java.runtime.name => Java(TM) SE Runtime Environment
  java.runtime.version => 1.7.0_06-b24
  java.vm.name => Java HotSpot(TM) Client VM
  java.vm.version => 23.2-b09
  java.vm.vendor => Oracle Corporation
  java.vm.info => mixed mode
  java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment
  java.specification.name => Java Platform API Specification
  java.specification.version => 1.7
  sun.cpu.endian => little
  sun.desktop => windows
  file.separator => \

The up-to-date check says: REMIND_LATER

Information relevant to JAVA_HOME related problems:

  JAVA_HOME is set to: C:\Program Files\Java\jdk1.7.0_06/jre
  imagej.dir => C:\DJP\Apps\Fiji.app

Information about the version of each plugin:

Activated update sites:
ImageJ: http://update.imagej.net/ (last check:20140628025305)
Fiji: http://fiji.sc/update/ (last check:20140627190932)

Files not up-to-date:
  69445dc4 (LOCAL_ONLY) 20140502151445 macros/N3testing.txt
  32e86eda (LOCAL_ONLY) 20140502151436 macros/StartupMacros.txt
  b598fb7a (LOCAL_ONLY) 20131105094821 macros/stackTest.ijm
  2e2402ae (LOCAL_ONLY) 20130522162907 plugins/DJP/MandelbrotRGB_.class
  1388fff8 (LOCAL_ONLY) 20130522162851 plugins/DJP/Mandelbrot_.class
  10bb29bb (LOCAL_ONLY) 20130522162728 plugins/DJP/TextureMap_.class
  e4fffc7e (LOCAL_ONLY) 20130906093100 plugins/TudorDICOM_Plugin.jar
Comment 2 Curtis Rueden 2014-09-29 14:24:08 CDT
Thanks for the report. This is a known issue, which we are tracking at:
https://github.com/imagej/imagej/issues/98
Comment 3 Curtis Rueden 2015-10-09 16:05:05 CDT
This was fixed back in June:
https://github.com/imagej/imagej-legacy/pull/116