ok, as far as i am concern I think Class.forName(); is used for loading the driver with driver manager..
U may get help on http://4-engineers-help.blogspot.com/2009/03/what-is-class-loader-in-java-its.html Thanks.. 4 ENGINEERS HELP On Mar 20, 2:12 pm, "Don Brumbaugh" <debrumba...@verizon.net> wrote: > Ok, I guess it would be good to read the lab instructions. Sorry I got this > to work. > > Don > > > > -----Original Message----- > From: java-ee-j2ee-programming-with-passion@googlegroups.com > [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com]on Behalf > Of Don Brumbaugh > Sent: Thursday, March 19, 2009 11:01 PM > To: Java EE (J2EE) Programming with Passion! > Subject: [java ee programming] Re: Lab-1020 Version problem with the > JDBCSample > > Looks like I figured this our. I just tp right click the project and > resolve to the > .../.netbeans/6.5/config/Database/org_apache_derby_jdbc_ClirntDriver file. > > Thanks, > Don > > -----Original Message----- > From: Don Brumbaugh [mailto:debrumba...@verizon.net] > Sent: Thursday, March 19, 2009 10:11 PM > To: Java EE (J2EE) Programming with Passion! > Subject: RE: [java ee programming] Re: Lab-1020 Version problem with the > JDBCSample > > I had the same problem and this worked but I have another problem resolution > to resolve. > > ClassNotFoundException: org.apache.derby.jdbc.ClientDriver > SQLException: No suitable driver found for > jdbc:derby://localhost:1527/sample > > Any ideas how to fix this one? > > Thanks, > Don > > -----Original Message----- > From: java-ee-j2ee-programming-with-passion@googlegroups.com > [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com]on Behalf > Of fredrik > Sent: Monday, March 09, 2009 6:50 PM > To: Java EE (J2EE) Programming with Passion! > Subject: [java ee programming] Re: Lab-1020 Version problem with the > JDBCSample > > Yes, I had the same problem. > Right-click the project node and choose Properties. > Select Libraries. > At the top, select JDK 1.6 as Java Platform in the drop-down menu. > This should do it. > /Fredrik > > On 8 Mar, 01:01, "supriya khare" <supriya_kh...@hotmail.com> wrote: > > Hi > > > I have JDK6.0 installed and after downloading the lab1020 and trying to > > open JDBCSample I get resolve problem: Problem: The project uses the Java > > Platform called "JDK_1.5", but this platform was not found. I have been > > successfully able to work on other labs with JDK6.0. Also everywhere it > is > > written that we need JDK6.0. I am not sure whether I have downloaded > wrong > > version of lab... Anybody having similar problem??- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---