Signed-off-by: Tomek Grabiec <tgrab...@gmail.com> --- vm/jato.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/vm/jato.c b/vm/jato.c index 129a261..7830ca9 100644 --- a/vm/jato.c +++ b/vm/jato.c @@ -248,6 +248,16 @@ static void init_system_properties(void) add_system_property_const("os.version", info.release); } + +/** + * This should be called after parsing of call arguments. + */ +static void init_configurable_system_properties(void) +{ + /* XXX: currently user defined -Djava.class.path=value is overriden. */ + add_system_property_const("java.class.path", get_classpath()); +} + static void native_vmsystemproperties_preinit(struct vm_object *p) { struct system_properties_entry *this, *t; @@ -1216,6 +1226,8 @@ main(int argc, char *argv[]) parse_options(argc, argv); + init_configurable_system_properties(); + init_vm_objects(); jit_text_init(); -- 1.6.0.6 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel