Dear all, In another topic, while discussing about using third party jars I was told that we can use batch files with classpath variables. As far as I know a batch file is similar to a text file only with a extension .bat. Is it correct?
I want to know in using 3rd party jar, how can we use these batch files? Regards.
3rd-party jars? No longer a beginner's topic . . . moving.
Batch files are in fact text files with a .bat extension, but they are liable to be executed by a DOS or Windows computer automatically, maybe even at start-up time. That's about as much as I know about them. You might do better to create an executable .jar with the 3rd-party jar specified in the manifest file. Look in the Java Tutorials: this section.