B4J Library jScriptEngine

Daestrum

Expert
Licensed User
Longtime User
Not sure I understand what you want to do, remember the jScriptEngine is for server side, it doesn't work inside a webview, for that you would use 'normal' javascript embedded in the page.
 

wl

Well-Known Member
Licensed User
Longtime User
Hi,

What kind of interaction is supported between B4J code and the Javascript engine ? Can I pass maps, custom objects, lists, ... between JS and B4Xcode ?

Tx !
 

Daestrum

Expert
Licensed User
Longtime User
==========================================================
Important information : Nashorn scriptengine does not exist in Java 11 it has been removed.
==========================================================
 

Daestrum

Expert
Licensed User
Longtime User
Note to the above note, Nashorn is still in java 11 but you get a warning
Warning: Nashorn engine is planned to be removed from a future JDK release
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…