This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
odd gcj/swt directory launch difficulty
- From: David Young <dyoung at itsa dot ucsf dot edu>
- To: GCJ <java at gcc dot gnu dot org>
- Date: Sun, 18 Jul 2004 15:36:21 -0700
- Subject: odd gcj/swt directory launch difficulty
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