![]() $ ImageJ-win64.exe -headless -console -macro C:\Users\Smit\data_software\Fiji.app Here is what I get in the console: C:\Users\Smit\data_software\Fiji.app In Plugins > Utilities > ImageJ Properties I find for java.version: 1.8.0_66, afaik this does correspond to Java. Is it correct that this comes with java 8 bundled by default and java 8 update sites enabled? After downloading, I ran the updater which told me it is indeed up-to-date. To be sure I’ve tryed a downloading a fresh Fiji, as you suggested. I think I’ve been using java 8 with java8 update sites enabled. : Macro canceledĪt ij.plugin.Macro_nMacroFile(Macro_Runner.java:121)Īt 1Helper$4.call(IJ1Helper.java:952)Īt 1Helper$4.call(IJ1Helper.java:949)Īt nMacroFriendly(IJ1Helper.java:899)Īt nMacroFile(IJ1Helper.java:949)Īt 圜ommandline$Macro.handle(Legac圜ommandline.java:188)Īt .processArgs(DefaultConsoleService.java:93)Īt 圜onsoleService.processArgs(Legac圜onsoleService.java:76)Īt 0(Native Method)Īt (NativeMethodAccessorImpl.java:62)Īt (DelegatingMethodAccessorImpl.java:43)Īt .invoke(Method.java:498)Īt .launch(ClassLauncher.java:279)Īt .run(ClassLauncher.java:186)Īt .main(ClassLauncher.java:77) Is this the same problem or am I making a novice mistake? If its the same problem is there a work around? Is not can someone help me? mlg-pacmanfrog:~ sms$ /Applications/Fiji.app/Contents/MacOS/ImageJ-macosx -headless -macro ~/Desktop/MME.ijmĮrror while executing the main() method of class '': I have the macro working fine with the graphical interface This is my first time trying to run this in headless mode, I’m so new to all types of programing I’m not sure if I am trying to call this correctly etc. ![]() How do I get the script to return? Do I need to appeal to a Java method? Also, do I need to worry about the warnings? Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m support was removed in 8.0 The error message displays, but the function still doesn’t return. I also tried throw("not an error.just want to quit"). I tried exit() but got: ReferenceError: "exit" is not defined. I can successfully run a test script, and also output to stdout with the print statement. I am setting up to run some batch processing on a linux cluster using headless mode. Note: Just saw this same question (was not there when I started drafting my question over the weekend).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |