permaculture playing cards*
The moose likes Beginning Java and the fly likes Run a project at client place Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Run a project at client place" Watch "Run a project at client place" New topic
Author

Run a project at client place

vaka suresh
Greenhorn

Joined: Sep 23, 2002
Posts: 9
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.
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Vaka
You could just make a .bat file to do it, or search the forums here for 'java exe' and you'll get a lot of hits.


Dave
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
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.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Run a project at client place
 
Similar Threads
how to convert java file to exe file so0 it can run without JRE
question about calling a no-ejb class's method in ejb method
JavaMail, DNA Method
Can there be Object inside an Object??
Issue Whie Deploying EJB on JBoss AS 5.1.0...