From owner-freebsd-java Fri Apr 23 18:44:52 1999 Delivered-To: freebsd-java@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id 0B2EE14CDE for ; Fri, 23 Apr 1999 18:44:39 -0700 (PDT) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id VAA54523 for ; Fri, 23 Apr 1999 21:40:06 -0400 (EDT) Date: Fri, 23 Apr 1999 21:40:05 -0400 (EDT) From: Chuck Robey To: FreeBSD-java@freebsd.org Subject: getting rmic going Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I have to do some compiling of java rmic stuff, and I wrote my basic classes (just enough really to do minimal testing) and tried to run rmic on it, to create the _skel and _stub files. I got an error saying that no library path was set. I hadn't had LD_LIBRARY_PATH set, so I set it, and got: picnic:/usr2/chuckr/doc/cmsc433/p5:182 >rmic -d . ClientImpl Failed to locate native library in path: /usr/lib:/usr/local/lib:/usr/X11R6/lib Aborting. So I stuck the path to the only .so files in /usr/local/java I could find, and retried it: picnic:/usr2/chuckr/doc/cmsc433/p5:182 >rmic -d . ClientImpl Failed to locate native library in path: /usr/lib:/usr/local/lib:/usr/X11R6/lib:/usr/local/java/lib/i386/green_threads Aborting. Hmmm. Oh, this stuff is aout-based. OK, I became root, and set OBJFORMAT to aout, and then ldconfig'ed the green_threads dir in, and verified it with a second ldconfig -r. Tried running rmic again, no change. What am I doing wrong, is rmic working for other folks? Please don't suggest Corba, I didn't pick RMI, my instructor did. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@picnic.mat.net | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message