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
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.
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
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
> +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:$
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
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
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
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
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
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
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
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
13 matches
Mail list logo