257646/how-to-run-java-program-in-notepad
Toggle navigation
Back
Ask a question
Blogs
Browse Categories
Browse Categories
Generative AI
Power BI
DevOps & Agile
Data Science
ChatGPT
Cyber Security & Ethical Hacking
Data Analytics
Cloud Computing
Machine Learning
PMP
Python
SalesForce
Selenium
Software Testing
Tableau
Web Development
UI UX Design
Java
Azure
Database
Big Data Hadoop
Blockchain
Digital Marketing
C#
C++
IoT (Internet of Things)
Kotlin
Linux Administration
MicroStrategy
Mobile Development
Others
RPA
Talend
TypeSript
Apache Kafka
Apache Spark
Career Counselling
Events & Trending Topics
Ask us Anything!
Log In
Sign Up
Home
Community
Categories
Java
how to run java program in notepad
how to run java program in notepad
0
votes
how to run java program in notepad
java
Oct 17, 2023
in
Java
by
Avinash
•
520
points
•
2,964
views
answer
comment
flag
Your comment on this question:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Add comment
Cancel
1 answer to this question.
Your answer
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
Add answer
Cancel
0
votes
To run a Java program in Notepad:
Write your Java code in Notepad.
Save the file with a .java extension.
Open Command Prompt.
Navigate to the directory containing the Java file.
Compile with javac YourFileName.java.
Run with java YourFileName.
answered
Oct 17, 2023
by
anonymous
•
520
points
comment
flag
ask related question
Your comment on this answer:
Your name to display (optional):
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.