I'm fine with this (and Mel is no longer active). I haven't done any Java
work for the past 5 years or so beyond basic maintenance, so if you have a
better idea of how to make stuff run on the new hotness then be my guest.

On Fri, Mar 3, 2023 at 2:24 PM David Crisp <winterknigh...@gmail.com> wrote:

>
> If this is likely to be an issue going forward would it be a good idea to
> mavenize/gradleize the mmj2 build process so that the standalone version of
> nashorn-core (
> https://mvnrepository.com/artifact/org.openjdk.nashorn/nashorn-core) gets
> auto-downloaded and incorporated into the Jar file? It would increase the
> size of the jar somewhat but would at least ensure that the program isn't
> dependent on an antique version of Java? Although jdk8 is still technically
> under LTS it's no longer recommended for production use and anything modern
> should really be targeting jdk11+, if not jdk17.
>
> I'm a Java guy and have some time off work coming up later this month, if
> Mel and Mario are okay with it I'd at least be willing to spend a day
> looking at the repo to see how much work it would be likely to be.
>
> DC
> On Thursday, 2 March 2023 at 22:38:49 UTC David A. Wheeler wrote:
>
>>
>>
>> > On Mar 2, 2023, at 4:36 PM, Mario Carneiro <di....@gmail.com> wrote:
>> >
>> > It sounds like the nashorn JS engine was removed from a later version
>> of JDK, and the empty list following the prompt suggests there is no
>> replacement. Without it you won't be able to run any macros, although you
>> might be able to install it manually? The easiest thing to do is probably
>> just to downgrade to JDK 9.
>>
>> Ah, of course! I should have noticed the openjdk version more carefully.
>>
>> Oracle has long warned that they'd stop supporting JavaScript from Java
>> using the Nashorn JS engine, but mmj2 depends on it.
>>
>> --- David A. Wheeler
>>
>>
>> >
>> > On Thu, Mar 2, 2023 at 3:53 PM David A. Wheeler <dwhe...@dwheeler.com>
>> wrote:
>> >
>> >
>> > > On Mar 2, 2023, at 3:23 AM, William Mitchell Jr <wdm...@gmail.com>
>> wrote:
>> > >
>> > > running mmj2 in the mmj2jar directory produced this error:
>> > >
>> > > mmj.pa.MMJException: E-UT-1502 You attempted to use a macro, but the
>> default Macro language 'js' does not exist. Use 'MacroLanguage,xxx' with
>> one of the following installed languages:
>> > >
>> > > This is the git version (uncompiled) running on
>> > > arm64
>> > > Debian Linux
>> > > openjdk-18
>> >
>> > Weird. I have no idea what's going on. Anyone else?
>> >
>> > --- David A. Wheeler
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "Metamath" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an email to metamath+u...@googlegroups.com.
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/metamath/CCC54F28-92E6-4C7D-B8EF-1A993DB50449%40dwheeler.com.
>>
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "Metamath" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an email to metamath+u...@googlegroups.com.
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/metamath/CAFXXJSsoTbBby4QCy6zh-JEF%2B3qM80bSASPLJ4zk9RkA4%2B1C%2Bw%40mail.gmail.com.
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Metamath" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to metamath+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/metamath/4d1ba8e0-5a86-416f-b554-6fb16484c17cn%40googlegroups.com
> <https://groups.google.com/d/msgid/metamath/4d1ba8e0-5a86-416f-b554-6fb16484c17cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Metamath" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to metamath+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/metamath/CAFXXJSs3ONJ8Lwje80JU2sywFnacrqMkZwME7wMTmOj1qzMavg%40mail.gmail.com.

Reply via email to