I am trying to use Fiji on a Windows Amazon Web Services (AWS) instance. I need to use AWS because the analysis I am trying to do goes beyond what my computer can handle, and I am using a Windows instance because it automatically has a GUI so I can see what Fiji is doing.
I set up the instance using the instructions provided here (https://aws.amazon.com/getting-started/tutorials/launch-windows-vm/) and was able to download and run Fiji without an issue. However, when I try to run a Python script in Fiji is see the error:
console: Failed to install ‘’: java.nio.charset.UnsupportedCharsetException: cp0.
I see this problem has been reported before (Script editor error when working with python scripts), but when I attempt to implement the proposed solution (adding -Dpython.console.encoding=UTF-8 to the command line when launching) Fiji simply fails to launch (the icon pops up very briefly and then nothing happens).
Further when I attempt to run:
from ij import IJ
imp = IJ.getImage()
from the tutorial here (https://www.ini.uzh.ch/~acardona/fiji-tutorial/), I get the previous error and a new one:
Traceback (most recent call last):
File “New_.py”, line 3, in
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
java.lang.RuntimeException: java.lang.RuntimeException: Macro canceled
I am not sure what is causing either of these errors or if they are related, but if anyone can offer me advice on addressing them, or tell me how they got Fiji working in an AWS Windows instance, I would greatly appreciate it. If I can provide anymore information to be helpful please let me know. I am new to both Fiji and AWS so sorry if I missed something.