Stewart Stremler wrote:
begin quoting Paul G. Allen as of Mon, Apr 03, 2006 at 11:39:11AM -0700:
[snip]
On a related note, I had a Java COMM API working on my laptop under FC3. I
upgraded to FC4 and now it fails. I get an error when it tries to load a
supporting .so file saying java.library.path does not contain the .so file.
The stupid file was never moved, and for the life of me I can't figure out
how to edit (or even check) java.library.path in Linux. At one point I had
a link to a web page that described how to fix such a problem, but now I
can't find it. (Of course I'd like to know why upgrading to FC4 would break
it in the first place!)
It's probably too late to run this little progam on the old system...
public class Dump {
public static void main( String [] args ) {
String target = "java.library.path";
if ( args.length > 0 ) target = args[0];
System.out.println(target +" = '"+ System.getProperty(target) +"'");
}
}
Just thought I'd send a follow-up on this. I was finally able to get back to this issue
today. Using the code above I was able to put the serial library file in the Sun library
path. Everything works now. I still wonder why the path either changed after the update or
the .so file was deleted from the path.
Thx,
PGA
--
Paul G. Allen
Owner, Sr. Engineer, BSIT/SE
Random Logic Consulting Services
www.randomlogic.com
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list