The solution was providing a full path to the java.exe like so if anyone's curious: <cfexecute name = "x:\serverware\coldfusion8\...\java.exe" arguments="-jar yourJar.jar [ options ]" ></cfexecute>
On Mon, May 4, 2009 at 1:24 PM, David McGuigan <[email protected]>wrote: > I'm trying to execute a .jar file with some parameters from a cfc and then > use the file it generates afterward. But, Google and I cannot seem to figure > out how you execute .jars in CFML. > This is an epic fail: > <cfexecute name = "#expandPath( '/my.jar' )#" > arguments = "-o etc" > outputFile = "#expandPath( '/mechanics/framework/compressor/output.txt' )#" > > > </cfexecute> > > I've tried placing the java keyword in the beginning of the name parameter, > java -jar, as well as both variations in the arguments param but no luck. > > Thank you. > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322155 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

