Re: [javaCompiler-users] Class.forname on windows
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2006-06-20 21:32:04
|
Hello Chris My workaround is to rewrite the classes which use reflection to not use reflection. It's kind of dull, but it's the only way I know to get things working... regards Marco Chris Roberts wrote: > I know its broken right now but does anyone have a workaround. I'm > trying to compile a test app using jdbc(mysql). Linux code works fine, > but windows executable is broken(using class.forname). I tried using: > > private static Class class3 = com.mysql.jdbc.Driver.class; > > to force the linker to include the class, but it still fails. > > > Thanks > Chris > > P.S. > Sorry I posted this on the wrong list before.... > > > ------------------------------------------------------------------------ > > _______________________________________________ > javaCompiler-users mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/javacompiler-users |