Javascript Extension vs SFS version 18 and above

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
tobaonghiep
Posts: 19
Joined: 01 Feb 2018, 04:33

Javascript Extension vs SFS version 18 and above

Post 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
Sean Su
Mecury Studio
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Javascript Extension vs SFS version 18 and above

Post 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
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply