interesting the things people do. i myself have not tried what ur doing, but i suppose it is suppose to work. i'll have a look see. i suspect that it is mainly a prob trying to find where the root dir to the lib.so are, there is no libdl function that will do it . ( i suspect ). a hack was made, and it appears u got caught. u got more of main() code before InitArgs() ?? i'd be curious as to how u linked - last time i tried i got link probs ( as i remem ) gat Eric Ding wrote: > Hi, > > I'm working on porting a program (subset of Applixware) that uses JNI > calls which works well on Linux/Intel, but crashes on my Linux/Alpha > RedHat 5.1 system. I've linked with the libjava.so shared library that > comes with the Linux/Alpha JDK port, and then in main() I do > > vm_args.version = 0x00010001; > JNI_GetDefaultJavaVMInitArgs(&vm_args); > > On that call to JNI_GetDefaultJavaVMInitArgs, my program seg faults and > dumps core. In gdb, it says it's at 0x155559cd4dc in OpenCode (), > though I'm not sure if that's accurate or not. Is this a known bug in > the Alpha port? Is the port still being actively developed? > > Thanks, > Eric > -- > Software Development Engineer / [EMAIL PROTECTED] <>< > Applix, Inc. / 112 Turnpike Road / Westboro MA 01581-2842