Maybe problem with latest release

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Maybe problem with latest release

johnthelast
I'm getting an error trying to execute


        call("ij.Prefs.set","multiaperture.automode","true");

in the latest release. This works in the prior release.

Log

AIJ 5.4.1.00; ImageJ 1.54m1; Java 26.0.2.1 [64-bit]; Windows 11 10.0; 38MB of 103040MB (<1%)
 
java.lang.NoClassDefFoundError: java/applet/Applet
        at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
        at java.base/java.lang.Class.privateGetDeclaredMethods(Unknown Source)
        at java.base/java.lang.Class.getDeclaredMethod(Unknown Source)
        at ij.macro.Functions.call(Functions.java:4713)
        at ij.macro.Functions.getStringFunction(Functions.java:294)
        at ij.macro.Interpreter.getStringTerm(Interpreter.java:1526)
        at ij.macro.Interpreter.getString(Interpreter.java:1504)
        at ij.macro.Interpreter.doStatement(Interpreter.java:342)
        at ij.macro.Interpreter.doBlock(Interpreter.java:721)
        at ij.macro.Interpreter.doStatement(Interpreter.java:332)
        at ij.macro.Interpreter.doFor(Interpreter.java:643)
        at ij.macro.Interpreter.doStatement(Interpreter.java:314)
        at ij.macro.Interpreter.doBlock(Interpreter.java:721)
        at ij.macro.Interpreter.runFirstMacro(Interpreter.java:822)
        at ij.macro.Interpreter.doStatement(Interpreter.java:323)
        at ij.macro.Interpreter.doStatements(Interpreter.java:273)
        at ij.macro.Interpreter.run(Interpreter.java:169)
        at ij.macro.Interpreter.run(Interpreter.java:99)
        at ij.macro.MacroRunner.run(MacroRunner.java:148)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: java.applet.Applet
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        ... 20 more
Reply | Threaded
Open this post in threaded view
|

Re: Maybe problem with latest release

keastrid
You'll find new versions of AIJ on astroimagej.com. We had to move where AIJ was hosted, so AIJ V5 can no longer be updated with the existing mechanism.

AIJ V5 is not compatible with Java 26. If you wish to continue using AIJ V5, you'll need to run it with either the version AIJ shipped with, or at most Java 25.