hi all, i have done a project , i have folder called "dna" which contains all the .class files to run the project . in dos i will be typing "java dna" to run my project .for this i need to set the path , but a cliet dosent know all these , how do i make my class to run just by cliking on as a setup file.
Are you sure you need to adjust the PATH environment variable? With Java, normally it's the CLASSPATH setting that needs to specify the location of any necessary classes for the application to run. You may want to consider creating an executable JAR file. If created correctly, the user could simply double click on the file and it would execute the application.