Stack Reg (generally problem with Java Plugin I think)

Hello, I allways use Fiji for imaging. Now In a new laptop (and other computers in work) I have the same problem with plugins ruinning Java. Can anyone help me with this?
Many Thanks!!!
I show you stack reg example by simplcity…

StackReg_ not up-to-date because 1 source files are not up-to-date (C:\Users\YT22551\AppData\Local\Temp\java4222798044404082379\src\main\java\StackReg_.java)
Compiling 1 file in C:\Users\YT22551\AppData\Local\Temp\java4222798044404082379

No javax.tools.JavaCompiler available. Checking for explicit javac.
No javac.jar found (looked in C:\Users\YT22551\Desktop\FIJI-W~1\Fiji.app\jars)!
java.lang.ClassNotFoundException: com.sun.tools.javac.Main
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.scijava.minimaven.JavaCompiler.call(JavaCompiler.java:94)
at org.scijava.minimaven.MavenProject.build(MavenProject.java:538)
at org.scijava.minimaven.MavenProject.build(MavenProject.java:463)
at org.scijava.minimaven.MavenProject.build(MavenProject.java:446)
at org.scijava.plugins.scripting.java.JavaEngine.compile(JavaEngine.java:209)
at org.scijava.plugins.scripting.java.JavaEngine.eval(JavaEngine.java:136)
at org.scijava.script.ScriptModule.run(ScriptModule.java:160)
at org.scijava.module.ModuleRunner.run(ModuleRunner.java:168)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:127)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:66)
at org.scijava.thread.DefaultThreadService$3.call(DefaultThreadService.java:238)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Hi @nacho37,

Welcome to the forum.

How did you install StackReg? Make sure you put the StackReg_.jar
(the jar file) in your Fiji.app/plugins folder.

Read details about installing ImageJ plugins here.

Good luck, and please report back to let us know how it goes
John

Thanks!! I solved it deleting stackReg. java file.
:+1: