This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes Execute file within a jar Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Execute file within a jar" Watch "Execute file within a jar" New topic
Author

Execute file within a jar

Joshua Elkino
Ranch Hand

Joined: Jul 24, 2007
Posts: 91
I'm building a swing application that takes command line calls and executes them. I'm ultimately trying to create the ability to start applications on remote workstations and since there is no standard Windows command to do this i found that PsExec can do this for me. The question now become instead of requiring a user to install PsExec seperately, can i drop it into my project source and call it as needed so that when i distribute the application, there is no outside dependency.

PsExec examples

Thanks
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Execute file within a jar
 
Similar Threads
Remote File Operations
Any suggestions for software to teach Java?
how to connect EJB without using runclient
Runtime.exec , application is invisible
Deploying application on the weblogic remote server