odd gcj/swt directory launch difficulty
David Young
dyoung@itsa.ucsf.edu
Sun Jul 18 22:36:00 GMT 2004
Hi GCJ folks,
I've been using Mohan Embar's kindly provided thisiscool-gcc
distribution for gcj/swt development with great results. Recently I
upgraded to the 3.4 package (build 20040607) and encountered an
interesting directory error. After my program successfully compiled, I
moved it and swt-win32-3054.dll to a new directory named "win-test" and
ran the application, only to receive a NullPointerException once the
code reached the first SWT reference. The interesting part is that when
I changed the name ot the "win-test" directory to "wintest", the program
worked fine.
After further trial-and-error tests, I've found that the program won't
run so long as the directory that houses it has between 8 and 10
alphanumeric characters, inclusive.
Is this normal behavior, or somehow peculiar to my system? The upside
is that the behavior seems to have disappeared in thisiscool-gcc-3.5
(build 20040630).
-David
More information about the Java
mailing list