confused- what to use .bat or .jar file - plz he
This is my first time on any forum. I got to know about this forum form my friend and she said this is good discussion forum to solve one's query.
(I) Actually I developed a application in java and used type4 driver to create connections. The driver is jtds-1.2-dist and every thing is working fine. The only thing I want to know that when I go to my client what should i keep with me ie .jar file or just .class files. Suggest me what will be better option. I also dont want to show my codes.
(II) When I created a batch file and showed the path of my mainfile and set classpath of type 4 driver it is not working the only thing happen by clicking the .bat file a command window appear then goes off, no file executes.
what I did before this is here
(a)I installed jre 1.5 on client system.)
(b) my client system doesn't have any classpath variable define.
(c)I created a run.bat file.
run.bat file contains ---
(III) Third and last thing i want to ask that Is there any way to create Database with the help of javacode.If yes plz tell me how could i do this.
thanx a lot for any answer