Can any one guide how to install jython after downloading the fiji

iam getting this kind of errors if i openj script

ERROR] Module threw exception
java.lang.IllegalStateException: Context already injected: net.imagej.ui.swing.script.ScriptEditor#context
	at org.scijava.Context.inject(
	at org.scijava.Context.inject(
	at org.scijava.command.CommandModule.initialize(
	at org.scijava.module.process.InitPreprocessor.process(
	at org.scijava.module.ModuleRunner.preProcess(
	at org.scijava.thread.DefaultThreadService$
	at java.util.concurrent.FutureTask$Sync.innerRun(
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

Can you describe the steps that you took when you got this error message?

Jython is included in Fiji, so it should just work in a fresh installation by starting the script editor (File > New > Script) and choosing Language > Python in the menu.

sir i did not do any steps it is showing errors . I could run my code in plugins->scripts->jython interpreter->after that i ran my code in that but after running few steps iam gettin errors

will be there any setup file in fiji for imagej

Well, I guess you did:

  • download a Fiji package for your operating system (from here? for which platform? which Java version?)
  • start Fiji by running ImageJ-win64.exe (?)
  • run the script editor via File > New > Script as proposed in my previous post?

With these steps, I cannot reproduce your problem. So if you did anything else, please state the exact steps, otherwise it’s hard to help you.

1 Like

sir can you tell me how to create jython interpretor set up in eclipse