Login  Register

Re: javascript does not run anymore in Fiji

Posted by lechristophe on Jan 13, 2016; 2:51pm
URL: http://imagej.273.s1.nabble.com/javascript-does-not-run-anymore-in-Fiji-tp5015368p5015371.html

Thanks Curtis!

Regarding Herbie's question (who advised my to use JS), it was Wayne and
Albert Cardona back in 2011 that convinced me to switch from macro to js:
http://imagej.1557.x6.nabble.com/Bug-in-newArray-macro-function-was-quot-Re-Strange-variable-type-for-arrays-filled-from-a-dialog-in--td3682847.html#a3682853

Sorry to have crossposted but I had the impression on talking alone in the
forum...

Best,

Christophe

On Wed, Jan 13, 2016 at 3:36 PM, Curtis Rueden <[hidden email]> wrote:

> Hi Christophe,
>
> I will reply to your corresponding thread on the forum:
>     http://forum.imagej.net/t/x/620
>
> Regards,
> Curtis
>
>
> On Wed, Jan 13, 2016 at 1:55 PM, Christophe Leterrier <
> [hidden email]> wrote:
>
> > Hi,
> >
> > Yesterday I discovered that my js scripts did not appear anymore in the
> > Plugins menu. Trying to run them directly using Plugins>Macro>Run, I got
> > the following error:
> >
> > "JavaScript.jar was not found in the plugins folder or is outdated. Click
> > "OK" to download it from the ImageJ website"
> >
> > This is with the latest (updated via updater) Fiji, IJ 2, Java 1.8.0_66
> > under OSX 10.11.2.
> >
> > • I tried to use Java 1.6 but the current Fiji does not launch anymore
> with
> > Java 1.6 (the Apple one).
> >
> > • I used a lifeline Fiji install (from Dec 22), and with this one scripts
> > do not work with Java 1.8 (I get the same error as above), but work fine
> if
> > I run Fiji with Java 1.6.
> >
> > What is going on here? What is the plan for script support. I know Java
> 1.8
> > uses a different javascript engine than 1.6, but scripts used to work in
> > Fiji under 1.8 until quite recently. I rely extensively on scripts since
> I
> > was given the advice here some time ago that scripts were more
> future-proof
> > than IJ1 macros...
> >
> > Thanks for your help,
> >
> > Christophe
> >
> > --
> > Christophe Leterrier
> > Researcher
> > Axonal Domains Architecture Team
> > CRN2M CNRS UMR 7286
> > Aix Marseille University, France
> >
> > --
> > ImageJ mailing list: http://imagej.nih.gov/ij/list.html
> >
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html