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
3 Respuestas
+ 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");
+ 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
+ 1
Yes i defined it in javaclassconnection,,,thanks alot for you information