What Kind of Reality Check Do I Need Quiz
Q&A for How to Compile and Run Java Program by Notepad
Coming soon
Search
-
QuestionDo I need to install the JDK?JumpingDragonCommunity AnswerYes, you will need the JDK for any sort of programming, modding, or compiling software.
-
QuestionWhat are the basics of Java programming?Community AnswerIt would be helpful to learn basic data structures like integers, doubles, and strings, and how to manipulate them with math and functions.
-
QuestionHow can I run the code if I don't have the plugin installed or can't install it?RainbowMineBear 09Community AnswerYou can't.
-
QuestionHow can I run and compile in notepad not in notepad+++?Community AnswerIt's the same exact process. Simply click "File" then "Save As" and name it as .java.
-
QuestionIs Notepad++ like Eclipse?Community AnswerNotepad++ is a text editor, with some added functionality (text coloring, smart indentation etc.). Eclipse is an IDE, a software designed specifically to aid your programming. It has a lot of features (debugger, syntax check, smart hints, auto-completion etc.) that both speed up the process of writing code and make it more efficient. For a beginner Notepad++ is all they need. However as they progress, an IDE will make their coding more productive with its extra features.
-
QuestionWhat are the required apps for java programming?Community AnswerYou need JDK (aka Java Development Kit), and a text editor like notepad. You can use an IDE (like Visual Studio Code, Atom, Eclipse etc) for more comfortable writing.
-
QuestionCan I run java code from a command prompt?Community AnswerYes, you can. Start command prompt, type javac YourAppName.java to compile it. Then it generates the .class file. To run the app, type java YourAppName.
-
QuestionHow can I compile and run in Notepad instead of Notepad++?DanielCommunity AnswerYou can't compile and run anything in Notepad. It's just a basic text editor without any plugins, contrary to Notepad++ which is a feature-rich text editor that offers plugins which enable you to do operations like this. However, you can still compile and run Java programs without Notepad++ with the Command Prompt using "javac foo.java" and "java foo".
-
QuestionCan you save the program in bin and run it using command prompt?Community AnswerNo. Actually, in order to run these types of programs, you must use other file extensions and not bin.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit