This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

no stacktrace available


soo... i'm attempting to port a largish program to gcj.

on netbsd 2.0... which has a gcc-java-3.3.4 package.

not having ant and not wanting to again figure out how to get make to do what i want, i made a list of all the java files in ~/src (with path names from that point), and built the program with the following:

% gcj --main=com..Server -o ug `cat list`

took a while but it compiles with no warnings or errors. however, when i try to run it i get:

% ug conf/toy.xml
java.lang.ArrayIndexOutOfBoundsException: 3
  <<No stacktrace available>>
^C
%

i'm willing to track this down but i'd like to have a stack trace or something. note that the program appears to hang. well, it's a server but it isn't opening a ServerSocket.

so is there a load flag or an environment something that will get me a stack trace?

btw it seems not to make a difference whether i set LD_LIBRARY_PATH (on netbsd that would be /usr/pkg/gcc3/lib).

should i be trying this on linux first?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]