Note : In your system there must be jdk software installed in your system. In this post I have discussed how to run java program written in notepad/notepad++ using command prompt step wise.  “ RUN JAVA PROGRAM WRITTEN IN NOTEPAD  :� But for beginner it is always advisable to do Java programming using Notepad editor in case of Windows OS (XP,7,8,10) or you can use vi or gedit in Ubuntu. JAVA programs can be compiled using IDE (Integrated Development Environment) such as NetBeans, Eclipse etc. Have you thought how you can run your Java programs? Which compiler you will use to compile your programs? If No, I will tell. For C, C++ programming we have compiler like Turbo C++, DEV C++, Code Blocks etc.
Being a beginner in JAVA programming you might have in dilemma “ How to run JAVA program written in Notepad/Notepad++�.