How to compile and run JAVA programs in Notepad++ on Windows 10 [2021 Update] Notepad++ and JAVA 17

Поділитися
Вставка
  • Опубліковано 4 жов 2024
  • Hello Everyone! Today in this video I am going to step by step guide you How to Run JAVA 17 in Notepad++ on Windows 10 [2021 Update] Notepad++ and JAVA on Windows 10 OS.
    After that, I am also going to show you How to Create your First Hello World Program in Java programming and then how to compile and run them.
    Geeky Script (
    @GeekyScript) is Computer Science - Educational Videos Creator 🎉
    You can support by buying a coffee ☕️ here -
    www.buymeacoff...
    ✻ I really hope you find this video useful. ♥
    ✻ Please click on the CC button to read the subtitles of this video.
    Now How to install Notepad++?
    Step 1. First You need to download Notepad++ for windows 10. For that just go to the following link:
    notepad-plus-p...
    This page will lead to the Notepad++ download page.
    Here find the exe setup installation file as shown in the video and click on it to download.
    Now after downloading Notepad++ save the file to the disk and follow the next step for installation.
    Step 2. Install Notepad++
    Double click to run the Notepad++ installation file. Just follow the prompt and install Notepad++ in your OS.
    What’s the Notepad++?
    Notepad++ is a text and source code editor for use with Microsoft Windows. It supports tabbed editing, which allows working with multiple open files in a single window. The project's name comes from the C increment operator. Notepad++ is distributed as free software.
    Now its time to install JAVA 17:
    Step 3. How to Download Java 17
    www.oracle.com...
    This page will lead to the JAVA JDK download page.
    Find the installation file and then simply click on it for download. You need to click the Oracle License agreement. Download the JDK as shown in the video as per your operating system. Here is this video we showed how to download and install java in windows 10.
    Now after downloading JDK 17 save the file to the disk and follow the next step for installation.
    Step 4. Install Java 17
    Double click to run the JDK download file. Just follow the prompt as shown in the video and install JDK in your OS.
    Step 5. Now install the NppExec plugin in your notepad ++
    Step 6. Now goto plugins and go to Execute NppExec script and Paste the following code:
    cd $(CURRENT_DIRECTORY)
    javac $(FILE_NAME)
    if $(EXITCODE)!=0
    exit
    endif
    java $(NAME_PART)
    And there you go!!
    The instructions in this video tutorial can be applied to laptops, desktops, computers, and tablets which run the Windows 10 operating system like Windows 10 Home, Windows 10 Professional, Windows 10 Enterprise, Windows 10 Education. This tutorial will work on all hardware manufacturers, like Dell, HP, Acer, Asus, Toshiba, Lenovo, and Samsung.
    #Notepad++ #java17 #JavaDevelopers #Java #Javatutorialforbeginners #Windows10
    Topics addressed in this tutorial:
    Best Test Editor: How to Install Notepad++ in Windows 10, Windows
    how to setup Notepad++ for java
    how to install Notepad++
    ---------------------------------------------------------------------------
    MY RELATED VIDEOS:
    ✻ All about Android Studio: • How to install Android...
    ✻ All about PostgreSQL: • How to Install Postgre...
    ✻ All about MongoDB: • How to install MongoDB...
    ✻ All about MySQL: • How to Install MySQL o...
    ✻ All about WordPress: • How to Install WordPre...
    ✻ All about Java Spring: • Spring Framework | Spr...
    ✻ All about Maven: • Maven project in NetBe...
    ✻ All about eBook: • How to Create an Ebook...
    ---------------------------------------------------------------------------
    THANK YOU so much for watching!
    Please make sure to LIKE and SHARE the video and SUBSCRIBE to the channel for more such videos :)
    ---------------------------------------------------------------------------
    CONNECT WITH ME ON:
    ✻ Website: geekyscript.com/
    ✻ LinkedIn: / geekyscript
    ✻ Twitter: / geekyscript
    ✻ Email: geekyscript@outlook.com
    ✻ UA-cam channel: / geekyscript
    ---------------------------------------------------------------------------

КОМЕНТАРІ • 48

  • @GeekyScript
    @GeekyScript  3 роки тому +4

    Did this tutorial help you to compile and run JAVA programs in Notepad++?
    Comment Now!! and Let me know your opinion... And Please SUBSCRIBE for more!
    Also, you can Support my work through UA-cam Thanks!

  • @robc2104
    @robc2104 26 днів тому +1

    Only tutorial that worked for me

    • @GeekyScript
      @GeekyScript  26 днів тому +1

      Glad to help!
      ► Follow me on Instagram: instagram.com/geekyscript/
      ► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs?sub_confirmation=1
      ► Subscribe to Geeky Script Channel: www.youtube.com/@geekyscript?sub_confirmation=1

  • @r.dedits-_-5852
    @r.dedits-_-5852 2 роки тому +1

    Thank you so much man, I had a problem for two days that I was trying to solve the code and it didn't run and it was watching your video that I got it.💖😊

  • @pivege
    @pivege Рік тому +2

    Gracias por tanta dedicación y estudios en esta materia.....buen trabajo me sirvió. para correr mi .java en Notepad++

  • @jolinabermudez4584
    @jolinabermudez4584 2 роки тому +1

    IT WORKS PERFECTLY! THANKYOUSOMUCH!

  • @the_men_53
    @the_men_53 2 місяці тому +1

    Thanku so much brother ✨💖

    • @GeekyScript
      @GeekyScript  2 місяці тому +1

      Most welcome ❤❤ Also, watch Complete ECommerce tutorial ⏩ ua-cam.com/video/76E2QmjhRtQ/v-deo.html and WordPress Tutorial Playlist ⏩ ua-cam.com/video/qt2BQt7uPbs/v-deo.html

  • @Towla
    @Towla 9 місяців тому +3

    Thanks!

    • @GeekyScript
      @GeekyScript  9 місяців тому

      Thanks a lot friend. Really appreciated :)

  • @pr1nt355
    @pr1nt355 Місяць тому +1

    Thank you1!

    • @GeekyScript
      @GeekyScript  Місяць тому

      You're welcome!! ❤ ❤
      ► Follow me on Instagram: instagram.com/geekyscript/
      ► Subscribe to Geeky Script Vlog Channel: www.youtube.com/@GeekyScriptVlogs?sub_confirmation=1
      ► Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax?sub_confirmation=1

  • @Anonymousgaming523
    @Anonymousgaming523 10 місяців тому +2

    Sir Please help me i have some problems

  • @keylanoslokj1806
    @keylanoslokj1806 Рік тому +1

    Thanks for the great guide good sir. What is the best beginner book for learning Java?

    • @GeekyScript
      @GeekyScript  Рік тому

      I always recommend to go through Herbert Schildt's complete reference in java.. atleast once in life..

  • @JibinCiby
    @JibinCiby 8 місяців тому +1

    Thank you:)

    • @GeekyScript
      @GeekyScript  8 місяців тому

      You're welcome!
      Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @pranayshinde8510
    @pranayshinde8510 2 роки тому +1

    javac: file not found: Demo.java
    Usage: javac
    use -help for a list of possible options
    This error.....

  • @kura7992
    @kura7992 2 роки тому +1

    thanks very much

  • @ashwiniingawale9125
    @ashwiniingawale9125 2 роки тому +1

    NPP execute option is not present

  • @AjithKumar-mc9fx
    @AjithKumar-mc9fx 2 роки тому +1

    Thank you

  • @tfb2024-2nd
    @tfb2024-2nd Рік тому +1

    How do i fix
    CreateProcess() failed with error code 2:
    El sistema no puede encontrar el archivo especificado.?
    I followed the steps correctly, but this shows up when i try to run it

    • @tfb2024-2nd
      @tfb2024-2nd Рік тому

      I have the latest Java installed

    • @GeekyScript
      @GeekyScript  Рік тому

      share ur code pls

    • @tfb2024-2nd
      @tfb2024-2nd Рік тому

      @@GeekyScript i followed the exact same steps as you, but i get that error 2 error

    • @Snehhirapara
      @Snehhirapara Рік тому

      @@GeekyScript class HelloWord{
      public static void main(String args[]){
      System.out.println("Hello Word!!");

      }
      )

    • @GeekyScript
      @GeekyScript  Рік тому +1

      @@Snehhirapara The ending parenthesis is wrong. It will be "}" not ")"
      class HelloWord{
      public static void main(String args[]){
      System.out.println("Hello Word!!");

      }
      }

  • @vibevthvassu
    @vibevthvassu Рік тому

    Not installing and install option is disabled how to get it ?

  • @DracoMalfoy-ty4pt
    @DracoMalfoy-ty4pt 2 роки тому

    Is there any shortcut that we can use to run the program instead of going to plugins and doing all that stuff?

  • @vyvu3872
    @vyvu3872 10 місяців тому

    CD: C:\users\crossover\Documents
    Current directory: C:\users\crossover\Documents
    javac helloworld.java
    ; about to start a child process: "javac helloworld.java"
    CreateProcess() failed with error code 2:
    File not found.
    IF: $(EXITCODE)!=0
    EXIT
    ================ READY ================
    how can I solve this problem

    • @meshackandoh2794
      @meshackandoh2794 8 місяців тому

      Please was your error code solve

    • @vyvu3872
      @vyvu3872 8 місяців тому

      @@meshackandoh2794 no i just used vscode instead

    • @emilpaul1679
      @emilpaul1679 2 місяці тому

      same issue

  • @mrrahel9074
    @mrrahel9074 Рік тому

    please send me pin code or source code thats you use for execute

  • @noconfusion25
    @noconfusion25 6 днів тому

    terrible

  • @rohan5618
    @rohan5618 2 роки тому +2

    Thank you ♥️

  • @Cosmic-ey
    @Cosmic-ey 6 місяців тому +1

    thx so much :)

    • @GeekyScript
      @GeekyScript  6 місяців тому

      Welcome 😊 ❤
      Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
      www.youtube.com/@GeekyScriptVlogs/

  • @rohan5618
    @rohan5618 2 роки тому +1

    Thank you ♥️

  • @atharvadeshmukh6328
    @atharvadeshmukh6328 2 роки тому +1

    Thank you!