Hello again.
 
On my Mac OS X (10.2.6) the os.name propery has the value "Mac OS X", with spaces in the name. I've tried adding a line in demos.properties for both "script.Mac_OS_X=./runsnippet" and "script.Mac OS X=./runsnippet", but I still can't get the demorunner.sh to launch a code snippet. I still get the error dialog saying "Could not start demo : runsippet: not found" with any of the demos I try to run.
 
Any other ideas?
 
Thanks,
 
Rob
I wonder, in the DemoRunner class, could it be that you're assuming a
relative path the that file, i.e, 'runsnippet' and not an explicit path such
as "./runsnippet"? If I had the source code for DemoRunner I could check
this myself on OS X.
That's correct. What I suggest you do is edit the demos.properties file and add an entry:

script.<OS X>=./runsnippet

where <OS X> should be replaced with what System.getProperty("os.name") returns on OS X (I do not have an OS X box handy to tell you).

Vincent.
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to