Apparently I need to execute code before the DB driver is loaded. Quoting Geert Bevin: > > Java properties are not the same as system environment variables. > You provide properties through the java -D command line argument.
Of course. My oversight. But the problem persists. When we take system env.variables and define them to the JVM using "-D", the short test program can see them, and Rife on Linux can see them, but Rife on Windows can_not_. Something is screwed up. Per http://db.apache.org/derby/docs/10.1/tuning/tuning-single under "Ways of setting Derby properties" : "Using a properties object within an application or statement", I can set the value programmatically with a call like this: Properties p = System.getProperties(); p.put("derby.system.home", "C:\databases\sample"); BUT it also says that "you can also set system properties within an application using a Properties object before loading the Derby JDBC driver." SO ... is there a way to execute code _before_ the driver is loaded ? fred -- F.Baube * Georgetown/MSFS/1988 * Think pangalactically. fbaube#saunalahti.fi * Act locally. gsm +358 41 536 8192 * wmd 60°11'10.8"N 24°57'36.9"E _______________________________________________ Rife-users mailing list [email protected] http://www.uwyn.com/mailman/listinfo/rife-users
