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

Поделиться
HTML-код
  • Опубликовано: 11 сен 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
    ✻ RUclips channel: / geekyscript
    ---------------------------------------------------------------------------

Комментарии • 47

  • @GeekyScript
    @GeekyScript  2 года назад +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 RUclips Thanks!

  • @robc2104
    @robc2104 3 дня назад +1

    Only tutorial that worked for me

    • @GeekyScript
      @GeekyScript  3 дня назад +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.💖😊

  • @jolinabermudez4584
    @jolinabermudez4584 2 года назад +1

    IT WORKS PERFECTLY! THANKYOUSOMUCH!

  • @Towla
    @Towla 9 месяцев назад +3

    Thanks!

    • @GeekyScript
      @GeekyScript  9 месяцев назад

      Thanks a lot friend. Really appreciated :)

  • @pivege
    @pivege Год назад +2

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

  • @the_men_53
    @the_men_53 Месяц назад +1

    Thanku so much brother ✨💖

    • @GeekyScript
      @GeekyScript  Месяц назад +1

      Most welcome ❤❤ Also, watch Complete ECommerce tutorial ⏩ ruclips.net/video/76E2QmjhRtQ/видео.html and WordPress Tutorial Playlist ⏩ ruclips.net/video/qt2BQt7uPbs/видео.html

  • @Anonymousgaming523
    @Anonymousgaming523 9 месяцев назад +2

    Sir Please help me i have some problems

  • @pr1nt355
    @pr1nt355 8 дней назад +1

    Thank you1!

    • @GeekyScript
      @GeekyScript  8 дней назад

      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

  • @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..

  • @user-hy2ox7bj4l
    @user-hy2ox7bj4l 7 месяцев назад +1

    Thank you:)

    • @GeekyScript
      @GeekyScript  7 месяцев назад

      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

  • @AjithKumar-mc9fx
    @AjithKumar-mc9fx Год назад +1

    Thank you

  • @ashwiniingawale9125
    @ashwiniingawale9125 2 года назад +1

    NPP execute option is not present

  • @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?

  • @mrrahel9074
    @mrrahel9074 Год назад

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

  • @vyvu3872
    @vyvu3872 9 месяцев назад

    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 7 месяцев назад

      Please was your error code solve

    • @vyvu3872
      @vyvu3872 7 месяцев назад

      @@meshackandoh2794 no i just used vscode instead

    • @emilpaul1679
      @emilpaul1679 2 месяца назад

      same issue

  • @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 года назад +2

    Thank you ♥️

  • @rohan5618
    @rohan5618 2 года назад +1

    Thank you ♥️

  • @atharvadeshmukh6328
    @atharvadeshmukh6328 2 года назад +1

    Thank you!