When you are learning a programming language such as Java it is always recommended not to make use of IDEs like Eclipse or IntelliJ as when you type code without the help of real-time compilation error highlighting and intellisense, you make a lot of error, but that's how you learn the syntax of the language quickly.
So you can make use of editors like Notepad++ in such cases, as they will syntax highlight your code.
If you want to compile and execute your Java code within Notepad++ then you should make use of the Java Plugin.

You can install it from the Menu: Plugins -> Plugin Admin
Once the installation is done you can compile your Java classes by going to Plugin -> Java Plugin -> Compile.
Next you can Run the code and should see the output in the "Java Console"

Shortcut List:
Compile: Shift+F8
Run: Shift+F9
Compile and Run: Shift+F10
Clear Java Console: Shift+F11
Show/Hide Java Console:Shift+F12
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!