Page 1 of 1

Javascript Extension vs SFS version 18 and above

Posted: 24 Aug 2023, 02:11
by tobaonghiep
Hi,

I would like to ask about the javascript extension on Smartfox 18 and above as we knew since java 11 the Nashorn is deprecated. Would we able to continue using Javascripi Ext as normal in SFS newest version and would it have some drawback?

Thanks

Re: Javascript Extension vs SFS version 18 and above

Posted: 24 Aug 2023, 08:06
by Lapo
Hello,
the "Nashorn" Javascript engine has been dropped since Java 15, so if your SFS application requires JS we recommend you stick to the standard JRE we ship with SmartFoxServer.

For more details on the various changes in the JDK, see here:
http://docs2x.smartfoxserver.com/Advanc ... patibility

Replacing the JRE with anything higher than 15 will render Javascript Extension unusable.

Cheers