0

Hi,i write a program for creating a loginform with netbeasn and using sqlite as database,,i use conn=javaConnection.connecrDb(); in constructor,,but netbeasn underlin it(can not find symbol javaConnection) what shoud i do?pleas help me

27th Mar 2017, 9:01 PM
Hana F. Abdulqadr
Hana F. Abdulqadr - avatar
3 ответов
+ 12
Did you define/initialize your variable javaConnection? Depending on the API you use there must be something like Connection javaConnection = DriverManager.getConnection("path\\yourDB.db");
27th Mar 2017, 9:17 PM
Tashi N
Tashi N - avatar
+ 12
Sry, I didn't read your question properly. You are using Netbeans... I think this will help you (check if you have done every step, that is mentioned there): http://stackoverflow.com/questions/34880061/how-to-connect-sqlite-database-to-netbeans
27th Mar 2017, 9:46 PM
Tashi N
Tashi N - avatar
+ 1
Yes i defined it in javaclassconnection,,,thanks alot for you information
27th Mar 2017, 10:14 PM
Hana F. Abdulqadr
Hana F. Abdulqadr - avatar