How To Run Java Program

Dear Students, aaj ke is Lecture me hum janege How to run java program ke bare main yani ke java program ko kaise run karate hai. Or sath main seekhenge how to run java program in IDE matlab NetBeans par java program kaise run hote ha. aadi se related ye sare topic hum how to run java program main cover karege.

Lectures Covering Topics

  • How To Run Java Program In Hindi
  • How To Run Java Program In Console In Hindi
  • How To Run Java Program In NetBeans IDE In Hindi

How To Run Java Program

Students kisi bhi java program ko run karne ke liye two types hote hai. First to hai ki aap apne java program ko console par run kara sakte ho. Second hai ki aap apne java program ko NetBeans IDE par bhi run kara sakte ho.

Agar main apni bat karun to main apne java ke program ko NetBeans IDE par run karata hun. But Jab mene java ko seekhna start kiya tha tab main apne program ko notepad par types karke console par run karata tha. Or student ke liye to console par he run karana sahi hota hai.

Main yahn aapko console or IDE dono par he run karana sikha dunga. Fir aapko jo bhi tareeka thik lage aap us se apne java program ko run kara sakte hai. But student ke liye console sabse best hota hai.

How To Run Java Program In Console In Hindi

Console se java program run karane ke liye aap neeche likhe hue instruction ko achche tarah se pad leejiye. Mene step by step btaya hai ki how to run java program in console. To chaliye start karte hai apne program ko run karana.

  • Apne run window par cmd type karke enter karo or aapka command prompt opne ho jayega.

How To Run Java Program 1

  • Aapka command prompt open ho gya hai. Command prompt open ho jane ke bad ab hum us directory me jayege jha hamara java install hai. or vhan se hum java ke bin folder ko locate karege.

How To Run Java Program 2

  • Ab hame check karna hai ki hamara java thekh tarah se kaam kar rha hai ya nahi. To iske liye hame javac command type karke enter hit karna hai. Uske bad aapke console par jaisa neeche image me dikhaya gya hai kuch is tarah se show hoga.

How To Run Java Program 3

  • Iske bad aap jo bhi program run karan hai us program ko bin folder main .java extension ke sath save karna hai. Jaise ke mene demo.java file save ki hai.
  • Ab aapko command prompt main javac or apane program file ka naam space ke sath taype karna hai. Jaise ki mene javac demo.java file type kiya hai or enter press karo.

How To Run Java Program 6

  • Agar aapke program main koi error hogi to show karega nahi to aap next line ma aajayege javac command aapke program ke executable file create karti hai.
  • File execute hone ke bad ab aap java command ke samne apne file ka naam likh kar apna program run karana hai. Neeche image me dekh sakte hai.

How To Run Java Program 7

  • Ab aapka output show hoga jaisa ki meri file ka output welcome to hindi me tutorial show ho rha hai.

How To Run Java Program 8

How To Run Java Program In NetBeans IDE In Hindi

NetBeans IDE se java program run karana bahut he aasan hota hai. NetBeans IDEĀ  par apne program ko run karane ke liye aap neeche likhe hue instruction ko achche tarah se pad leejiye. Mene step by step btaya hai ki how to run java program in NetBeans. To chaliye start karte hai apne program ko run karana.

  • IDE par koi bhi program run karan bahut he essay hai. Bus hame apne IDE par program ko type karna hai.
  • Sabse pahle aap apne program ko IDE par taype karo jaisa ke mene neeche type kar rakha hai.

How To Run Java Program IDE 1

  • Ab aako run button par click karna hai. jaisa ke aap neeche image me dekh sakte hai.

How To Run Java Program IDE 2

  • Ab aapka output aake samne kuch is tarah se najar aa rha hoga jaisa ki neeche image me dikhaya gya hai.

How To Run Java Program IDE 3

Related Lecture

Dear Students, main aasha karta hun ki aapko How To Run Java Program Ka Lecture padh kar samjh me aa gaya hoga ki java program ko kaise run karate hai. Yadi aapako (How To Run Java Program) ke Lecture se related koi bhi problem hai to aap hume comment karke puch skte hai.

Share This Post On

About Author

Thakur Aman Singh

Hey, I am Aman Singh Tomar from Taj City Agra. Through This Blog I want to share my Knowledge with all of you. Read More >>

Leave a Reply

Your email address will not be published. Required fields are marked *