Re: Java and Linux

1999-10-11 Thread dave madden
=>From: [EMAIL PROTECTED] =>... =>Q1: What version of Java (1.1 or 1.2) does JVM inside Blackdown JDK package =>support? Both versions are available. =>Q2: A Java application was developed on Windows NT 4.0 (Intel) by using =>VisualCafe 3.0. Can we simply move all class files of the appli

Re: "proper" place for the .so native libraries

1999-10-05 Thread dave madden
=>From: "Ted Neward" <[EMAIL PROTECTED]> =>... =>Does "had good luck" mean without having to modify LD_LIBRARY_PATH? Or =>/etc/ld.so.conf? Yes. If you run the java script with "sh -x" (you have to give it the full path to the script, too, IIRC) you'll see that it calculates a CLASSPATH and a

Re: "proper" place for the .so native libraries

1999-09-30 Thread dave madden
=>From: Brett Smith <[EMAIL PROTECTED]> =>... =>Where is the "proper" location for the *.so native library files? I've had good luck putting them under: .../jdk-1.2/jre/lib/i386/ appropriate platform here! =>One JNI tutorial said the following: =>LD_LIBRARY_P

Re: Runtime problems

1999-09-27 Thread dave madden
=>From: "Hartnett" <[EMAIL PROTECTED]> =>... =>"/usr/jdk117/bin/../bin/checkVersions: /tmp/ldd.out.858" Permission denied" Do you know why you'd be getting a "Permission denied" error related to this file? I'd check the permissions on /tmp: ls -lgd /tmp You should see: drwxrwxrwt

Re: CAT command

1999-09-27 Thread dave madden
=>> From: Juan Carlos [mailto:[EMAIL PROTECTED]] =>> =>> ¿How to execute an linux command, to obtain any =>> information, using Java? (ex: the CAT command). =>> I have Red Hat version 5.3, and jdk1.1.5. I suspect you're asking: In a Java program, how do I execute an external program a

Re: Out of memory in JavaDoc in Java 1.2prev2

1999-09-24 Thread dave madden
=>From: Rachel Greenham <[EMAIL PROTECTED]> =>... =>I can't create a Javadoc of my library! I get out of memory errors. The =>computer has loads of memory left over. "I can't be overdrawn -- I still have checks left!" :-) =>Any ideas what I can do about this? The http://java.sun.com/produc

Re: Float -> Double conversion bug ?

1999-09-24 Thread dave madden
Juergen Kreileder <[EMAIL PROTECTED]> suggests: =>Don't use '==' to compare floating point values, instead compare =>their difference against a small value: => =>double epsilon = 0.0001; =>double a, b; =>... =>if (a - b < epsilon) ... Actually, you probably want to say:

[Q] CLASSPATH, JAR searching, etc

1999-09-20 Thread dave madden
Hi. I'm fairly new to Java, but stumbling along quite nicely, thank you; but I'm confused about how the VM finds stuff mentioned in CLASSPATH. Is there an "everything you wanted to know" FAQ, the kind of thing that when you get done reading it, you wish you hadn't asked? I guess that if you give