Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Run a project at client place

 
vaka suresh
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic