how to make and execute a java program using notepad and cmd

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • how to make a program using notepad and cmd

Комментарии • 312

  • @iam_joshua_bcxvii
    @iam_joshua_bcxvii 9 лет назад +18

    This thing is missing something, it wont just run your program in cmd immediately when you install the JDK. You would still have to set the path of the JDK/bin folder to the system advance settings to be able to really compile and run java programs using cmd and with notepad. The reason why some people are getting javac not recognize error, but the basics is there. alright,thats the one that's missing though.

    • @ananyavichare2489
      @ananyavichare2489 2 года назад +2

      bless you i was having this error and i was so confused. you were of great help

  • @shaikibrahim-md7xh
    @shaikibrahim-md7xh Год назад +1

    Thanks for your better explanation

  • @manojkulkarni9083
    @manojkulkarni9083 6 лет назад +15

    thank you, finally I wrote java code n executed.

  • @yokeshwaran7305
    @yokeshwaran7305 8 лет назад +6

    tq bro...i have successfully executed my frst prg ..Now im on my way heading towards java to learn more

  • @mediationandhealth3776
    @mediationandhealth3776 3 года назад +1

    Thanks for the information of Notepad👍

  • @YashDubey26
    @YashDubey26 5 лет назад +2

    Best video for java begineers thank you so much 😇😇

  • @joysjoy2766
    @joysjoy2766 4 года назад +1

    I got my 1st output ..by following your video... thanks a lot...

  • @paolobena
    @paolobena 4 года назад +8

    Very clear and helpful, worked just fine

  • @ayioesther895
    @ayioesther895 2 года назад

    great plz keep it up with the rest of the videos u will make

  • @sonalivarshney5395
    @sonalivarshney5395 7 лет назад

    my program have done ,thanku so much, this video and comment also very helpfull for me

  • @raihanrony1810
    @raihanrony1810 3 года назад +1

    YES finally a working program on the console . thank you

  • @merlinebinezer
    @merlinebinezer 7 лет назад +4

    its really useful for me understand well......tq

  • @rajeevranjan6242
    @rajeevranjan6242 6 лет назад +1

    Thanks bro first time I have done it

  • @nandanamadhuranthakam3824
    @nandanamadhuranthakam3824 6 лет назад +5

    Thank you... It was so helpful... 🤗

  • @user-rx7uv8ez3e
    @user-rx7uv8ez3e 2 года назад +1

    v v informative

  • @ourjackygsd
    @ourjackygsd 4 года назад +1

    really helpful

  • @rehanashaikh2304
    @rehanashaikh2304 7 лет назад

    sir excellent ths video recently i install java on window 10 bt i dont no how to excute java prgm on notepad to cmd tqs for so helpful fr ths video awesome sir

  • @r.d2455
    @r.d2455 Год назад

    Thanku sir it helps me allot 🙏

  • @guruprasad3437
    @guruprasad3437 8 лет назад

    super bro
    it was easily understan to every one
    thank you.......................................................................

  • @sudeshkumar-hu7fj
    @sudeshkumar-hu7fj 5 лет назад

    Really your song is so nice😄😃😂😂😂😂😉😉😃😂

  • @CSE_KaaveeyahS
    @CSE_KaaveeyahS 3 года назад

    Finally I executed java program ...thanks a lot 😇🥳🥳

  • @nandinikose1414
    @nandinikose1414 5 лет назад +1

    Wow thanks for uploaded this video,😍🤗...ita very helpful for me

  • @motbharesubodh9507
    @motbharesubodh9507 4 года назад

    This is nice video for run java program on cmd. According to me I understand how to run java on cmd. Thank you so much..

  • @mrigankkumar1572
    @mrigankkumar1572 7 лет назад +13

    this video would have been short if you could have added audio.
    the explanation is nice.

  • @gnanapriyas9681
    @gnanapriyas9681 6 лет назад +1

    sir I got error like 'javac' is not recognized as an internal or external command,operable program or batch file ...like error I got please help me sir

  • @shikhachoudhary329
    @shikhachoudhary329 4 года назад

    Thanks it helped me

  • @yogeshshinde616
    @yogeshshinde616 Год назад +1

    please sir make a vidio for how to select path &execute a java program.

  • @ramyakrishna2198
    @ramyakrishna2198 2 года назад

    Thank you very much it is very useful to me

  • @nikhilkumarnikhil3275
    @nikhilkumarnikhil3275 10 месяцев назад +1

    Kick-ass explanation

  • @kidslearning7362
    @kidslearning7362 2 года назад

    Good😀 thank you

  • @nibeditamohanta6298
    @nibeditamohanta6298 2 года назад

    Thank you so much sir....It really works..! 😊

  • @aerial1411
    @aerial1411 5 лет назад +6

    C:\Users\Guest>javac
    'javac' is not recognized as an internal or external command,
    operable program or batch file.

  • @ninfaportillo2774
    @ninfaportillo2774 8 лет назад +3

    Bro thankyou you help me understand how to execute a java program uaing notepad and command prompt thankyou hope you can earn money in this video you made bro can i aska question how to be expert programmer

  • @vasireddysrivishwanthchowd538
    @vasireddysrivishwanthchowd538 7 лет назад +3

    I got an error while executing the program can you please suggest me with the answer. the error is
    "the system can't find the file C:\Program Data\oracle\Java\Javapath\Java.exe".

  • @ghostryzen6736
    @ghostryzen6736 7 лет назад

    Good............

  • @harshitsachdeva9451
    @harshitsachdeva9451 3 года назад

    op background music bro: D

  • @rudradahiya2850
    @rudradahiya2850 3 года назад +1

    Thnku so much....

  • @manilakumari8077
    @manilakumari8077 2 года назад +1

    Sir please explain with ur voice that should be very clear ....
    By the way this is useful 🙂

  • @lyousuf7600
    @lyousuf7600 5 лет назад

    I am now studying about java, Thank for it

  • @abhay89
    @abhay89 3 года назад

    Bro this video is really amazing I found each and everything which I need

  • @thechurchoflivinggod2315
    @thechurchoflivinggod2315 Год назад

    Your explanation-👍👌

  • @narendram2391
    @narendram2391 4 года назад +1

    Very much useful to me sir❤️

  • @prernabaranwal8657
    @prernabaranwal8657 4 года назад

    Thank you so much... It was really helpful

  • @ajaymuthyala6505
    @ajaymuthyala6505 2 года назад

    Thank You bro
    I'm AJAY

  • @dheerajdubey2828
    @dheerajdubey2828 6 лет назад +1

    Thanku somuch

  • @itspriancaxo
    @itspriancaxo 8 лет назад +3

    This really helped a lot. Thankyou :D

  • @747fox
    @747fox 7 лет назад

    thanks a lot for your contribution you help me so much

  • @rapturekopeng8765
    @rapturekopeng8765 8 лет назад +4

    thank you very much... i understood is very easy :D

  • @Santoshkumar-jy5hj
    @Santoshkumar-jy5hj 5 лет назад +1

    Thanks

  • @grajiniikanth3325
    @grajiniikanth3325 4 года назад +1

    You did a mistake.class "Multiply", you have entered small letter to class means "multiply". That's why you could not execute the programme.program name first letter should be a capital.

  • @parthapratimdeori9933
    @parthapratimdeori9933 2 года назад

    2013 was a great year. I am watching this on 2022

  • @rohitgangola176
    @rohitgangola176 9 лет назад +5

    thank's buddy it really helped me

  • @khushbookumari957
    @khushbookumari957 6 лет назад

    i did programming first time and its very helpful in execution. Thanks

  • @ajumah
    @ajumah 3 года назад +1

    Thank you so much. This was very helpful 🙂

  • @abdullahiahmed6785
    @abdullahiahmed6785 9 лет назад +5

    Thank a lot for the excellent work, it was superb, simple and intuitive tutorial.
    Really helps.

  • @ankitkumarthakur5622
    @ankitkumarthakur5622 3 года назад

    Thanks brother

  • @sundaravel5260
    @sundaravel5260 4 года назад

    super bro

  • @arjavjain3791
    @arjavjain3791 3 года назад +2

    Thanks, Bro. But you have to mention one thing that it is not the same for all the computers to save in documents folder. Because my computer location is C:/User/dell. It is written in the cmd.

  • @shakirinjahanmozumder2572
    @shakirinjahanmozumder2572 3 года назад +1

    Error: A JNI error has occurred, please check your installation and try again
    Exception in thread "main" java.lang.UnsupportedClassVersionError: sum has been compiled by a more recent version of the Java Runtime (class file version 58.0), this version of the Java Runtime only recognizes class file versions up to 52.0
    What should I do now?

  • @hemanthlucky7963
    @hemanthlucky7963 7 лет назад +1

    i want video for setting path at once and using it daily without setting path everyday

  • @junedshaikh5162
    @junedshaikh5162 9 лет назад +6

    very useful for beginners in simple and easy way! thanks

  • @sauravsharma9221
    @sauravsharma9221 4 года назад

    Wonderfull bro😍😍😍

  • @mohammedalaradi1268
    @mohammedalaradi1268 9 лет назад

    this was a good tutorial try to use microphones with voice it will be much batter

  • @adeelasghar7057
    @adeelasghar7057 5 лет назад

    thank u much

  • @fahadfad4041
    @fahadfad4041 2 года назад

    nice class sir

  • @meeeee8458
    @meeeee8458 3 года назад

    Thankyou so much sir

  • @sneha.r6675
    @sneha.r6675 3 года назад

    Thanks a loot...it helped me a lot

  • @sundaravel5260
    @sundaravel5260 4 года назад

    uesful video

  • @veeramohan2702
    @veeramohan2702 9 лет назад +38

    Showed an error: 'javac' is not recognized as an internal or external command, operable program or batch file.

    • @amandamaharjan6042
      @amandamaharjan6042 7 лет назад +2

      javatpoint.com/how-to-set-path-in-java check this link put bro

    • @swatijain5872
      @swatijain5872 7 лет назад +3

      because u dont have java in ur system that's why showing this messege

    • @robomextv
      @robomextv 6 лет назад

      Environment variable is not set

    • @ifredpingplay468
      @ifredpingplay468 6 лет назад

      u need compiler bud

    • @faizaalam3259
      @faizaalam3259 6 лет назад +1

      bcz you save file on text docoments

  • @maubaidullah5046
    @maubaidullah5046 6 лет назад

    Thanks bro working well

  • @santhoshag9074
    @santhoshag9074 8 лет назад

    i like it

  • @mogullanaveen3555
    @mogullanaveen3555 2 года назад

    Thank you sir

  • @deepakthakur4965
    @deepakthakur4965 5 лет назад +1

    Thank u for this vedio bt I have main problem please give me link to download JDK

  • @vinjamnagalakshmi7792
    @vinjamnagalakshmi7792 3 года назад

    Got it tq

  • @brent6753
    @brent6753 7 лет назад

    thanks your your video bro

  • @abdulrahimnamazi1942
    @abdulrahimnamazi1942 6 лет назад +1

    Thank you so much..

  • @rahulkanchi8562
    @rahulkanchi8562 10 лет назад +2

    thnkx bro.....it helped me

  • @dmreddy2148
    @dmreddy2148 4 года назад

    Thanks a lot bro...😍😍😎

  • @venkatesh3816
    @venkatesh3816 6 лет назад +2

    Perfect 👌

  • @chaitanyajumale4158
    @chaitanyajumale4158 10 лет назад +5

    can u please show after completing it...

  • @ushasingh1906
    @ushasingh1906 4 года назад +1

    Ufff this Java how can I install? No easy way

  • @gkpanda717
    @gkpanda717 4 года назад +3

    The system can't find the path specified shows after typiing cd exams

  • @shaistanasrullah2238
    @shaistanasrullah2238 7 лет назад

    it was very helpful thanks

  • @ram41228
    @ram41228 3 года назад

    Thank you so much

  • @alialrahem9817
    @alialrahem9817 7 лет назад

    This video is perfect Java program compiles smoothly

  • @jeromiyajoy2147
    @jeromiyajoy2147 3 года назад

    Nice video, helped a lot, but please write to type a bit more faster

  • @autuvu9401
    @autuvu9401 2 года назад

    Wow, interesting!

  • @poojjiiiii
    @poojjiiiii 2 года назад +3

    When I compile the program it's shows " Javac is not recognized as an internal and external command,operable program or batch file"
    What should I do???

  • @songstarnikhil1417
    @songstarnikhil1417 5 лет назад

    nice typing

  • @muhammadsohail7557
    @muhammadsohail7557 3 года назад

    Background music❤❤

  • @tsxdopegaming6908
    @tsxdopegaming6908 4 года назад

    Thank you.It was helpful

  • @SathishKumar-kv8wb
    @SathishKumar-kv8wb 3 года назад

    Thank u so much

  • @babookumarheerani50
    @babookumarheerani50 5 лет назад

    It is working 100 % accurate thanks

  • @ashvinimeshram5242
    @ashvinimeshram5242 3 года назад +1

    I am getting the error like javac is not recognized as internal or external command plz help me

  • @nagaraju440
    @nagaraju440 7 лет назад +2

    Hai sir,
    After complied and when run java ism getting error "Error:could not find or load main class file name"
    Please correct me

  • @RadheRadhe-xg2dj
    @RadheRadhe-xg2dj 6 лет назад

    Tanku bro i got it....

  • @yogeshkumawat3911
    @yogeshkumawat3911 7 лет назад +1

    Thanku..

  • @sunilsahu6290
    @sunilsahu6290 9 лет назад +2

    how to solve the error on the command prompt after succesful compilation of code (run time error):
    sunil:
    class hai
    {
    public static void main(String args[])
    {
    System.out.println("welcome to java");
    System.out.println("I am learning Java");
    }
    }
    class:hai
    on command prompt::
    G:\Java_programmes>javac sunil.java
    G:\Java_programmes>java hai
    An error has occurred while processing the shared archive file.
    Unable to unmap shared space.
    Error occurred during initialization of VM
    Unable to use shared archive.

  • @hafeezulrehman9309
    @hafeezulrehman9309 5 лет назад

    best video for initail stage student
    thank you

  • @raksantrofficail586
    @raksantrofficail586 6 лет назад +1

    Yes thanks you so much