jimwal0367
Programmer
I need to connect to a secure postgresql database, i have the latest drivers downloaded from the postgresql website.
My main question is:-
Is there a way of importing the jar file into the java class.
So method in another java class can then call the DbConnect class file.
At present the only way I can run DbConnect.java is by manually typing in the jar file and associating it to the DbConnect class, as follows:-
java -cp pg73jdbc3.jar:. DbConnect
Can the jar file imported as a package?
Thanks
Jimwal0367
My main question is:-
Is there a way of importing the jar file into the java class.
So method in another java class can then call the DbConnect class file.
At present the only way I can run DbConnect.java is by manually typing in the jar file and associating it to the DbConnect class, as follows:-
java -cp pg73jdbc3.jar:. DbConnect
Can the jar file imported as a package?
Thanks
Jimwal0367