Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to install Node.js Extension

  1. #1
    Junior Member
    Join Date
    Jan 2023
    Thanked 0 Times in 0 Posts

    Default How to install Node.js Extension


    I installed on a Slackware based (SALIX) VS Code via FlatPack and I tried to set up the JAVA environment. First time I tested a JavaScript sample file received a message (see attached).

    Then I installed from package manager nodejs 17.9.0 and I followed:

    I tried to add to launch.json "runtimeExecutable": "node"

        // Use IntelliSense to learn about possible attributes.
        // Hover to view descriptions of existing attributes.
        // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
        "version": "0.2.0",
        "configurations": [
                "type": "node",
                "request": "launch",
                "name": "Launch Program",
                "skipFiles": [
                "program": "${workspaceFolder}/GettingStarted/jssample.js",
                "runtimeExecutable": "node"

    brad@toshiba:~$ java -version
    java version "19.0.1" 2022-10-18
    Java(TM) SE Runtime Environment (build 19.0.1+10-21)
    Java HotSpot(TM) 64-Bit Server VM (build 19.0.1+10-21, mixed mode, sharing)
    brad@toshiba:~$ npm version
      npm: '8.5.5',
      node: '17.9.0',
      v8: '',
      uv: '1.43.0',
      zlib: '1.2.12',
      brotli: '1.0.9',
      ares: '1.18.1',
      modules: '102',
      nghttp2: '1.47.0',
      napi: '8',
      llhttp: '6.0.4',
      openssl: '3.0.2+quic',
      cldr: '40.0',
      icu: '70.1',
      tz: '2021a3',
      unicode: '14.0',
      ngtcp2: '0.1.0-DEV',
      nghttp3: '0.1.0-DEV'

    I can run the js file from CLI BUT not in VS Code environment.
    Not to mention it works just fine on Debian based OSs.

    Attached Images Attached Images
    Last edited by bradnag; January 4th, 2023 at 01:28 PM.

  2. #2
    Junior Member comradecommandante's Avatar
    Join Date
    Jan 2023
    Thanked 0 Times in 0 Posts

    Default Re: How to install Node.js Extension

    Thank you for the tutorial. I am really a biginner. But I promise I will read it.

Similar Threads

  1. Replies: 5
    Last Post: April 7th, 2023, 05:14 PM
  2. Replies: 0
    Last Post: March 7th, 2020, 10:26 AM
  3. Install Java plugin for IE without manual update or install
    By madhucm in forum What's Wrong With My Code?
    Replies: 0
    Last Post: September 21st, 2014, 09:20 AM
  4. firefox extension
    By ridg18 in forum Java Theory & Questions
    Replies: 0
    Last Post: April 23rd, 2012, 02:38 PM