JJS ~ Nashorn

All

Intro

In java bin directory, there is a javascript engine, jjs.

JJS

The usage is pretty simple: Just go to the JDK instalatoin and run JJS ~ this was removed on OpenJDK 11 actually:

    #jdk1.8.0_191/bin/jjs

    jjs> print(‘Hello World!’);
Hello World!

REFs

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s