How to set JDBC Driver classpath (Java Database Connectivity) - JDBC #2

Sdílet
Vložit
  • čas přidán 13. 07. 2019
  • How to Set JDBC driver classpath in java?
    In this video i have explain how we can set jdbc driver in class path.
    what are the software require to use jdbc.

Komentáře • 157

  • @RaviKumar-jg1hc
    @RaviKumar-jg1hc Před 2 lety +5

    In a very simple manner u have taught a tough concept.... Thanks alot 🙏

  • @atharvamishra4848
    @atharvamishra4848 Před 4 lety +1

    @Learncodewith Durgest from here i decided to continue your jdbc series.......clear and concise explanation.

  • @praveenvuddagiri7516
    @praveenvuddagiri7516 Před 3 lety +1

    Sir thank you so much i am had seen many videos for this problem but this video only helped me thank you so much sir

  • @technicalshyab5509
    @technicalshyab5509 Před 2 lety +1

    Tq u sir best teacher of the whole world in java

  • @harshit7111
    @harshit7111 Před 2 lety

    thank u very muchhh sir , Best beginner friendly tutorial on utube & i really mean it...

  • @aparnakumari1061
    @aparnakumari1061 Před 12 dny

    For the error "Javap not recognized" or classpath is not recognized, instead of pasting the path as shown in tutorial, click on browse option present there only below the tab of name and path. Go and select the file then. It will 200% resolve the issue. I did the same. : ) Hope this helps.

  • @prathameshmanjare6727
    @prathameshmanjare6727 Před 3 lety +1

    Thanks bro
    really appreciate your efforts..

  • @mr_faiz8196
    @mr_faiz8196 Před rokem

    Sir your explanation style is awesome

  • @anonsubh8778
    @anonsubh8778 Před 4 lety +1

    thnx bhai your video is really help for me

  • @er.ashirbadpanda36
    @er.ashirbadpanda36 Před 9 měsíci

    Thankyou sir for this clear explanation

  • @nomadicsahil
    @nomadicsahil Před 4 lety +4

    I like your videos brother thanks for spreading knowledge 👍

  • @sayanroy4043
    @sayanroy4043 Před 3 lety

    thank you bro u r a life saver

  • @neerajshukla3101
    @neerajshukla3101 Před 4 lety +10

    Amazing videos sir...Things are simple now. Waiting for more videos...Sir I request you to make a seperate playlist of OPPS concept.

    • @samircasen8117
      @samircasen8117 Před 2 lety

      you probably dont give a shit but does any of you know of a tool to log back into an Instagram account..?
      I was stupid forgot the login password. I love any tips you can offer me

    • @alanjesse5660
      @alanjesse5660 Před 2 lety

      @Samir Casen Instablaster ;)

    • @samircasen8117
      @samircasen8117 Před 2 lety

      @Alan Jesse thanks so much for your reply. I got to the site through google and I'm in the hacking process now.
      Takes a while so I will get back to you later when my account password hopefully is recovered.

    • @samircasen8117
      @samircasen8117 Před 2 lety

      @Alan Jesse it did the trick and I finally got access to my account again. Im so happy:D
      Thanks so much you saved my ass !

    • @alanjesse5660
      @alanjesse5660 Před 2 lety

      @Samir Casen Happy to help xD

  • @angadchauhan4233
    @angadchauhan4233 Před 4 lety +1

    Very nice bro .....good work...

  • @sounaksaha1455
    @sounaksaha1455 Před 3 měsíci

    Thanks for your beautiful explannation.

  • @shivamkanojia1000
    @shivamkanojia1000 Před rokem +7

    'javap' is not recognized as an internal or external command,
    operable program or batch file.
    sir yeh vala error show ho raha hai command prompt

  • @yashupadhyay1023
    @yashupadhyay1023 Před 4 měsíci

    please make detailed videos like code with harry. He shows every step which is very useful.

  • @vinayakavinnu5336
    @vinayakavinnu5336 Před 2 lety

    it worksss thank you soo much brooo.....

  • @KhmerPublic
    @KhmerPublic Před 4 lety +3

    very good, keep up

  • @saikripa4441
    @saikripa4441 Před 3 lety

    Thanks you very much sir....

  • @mdajaz7520
    @mdajaz7520 Před 4 lety +2

    Excellent bro

  • @spardhavarshney9814
    @spardhavarshney9814 Před 4 lety +7

    Sir i am using mysql version 8 but in mysql-connectorJ there is no file with .jar extension and on internet it is showing that its connector is already in mysql msi....so sir plz help me how I will get my jar file for version 8 as I am doing my internship so sir please help me out

  • @pallavitiwari4485
    @pallavitiwari4485 Před 2 lety +1

    Explained very exactly and easy manner.👏......but voice is little bit slow😒

  • @LearnTech2685
    @LearnTech2685 Před rokem +5

    all Java program is running, Path setup done, ClassPath setup done but When i run any javap command its showing--- 'javap' is not recognized as an internal or external command,
    operable program or batch file. what is the solution???

    • @SATYAMSINGH-yi6tm
      @SATYAMSINGH-yi6tm Před rokem +2

      Same problem is also showing in my pc also

    • @LearnTech2685
      @LearnTech2685 Před rokem

      @@SATYAMSINGH-yi6tm not require to run this command bro, my program is running successfully. even after this error 'javap' is not recognized .

    • @avnishtripathi178
      @avnishtripathi178 Před rokem

      same problem...why is this occuring ?

    • @aryan0019
      @aryan0019 Před rokem

      The solution to it is -
      Hey there there can be two problems for this error
      1. either jdk is not installed (to check it go on cmd and then type java -version if it is showing version the version of java then well and good if not then install jdk)
      2. If it is showing the version then jdk is installed but the path is not given to the environment variable to give the path go to settings
      type advanced system settings then environment variable then under system variables go to the path variable and add the path of the jdk (where it is located on your system generally it is in Disk C program files java folder jdk )
      REMEMBER while copying the path do include the bin folder
      and then add the path
      Then after adding the path and add a new system path of name JAVA_HOME and give it the path of jdk (dont include the bin folder)
      and add it click ok on all and now restart the system and then again run the command your problem is solved now
      :)

  • @balrampandey4635
    @balrampandey4635 Před 10 měsíci +5

    i get error in the cmd "'javap' is not recognized as an internal or external command,
    operable program or batch file." please fix this error

  • @codevillain7756
    @codevillain7756 Před 6 měsíci

    this video is so helpful

  • @kotitechycommunity2766

    thanks brother good one

  • @xavier6955
    @xavier6955 Před 2 lety +6

    Setting classpath through env variables didn't work. So, what i did in IntellijIdea -> project >file > project structure > libraries > + > java > select jar file. And done ✌️

    • @21AniketThakre
      @21AniketThakre Před 2 lety

      Same happening with me. did that worked for you to complete these jdbc series

    • @ITKalashKumar
      @ITKalashKumar Před 2 lety

      i did same, but used Eclipse ide

    • @CryptoZombie666
      @CryptoZombie666 Před 2 lety +1

      @@ITKalashKumar how did you do that can you please define ? I am STUCK.

    • @ITKalashKumar
      @ITKalashKumar Před 2 lety

      @@CryptoZombie666 czcams.com/video/s2EGAzcdK1c/video.html
      hope this will help you.

    • @pranavdharme5630
      @pranavdharme5630 Před rokem

      Thank you, this works well

  • @user-kw1id7jo2c
    @user-kw1id7jo2c Před 11 měsíci +4

    "'javap' is not recognized as an internal or external command, operable program or batch file." - i'm also facing same error but when I start coding by watching sir's 4th video I successfully run it.
    This is the output of sir's 4th video:
    Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
    Connection created
    so don't think about this error.
    (:

    • @ritikjain4947
      @ritikjain4947 Před 9 měsíci

      thankku brother yoy made me feel like personal mentor instant doubt clear

  • @codingwithankit7619
    @codingwithankit7619 Před měsícem +1

    I am getting an error 'javap' is not recognized as an internal or external command,
    operable program or batch file." after setting the path. how to solve it.

  • @spardhavarshney9814
    @spardhavarshney9814 Před 4 lety

    Sir commands are same to check the classpath is set on cmd??

  • @mr_faiz8196
    @mr_faiz8196 Před rokem

    Thank you so much sir

  • @Wasim0090
    @Wasim0090 Před 2 lety

    Nice 👍

  • @leekhnna9808
    @leekhnna9808 Před rokem +3

    If you are facing error : class not found .. Don't copy path of jar file , Copy path of folder which contains jar file and paste it into env variable as shown in video.
    OR
    While coping , Don't right click on jar file and select copy path instead do exactly as he said in video, like going to the bar where path is written and coping from there.

    • @incode5650
      @incode5650 Před 11 měsíci

      Can you please provide me more details as I am facing classNotFound error for 1 day

    • @leenakuhite944
      @leenakuhite944 Před 13 dny

      javap error occur what to do

  • @sayantandas4057
    @sayantandas4057 Před rokem +3

    I am facing that javap is not recognized as internal or external command

  • @RajaRaj-du6zm
    @RajaRaj-du6zm Před 3 lety

    Nice vdo

  • @user-dc8ym8uy2o
    @user-dc8ym8uy2o Před 11 měsíci +1

    after i set JDBC Driver classpath then jdbc is okay but my java program is not running on cmd it shows" could not load or find main class" sir pls help me i am trying it to fix it for 2 days but didn't get solution anywhere.

  • @virajsahare2680
    @virajsahare2680 Před 3 lety +2

    My windows cmd show's ClassNotFound error while testing class path is properly set or not, i follow all u'r steps....

  • @kartiktripathi7087
    @kartiktripathi7087 Před 4 lety +6

    Please provide link for mysql connector

  • @ajaykathwate7595
    @ajaykathwate7595 Před rokem +4

    @Learn Code with Durgesh after setting the classpath I am getting an error saying "Error: class not found: com.mysql.jdbc.Driver" in cmd....tried for too long to solve but not getting...How can I solve this?

    • @navneetsingh5244
      @navneetsingh5244 Před rokem

      Same problem

    • @rpkvedio979
      @rpkvedio979 Před rokem

      Same

    • @raavananrocks4237
      @raavananrocks4237 Před rokem

      Same problem here bro..... How did u solved it

    • @shahbazalam4268
      @shahbazalam4268 Před rokem

      For some reason, windows environment variable doesn't work for me either. So open cmd in admin mode and type this
      set "$classpath=" and it should work

  • @pushkargoyal4278
    @pushkargoyal4278 Před 3 lety

    sir is video series me full jdbc course hai na

  • @divyanganashah3704
    @divyanganashah3704 Před rokem +2

    Table Created in DataBase
    WARN: Caught while disconnecting...
    Also Exception Stack trace printed......
    why Exception Generated sir After creating TAble

    • @AJ-bo9rf
      @AJ-bo9rf Před rokem

      Handle checked exception then it will auto resolve the issue

  • @mahebubshaikh1260
    @mahebubshaikh1260 Před 2 lety

    Thank you

  • @shashankpandey2450
    @shashankpandey2450 Před 2 lety +5

    Sir class not found:com.mysql.jdbc.driver it is showing in the command line

    • @MohitYadav-so2yl
      @MohitYadav-so2yl Před 11 měsíci

      while setting classpath paste full path with .jar extension

  • @zs8556
    @zs8556 Před rokem

    does my sql version 8 works with java 19?

  • @MentorEzio696
    @MentorEzio696 Před 7 měsíci

    when you create a tutorial atleast make sure you solve the error people are facing in comment section. Most of them are getting exception error even adding to path and you are replying to only who are saying everything worked fine. Even if you solve one comment issue it will help multiples.

  • @vaibhavfokmare
    @vaibhavfokmare Před rokem +2

    Hello sir,
    After setting class path it is showing Error: class not found: com.mysql.jdbc.Driver
    please sir guide me

  • @nikJ639
    @nikJ639 Před 4 lety

    👆👏👏❤👍

  • @pradeepsharma4887
    @pradeepsharma4887 Před rokem

    sir watched your video jdbc#2 still un able to create connection with mysql.

  • @priyabakore6041
    @priyabakore6041 Před rokem +1

    if i want to know sql server jdbc driver name how to do that

  • @shameem-32-evening95
    @shameem-32-evening95 Před 7 měsíci

    javap is not recognized as an internal or external command,
    operable program or batch file.
    How to solve this error??

  • @farahhashmi50
    @farahhashmi50 Před 7 měsíci

    do we stiil need to install mysql ewven if we have xamp?

  • @antu5272
    @antu5272 Před 2 lety

    Sound badao sir

  • @iftashamattar8360
    @iftashamattar8360 Před 2 lety +3

    I'm getting error as class not found

  • @silkysaurabh7478
    @silkysaurabh7478 Před 8 měsíci

    Hlo sir....mai class path set kr li hu...but phr v cmd prmt m run nhi ho rha...class not found show kr rha... please help me sir.

  • @supriyakumari6468
    @supriyakumari6468 Před 3 lety

    Plz provide the link to download MySQL connector

  • @asifahmed947
    @asifahmed947 Před 3 lety

    How to install mysql connector?

  • @AdilBuriro321
    @AdilBuriro321 Před 6 měsíci

    I want to odbc connectivity plz guide me

  • @Aabara_ka_dabara
    @Aabara_ka_dabara Před 5 měsíci

    error in the cmd "'javap' is not recognized as an internal or external command,
    operable program or batch file." please fix this error

  • @janhavimasodkar3369
    @janhavimasodkar3369 Před 4 lety +3

    Sir ..its showing class not found exception in cmd when i cheched it....what to do?

  • @bipanachapain2393
    @bipanachapain2393 Před rokem

    Database install in xampp or not

  • @coderverb
    @coderverb Před 2 lety

    sir javap is not accepting
    please response

  • @MittalAhir-iw2dw
    @MittalAhir-iw2dw Před 26 dny

    javap is not reconized this type of error it show in command

  • @ganeshjagtap7671
    @ganeshjagtap7671 Před 6 měsíci

    Bro classpath show nahi horaha Environment variables mai

  • @yourcodingmentor2492
    @yourcodingmentor2492 Před 2 lety +1

    Sir javap is not recognized likha araha hai y ku ?

    • @LearnTech2685
      @LearnTech2685 Před rokem

      have u solved this problem, if yes then tell me the solution.

  • @abhaykrishan734
    @abhaykrishan734 Před 2 lety

    Bhai netbeans me project create nahi ho raha

  • @DevPatel-kx5jc
    @DevPatel-kx5jc Před 9 měsíci

    plz mike use karla yaar

  • @snatandharma6
    @snatandharma6 Před 10 měsíci

    Mere pass xamp server h mujhe MySQL download karna chahiye

  • @princesukhala7106
    @princesukhala7106 Před 2 lety

    5:00min

  • @user-jx7pl7vr3n
    @user-jx7pl7vr3n Před rokem

    it give error when i write javap on cmd can u plz solve my error this error is show :-- C:\Users\Rishu>javap com.mysql.jdbc.Driver
    'javap' is not recognized as an internal or external command,
    operable program or batch file.

    • @ashu3128
      @ashu3128 Před rokem +1

      hey i im getting same error ,
      did u fix it?
      if yes then please let me know

    • @user-jx7pl7vr3n
      @user-jx7pl7vr3n Před rokem

      @@ashu3128 yes I solved it...... u first check that your jar file version is same or different then mysql and then open comment client and then the adders of mysql server bin and then enter your mysql password

    • @ashu3128
      @ashu3128 Před rokem +1

      @@user-jx7pl7vr3n yeah!i too fixed it,but just by adding java path to environment variables.
      anyways,thanks for reply : )

    • @aryan0019
      @aryan0019 Před rokem

      The solution to it is -
      Hey there there can be two problems for this error
      1. either jdk is not installed (to check it go on cmd and then type java -version if it is showing version the version of java then well and good if not then install jdk)
      2. If it is showing the version then jdk is installed but the path is not given to the environment variable to give the path go to settings
      type advanced system settings then environment variable then under system variables go to the path variable and add the path of the jdk (where it is located on your system generally it is in Disk C program files java folder jdk )
      REMEMBER while copying the path do include the bin folder
      and then add the path
      Then after adding the path and add a new system path of name JAVA_HOME and give it the path of jdk (dont include the bin folder)
      and add it click ok on all and now restart the system and then again run the command your problem is solved now
      :)

  • @saiyelave4588
    @saiyelave4588 Před 2 lety

    macOS??

  • @itssahil3376
    @itssahil3376 Před 8 měsíci

    Mera comment kab viral hoga😢

  • @ramansharma5014
    @ramansharma5014 Před rokem

    Please suggest the solution

  • @subhu143
    @subhu143 Před 2 lety

    Sir link to dedo

  • @adityaraj-zm7zk
    @adityaraj-zm7zk Před 8 dny

    linux ka seup batao

  • @AyushiParihar-xm4tm
    @AyushiParihar-xm4tm Před 25 dny

    Mere isme error show hora

  • @shashankpandey2450
    @shashankpandey2450 Před 2 lety

    Plz help me out

  • @Hrit
    @Hrit Před 2 lety

    voice is too low

  • @Coding-Just
    @Coding-Just Před rokem

    Bhai bata bhi nahi raha ki kaise download karana hai

  • @jonathanmedina9215
    @jonathanmedina9215 Před 4 lety +1

    why use an english title???????

  • @moneyrockzz788
    @moneyrockzz788 Před 4 lety +2

    bhai av help kr skte ho to krdo, 8.0.18 mysql-connector-java-8.0.18.tar.gz - isko extract krne k bd bhi meko pta ni chl jara meri mysql connector.jar file kha hai mili he ni rahi,

    • @LearnCodeWithDurgesh
      @LearnCodeWithDurgesh  Před 4 lety

      Download mysql connector .jar file

    • @moneyrockzz788
      @moneyrockzz788 Před 4 lety

      @@LearnCodeWithDurgesh mysql-connector-java-8.0.18.tar.gz ise download ni krna ... ? maine yhi download kia hai or ise extract kia fir but i did not get jar file inside this...
      main mysql 8.0 use kra hu me driver kha se download kru exact link de do.... plzzzzzzz plzz help me

    • @moneyrockzz788
      @moneyrockzz788 Před 4 lety

      @@LearnCodeWithDurgesh agar aap whatsapp numr de do gye to it would grt for me... meri bht help ho jayegi...

    • @moneyrockzz788
      @moneyrockzz788 Před 4 lety

      @@LearnCodeWithDurgesh mysql connector jar file 5.1.47 chlegi mere Mysql 8.0 me ?

    • @moneyrockzz788
      @moneyrockzz788 Před 4 lety

      @@LearnCodeWithDurgesh bhai bta de plzzz

  • @srschool4298
    @srschool4298 Před 2 lety

    DOne AND DUSTED

  • @JAY9896864656
    @JAY9896864656 Před 3 lety +27

    Not recommended for beginners

    • @sachinbansode4753
      @sachinbansode4753 Před 7 měsíci +1

      No bro... It is beginner level to teach durgesh bhai

  • @aniketmane8639
    @aniketmane8639 Před 2 lety +2

    'javap' is not recognized as an internal or external command,
    operable program or batch file.
    this error accure

    • @LearnTech2685
      @LearnTech2685 Před rokem

      have u solved this problem, if yes then tell me the solution.

    • @aryan0019
      @aryan0019 Před rokem +1

      The solution to it is -
      Hey there there can be two problems for this error
      1. either jdk is not installed (to check it go on cmd and then type java -version if it is showing version the version of java then well and good if not then install jdk)
      2. If it is showing the version then jdk is installed but the path is not given to the environment variable to give the path go to settings
      type advanced system settings then environment variable then under system variables go to the path variable and add the path of the jdk (where it is located on your system generally it is in Disk C program files java folder jdk )
      REMEMBER while copying the path do include the bin folder
      and then add the path
      Then after adding the path and add a new system path of name JAVA_HOME and give it the path of jdk (dont include the bin folder)
      and add it click ok on all and now restart the system and then again run the command your problem is solved now
      :)

  • @harshiltech77
    @harshiltech77 Před 3 lety

    javap not recognize kya karu ?

    • @danialhassan7984
      @danialhassan7984 Před 3 lety

      java install ni hoga java ko shi se install krke uska path set kro ho jye ga mera v yeh error aya tha

    • @harshiltech77
      @harshiltech77 Před 3 lety +1

      thanks bro ho gaya mene vahi kiya tha baad me ho gaya tha

  • @sritamkunu9155
    @sritamkunu9155 Před 4 lety

    Now days dot is adding automatically...if you have forgot thn it will automatically added

  • @JyotiGupta-gu5kk
    @JyotiGupta-gu5kk Před 11 měsíci

    bakwas itna sortcut koun batata hai bhyi

  • @sumitkaith6677
    @sumitkaith6677 Před 2 lety +1

    Class not found exception aa rhi h sir.... Help me ????

  • @dheerajupadhyay6153
    @dheerajupadhyay6153 Před 4 lety +1

    sir path set krne k baad v class not found bata rha h command prompt me .plz help

  • @dikshyasurvi6869
    @dikshyasurvi6869 Před 3 lety +1

    in my cmd , javap is not recognisable. Can you tell me how to fix it?

    • @danialhassan7984
      @danialhassan7984 Před 3 lety

      java is not installed in your system, that's why this error

    • @dikshyasurvi6869
      @dikshyasurvi6869 Před 3 lety

      @@danialhassan7984 But it is. At least I think it is

    • @danialhassan7984
      @danialhassan7984 Před 3 lety

      Either Java is not installed on your system or if it is installed the path will not be set otherwise this error is not possible.

    • @LearnTech2685
      @LearnTech2685 Před rokem

      @@danialhassan7984 all Java program is running from CMD and NeatBeans also, java -version is showing properly from command prompt, Path setup done, ClassPath setup done but When i run any javap command its showing--- 'javap' is not recognized as an internal or external command,
      operable program or batch file. what is the solution???

    • @shivanirai7940
      @shivanirai7940 Před rokem

      @@LearnTech2685 same problem, did u resolve if?

  • @prashreetiwasti7264
    @prashreetiwasti7264 Před 3 lety

    So nobody’s gonna talk about his wallpaper? At first glance I thought it was an example of a program that he’s going to explain relating to java program🤣

  • @ramansharma5014
    @ramansharma5014 Před rokem +1

    Javap com.mysql.jdbc.Driver throwing Error: class not found: com.mysql.jdbc.Driver