Here i am using absolute path that is what i want to get ride off. So after this i added this jar file into my classpath (Using netbeans IDE). And tried to run this file like like: ? 1 Runtime.getRuntime().exec(
Usually I save My programs say for example "prog1.java" in C:\Program Files\Java\jdk1.6.0_02\bin directory and then go to the command prompt and type all the path and execute it. Instead of saving the file in the bin directory, I want to know if I can save it in say D:\My ...
3.mysqlconnector-java 8.0.23.jar4.servlet-api-2.5.jarI also tried to conigure buildpath but the add external jars button is disabled and i am unable to add jars.I am using dynamic web project in eclipse and i am using tomcat server....