• Post Reply Bookmark Topic Watch Topic
  • New Topic

doubt in connectoons on jdbc

 
ananth madabhushi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,i am new to this page.
i had created a jdbc connection using oracle database.I tried to execute the program using command prompt.
It compiled well.But at run time its showing "COULD NOT FIND OR LOAD MAIN CLASS LOGIN"
please help me to resolve the issue.
 
Ganesh Patekar
Bartender
Posts: 696
23
Eclipse IDE Hibernate Java jQuery MySQL Database Netbeans IDE Oracle Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to CodeRanch! , please post your code so someone who knows the solution can help you properly, to post code use code tag from above menus. Just enclose your code with code tag which will appear like below example. Use preview before sumbitting.

  • Example of code posted using code tag:

  • Edit: Also post the complete error you are getting ( but out side of code tag ), only enclose code in code tag.
     
    Ganesh Patekar
    Bartender
    Posts: 696
    23
    Eclipse IDE Hibernate Java jQuery MySQL Database Netbeans IDE Oracle Spring Tomcat Server
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Suppose I have Test.java on C drive (Not kept in any package) then on command prompt
    This way we have to compileTo runIf you run like this may give error which says
    Error: Could not find or load main class Test.class
     
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!