Problems installing JDK 1.1.7 and JDK 1.2 pre-v2

1999-08-19 Thread Dimitris Terzis
Hi guys... I am getting all sorts of problems with JDK 1.1.7 and JKD 1.2 installation in Linux (I have a Pentium II/300 system with RedHat 5.2 and libc-2.0.7.so). I try to run the programs (either in binary or script form) from the bin/x86/native_threads directory each time (by the way, examining

RE: Problems installing JDK 1.1.7 and JDK 1.2 pre-v2

1999-08-19 Thread Dimitris Terzis
Nathan, > > I try to run the programs (either in binary or script form) from the > > bin/x86/native_threads directory each time (by the way, examining the > > scripts I see references to sun.tools.* classes - are they included in the > > libraries?). > > Don't try to run from those directories.

RE: Problems installing JDK 1.1.7 and JDK 1.2 pre-v2

1999-08-23 Thread Dimitris Terzis
Hi guys... I have finally managed to install JDK1.1.7_v1a and JDK1.2... You won't imagine what I was doing wrong! As I previously wrote, I did download the proper archives (all of them, and not only the native threads one, as somebody suggested). Also, I wasn't running from the /bin directory (wh

RE: Problems installing JDK 1.1.7 and JDK 1.2 pre-v2

1999-08-23 Thread Dimitris Terzis
Hello again... I think I 've solved most of the silly problems I was experiencing, thanks for your help and advises... The only one remaining is a NullPointerException I 'm getting when launching my application from JDK 1.1.7. It has to do with the initial JFrame. The interpreter resolves this t

RE: Problems installing JDK 1.1.7 and JDK 1.2 pre-v2

1999-08-23 Thread Dimitris Terzis
> +I know have a silly problem with JDK 1.1.7. Namely, while I can compile my > +application (containing several .java files organised in a number of > +packages), when I attempt to run it, it doensn't run! My environment is > + $JAVA_HOME = > + $CLASSPATH = .:$JAVA_HOME/lib/classes.zip:$

Native library problem

1999-08-31 Thread Dimitris Terzis
Hi guys... Someone give a hint please, because I 'm next to madness and I don't want to break my machine... I have a very-very simple native library, say test_lib, which I try to load with System.loadLibrary("test_lib"). The £$^£@& compiler insists that it's not in java.library.path. I printed ou

RE: Native library problem

1999-08-31 Thread Dimitris Terzis
Hi... > The beginning of the name also matters. That call will expect to load a > library named "libtest_lib.so". Other requirements: build the sources > with the "-fpic" flag, and link the library with the "-shared" flag. Thanks! About 5 minutes ago, I tried the lib prefix and it worked (I mean

Native thread behaviour

1999-09-02 Thread Dimitris Terzis
Hi guys... Playing with native methods, I have created a very basic program that creates a TCP/IP socket from Java by using the corresponding C call (i.e., socket()). My code (excluding error handling parts) is something like: // File NativeSocketApplication.java public class NativeSocketApplic

RE: OT: Mailing list control

1999-09-02 Thread Dimitris Terzis
Guys... I have no connection to the blackdown people but, as a volunteer in some social activities, I believe we should be a bit more tolerant... Regarding the issue of "read-only" lists presented in this thread, I can't understand why there are still out there at the first place! For the exchan

Native thread behaviour

1999-09-05 Thread Dimitris Terzis
Hi guys... Playing with native methods, I have created a very basic program that creates a TCP/IP socket from Java by using the corresponding C call (i.e., socket()). My code (excluding error handling parts) is something like: // File NativeSocketApplication.java public class NativeSocketApplic

Java Linux ATM Sockets

1999-10-06 Thread Dimitris Terzis
Hi guys... As part of my (Nortel Networks-funded) PhD work, I have spent a considerable amount of time for more than a year now playing with Java support for ATM. Because I haven't been able to find anything standard, I ended up creating my own implementation of Java sockets for Linux ATM. So, I

Problem with exec()

2000-01-13 Thread Dimitris Terzis
Title: Problem with exec() Hi guys... I am trying to launch an external application from my Java program, using exec(). I do Runtime.getCurrentRuntime() and then try to exec() the application (not internal command), providing a properly created path. My application has a GUI which is never

Passing file descriptors around

2000-01-13 Thread Dimitris Terzis
Title: Passing file descriptors around Hi guys... I use a Java application to launch an external program, via exec(). My Java application opens a socket which I want to pass to the external application and use it there. I have tried the easy way of passing the file descriptor (i.e., the int