gij on windows - problem with Class.forName
KenS
kens@campoz.fslife.co.uk
Sat Feb 3 22:35:00 GMT 2007
I am a newcomer to Linux and gnu. I have been successfully using
http://sourceforge.net/project/showfiles.php?group_id=115063 this
application on WinXP for some time now but it is compute intensive and I am
interested in compiling it into native code to run faster. After some failed
attempts to build gcj on WinXP I converted my machine to a dual boot
WinXP/Linux. Under Linux I natively compiled the application for Linux and
it worked brilliantly - run time was more than halved.
Next step was to do a native compile for mingw but I also realised I would
need gij on WinXP to run the native compiled version using the dbtool
method. Building the mingw version was still a problem for me so I
downloaded the gcc/gcj 4.2 bundle from www.thisiscool.com and installed on
WinXP.
Now this is where I need some help as I'm encountering problems and I'm not
sure if it is my configuration or something else. As I was hitting problems
running the native code I went back to basics to check that gij is OK with
normal jar files. Running gij against the original jar files; the program
terminates at a call to Class.forName.
I was able to determine this by putting in some traces in the module
net.sourceforge.dvb.projectx.xinput.topfield_raw.RawInterface and found it
was terminating at the statement: Class rawReadClass =
Class.forName("RawRead");
Attached is the program output using the gij -verbose option.
http://www.nabble.com/file/6231/test-gij-orig-jar.txt test-gij-orig-jar.txt
I searched for known problems with Class.forName but they all seem to be
related to static libraries but here I am just executing a jar file.
--
View this message in context: http://www.nabble.com/gij-on-windows---problem-with-Class.forName-tf3167825.html#a8787760
Sent from the gcc - java mailing list archive at Nabble.com.
More information about the Java
mailing list