old Nodeclipse Java 8 Nashorn JJS

Add this URL to your Eclipse Installation to reach this solution's update site.

2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)

https://nodeclipse.github.io/updates/

Learn more...
Solution Description

`jjs` is util inside Java 8 JDK to work with Nashorn JavaScript engine (https://blogs.oracle.com/nashorn/). Nodeclipse JJS feature lets you create new Nashorn project, edit JavaScript files and execute using jjs (from any project type). Try and compare var jsArray = [1,2,3,4]; jsArray.forEach(function(el) { print(el) } ); the same with Java Collections and lambda usage: var jsArray = [1,2,3,4]; var list = java.util.Arrays.asList(jsArray); list.forEach(function(el) { print(el) } ); Check examples in https://github.com/PaulVI/NashornSandbox Hints: - rename .js to .jjs to have less run options - JSHint-Eclipse is included, with JSHint 2.1.10 that is EcmaScript 5 aware. Configure in .jshintrc file. - use Ctrl+Alt+E or StartExplorer/Show in File Manager, or Ctrl+Alt+D or StartExplorer/Start Shell Here, - use EditBox for block color highlight This and more plugins are available from Nodeclipse updates repository http://www.nodeclipse.org/updates/ . Project sources are at https://github.com/Nodeclipse/nodeclipse-1/tree/master/org.nodeclipse.j… Built latest version with `mvn package` and install from generated .zip. Check README.md for further details. Raise an issue for question. Listed in Nodeclipse Plugins List.

Additional Details

Eclipse Versions: 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9), Photon (4.8), Oxygen (4.7), Neon (4.6), Mars (4.5), Luna (4.4), Kepler (4.3), Juno (4.2, 3.8), Previous to Juno (<=4.1), 2019-06 (4.12), 2019-09 (4.13), 2019-12 (4.14), 2020-03 (4.15), 2020-06 (4.16), 2020-09 (4.17), 2020-12 (4.18), 2021-03 (4.19)

Platform Support: Windows, Mac, Linux/GTK

Organization Name: Nodeclipse/Enide

Development Status: Beta

Date Created: Saturday, October 19, 2013 - 04:18

License: Other Open Source

Date Updated: Friday, January 15, 2021 - 10:11

Submitted by: Paul Verest

Subscribe to old Nodeclipse Java 8 Nashorn JJS RSS-feed

Date Ranking Installs Clickthroughs
April 2024 501/671 6 7
March 2024 631/694 2 8
February 2024 609/687 2 4
January 2024 614/691 2 11
December 2023 605/671 2 10
November 2023 614/686 2 7
October 2023 593/673 3 7
September 2023 553/663 5 6
August 2023 0/0 0 7
July 2023 584/668 3 3
June 2023 621/669 2 7
May 2023 558/671 5 8
View Data for all Listings

Unsuccessful Installs

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Marketplace Drag to Install Button

By adding the following code below to your website you will be able to add an install button for old Nodeclipse Java 8 Nashorn JJS.

HTML Code:

Markdown Syntax:

Output:

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

Reviews Add new review

Hi,

I'm starting to explore the Nashorn world and I've just installed your plugin.

Everything goes smooth while remaining in the JS world, but when I start importing Java classes there's no aid from the plugin, I mean:

var nioFiles = Java.type('java.nio.file.Files');
nioFiles. (<= Ctrl + Space)

there are no suggestions and I have to keep the class' Javadoc open to remember what can be invoked and how.

Is it intended to be so or I'm missing something?

Thanks,

R.