From mbresnah at visi.com Mon Sep 2 20:35:45 2002 From: mbresnah at visi.com (Mike Bresnahan) Date: Mon Jan 17 14:29:37 2005 Subject: [TCLUG-DEVEL] LD_LIBRARY_PATH In-Reply-To: <20020901032957.GC1689@mtu.net> Message-ID: I'm writing a JVMPI profiler, but that doesn't actually matter. The overloads of Runtime.exec, that have the 3rd environment argument, do not pass the current environment to the child process. Thus if you want to add anything to the environment (e.g. _JAVA_OPTIONS=-Xrunmjp), you have to also add anything else you need (e.g. LD_LIBRARY_PATH). It kinda sux. In general I've found Java to be bad at creating a managing child processes, but I spose that goes with the territory of being portable. Mike > -----Original Message----- > From: Jon Schewe [mailto:jpschewe@mtu.net] > Sent: Saturday, August 31, 2002 10:30 PM > To: Mike Bresnahan > Subject: Re: [TCLUG-DEVEL] LD_LIBRARY_PATH > > > What kind of Java application are you writing? One of the > reasons to use Java > is that you don't have to mess with this stuff. Otherwise you're > generally > better off writing it in C. You do realize that Java is able to > lookup system > libraries on its own too? > From dutchman_mn at charter.net Fri Sep 6 14:15:08 2002 From: dutchman_mn at charter.net (Perry Hoekstra) Date: Mon Jan 17 14:29:37 2005 Subject: [TCLUG-DEVEL] Java VM Problem Message-ID: <200209061415.08575.dutchman_mn@charter.net> I am having trouble getting the Java VM to run on my box. Almost every time I execute a Java-based program, the JVM croaks. The following is an example: Unexpected Signal : 11 occurred at PC=0x40122120 Function name=oop_follow_contents__13instanceKlassP7oopDesc Library=/opt/jdk1.3.1_02/jre/lib/i386/client/libjvm.so I have tried multiple VMs 1.3.* and 1.4.* with no joy. They all die somewhere in libjvm.so What have I done so far: - Reinstalled RedHat 7.3 - Done a memtest against my memory (thinking my memory was going bad) - Replaced my memory module Any ideas on other things I can try to resolve my issues? The box is an Athlon 1.4 running with 512 MB of memory on a Abit KT7A-RAID motherboard. -- Perry Hoekstra E-Commerce Architect Talent Software Services perry.hoekstra@talentemail.com