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
---------------------------------------------------------------------------
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!
Only tutorial that worked for me
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
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.💖😊
IT WORKS PERFECTLY! THANKYOUSOMUCH!
Thanks!
Thanks a lot friend. Really appreciated :)
Gracias por tanta dedicación y estudios en esta materia.....buen trabajo me sirvió. para correr mi .java en Notepad++
Thanku so much brother ✨💖
Most welcome ❤❤ Also, watch Complete ECommerce tutorial ⏩ ruclips.net/video/76E2QmjhRtQ/видео.html and WordPress Tutorial Playlist ⏩ ruclips.net/video/qt2BQt7uPbs/видео.html
Sir Please help me i have some problems
Thank you1!
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
Thanks for the great guide good sir. What is the best beginner book for learning Java?
I always recommend to go through Herbert Schildt's complete reference in java.. atleast once in life..
Thank you:)
You're welcome!
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
javac: file not found: Demo.java
Usage: javac
use -help for a list of possible options
This error.....
thanks very much
You're welcome!
Thank you
You're welcome
NPP execute option is not present
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
I have the latest Java installed
share ur code pls
@@GeekyScript i followed the exact same steps as you, but i get that error 2 error
@@GeekyScript class HelloWord{
public static void main(String args[]){
System.out.println("Hello Word!!");
}
)
@@Snehhirapara The ending parenthesis is wrong. It will be "}" not ")"
class HelloWord{
public static void main(String args[]){
System.out.println("Hello Word!!");
}
}
Not installing and install option is disabled how to get it ?
Is there any shortcut that we can use to run the program instead of going to plugins and doing all that stuff?
u can set macros for it
Just save it and press F6, ok.
please send me pin code or source code thats you use for execute
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
Please was your error code solve
@@meshackandoh2794 no i just used vscode instead
same issue
thx so much :)
Welcome 😊 ❤
Also Subscribe to Geeky Syntax Channel: www.youtube.com/@geekysyntax/ and
www.youtube.com/@GeekyScriptVlogs/
Thank you ♥️
Welcome!
Thank you ♥️
You’re welcome 😊
Thank you!
You're welcome!