crop function not running

Posted by Vinesh Gautam on
URL: http://imagej.273.s1.nabble.com/crop-function-not-running-tp3701047.html

Dear all,
   i am getting a problem using doCoomand() function while executing by code on Linux OS, I am using the imageJ not directly by JAR but from running code from Eclipse IDE. all other functions are running successfully but some of the functions are not running that rae:
  1. crop
  2. save
  3. print
  4. undo
   
  When i traced in the code, i got function
  IJ.getInstance().doCommand("Open...');
  It will run upto Execuler class but thread will not started. Ultimately i make JAR from this code which is running successfully on Windows but on LINUX it is again giving the problem of above mentioned functions from JAR itself.
   
  Please help.
   
  Regards
  Vinesh