i am writing code for java mssql connectivity in notepad++ i am not using any ide.
can anybody give me code.
how to set classpath?
jtde or jdbc driver i need code for both driver
Thanks in advance
i am writing code for java mssql connectivity in notepad++ i am not using any ide.
can anybody give me code.
how to set classpath?
jtde or jdbc driver i need code for both driver
Thanks in advance
Youn need to download the JDBC driver JAR files (and all dependencies). Then call
java -cp path_to_jar/jtds-1.3.1.jar;path_to_jar/jtde.jar;path_to_classes;path_to_other_jars/otherjar.jars your_main_class
(Alle names are sample names)
On Linux you have to use :
as separator