Perhaps, you can try to instantiate java.lang.System and set the system property in the coldfusion code? Something like,
<cfset sys = createObject("java", "java.lang.System")> <cfset sys.setProperty("com.java4less.vision.maxarea", "90000")> Hope that helps. Thanks, Hareni -----Original Message----- From: Ryan Stille [mailto:[EMAIL PROTECTED] Sent: 08 December 2007 04:19 To: CF-Talk Subject: Java help - convert -D command line option to CF? I am converting a little java code into CF8. The sample Java program I am working from is meant to be run with this command line option: -Dcom.java4less.vision.maxarea=900000 Without having that set, my results in ColdFusion are not working very well. Anyone know how I can do something like the above in ColdFusion? I have no "vision" object to work with or anything, I'm only working with 1 instantiated java object and there is no maxarea property or setter in that object. I imagine I could change ColdFusion's JVM start up parameters to include that option, but I don't really like that idea. -Ryan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294395 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4