Re: java.lang.UnsatisfiedLinkError: native method java/security/AccessController.doPrivileged not found

1999-09-14 Thread Nathan Meyers
Java Plug-in is not available for Linux. Nathan > Hello, > > running a specific applet on Linux gives the following error > in the Netscape Java Console: > > warning: running 1.2 version of SwingUtilities > # Applet exception: error: java.lang.Unsatisfie

java.lang.UnsatisfiedLinkError: native method java/security/AccessController.doPrivileged not found

1999-09-14 Thread Dr. Edmund Mergl US/EA4 60/2/146 #44006
Hello, running a specific applet on Linux gives the following error in the Netscape Java Console: warning: running 1.2 version of SwingUtilities # Applet exception: error: java.lang.UnsatisfiedLinkError: native method java/security/AccessController.doPrivileged not found: /usr/lib/netscape

[Fwd: Re: Calling Same Native method more than once.]

1999-08-04 Thread Jacob Nikom
Original Message Subject: Re: Calling Same Native method more than once. Date: Wed, 04 Aug 1999 10:46:06 -0400 From: Jacob Nikom <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Organization: MERL To: [EMAIL PROTECTED] References: <[EMAIL PROTECTED]> <[EMAIL PROT

Calling Same native method more than once.

1999-08-04 Thread Nagaraj S.B
Hi all, I am facing problem in calling a native method more than once in java. The native method('C') basically implements socket part to collect some data from other machine. JDK 1.2pre-v2 (glibc2.1), Linux : RedHat6.0. It gives the correct value once, but for the second time it is

Re: Calling Same Native method more than once.

1999-08-03 Thread Nagaraj S.B
created separate one? I am calling it from the main. Nagaraj > > Jacob > > "Nagaraj S.B" wrote: > > > Hi all, > > Thanks for helping me in interfacing C with Java.I am facing a problem > > in executing my program(java) which calls a 'C' f

Re: Calling Same Native method more than once.

1999-08-03 Thread Jacob Nikom
S.B" wrote: > Hi all, > Thanks for helping me in interfacing C with Java.I am facing a problem > in executing my program(java) which calls a 'C' function. > I am calling 'C' native method for every 10 secs in my 'java' program , > but af

Re: Calling Same Native method more than once.

1999-08-03 Thread Robert Perry
I have call the same native method from several threads under several different JDK's and have not had any such problems. I am not sure that Blackdown's 1.2 with native threads is in the list of JDK's I have used. Not, that I think the JDK is the problem I just do not want

Calling Same Native method more than once.

1999-08-03 Thread Nagaraj S.B
Hi all, Thanks for helping me in interfacing C with Java.I am facing a problem in executing my program(java) which calls a 'C' function. I am calling 'C' native method for every 10 secs in my 'java' program , but after first loop, my program(java) exits by g

Problem with native method parameter (jstring)

1999-04-30 Thread Denise Stringhini
Hello, I'm trying to port my Java 1.2 Solaris native method to Java-Linux 1.2 pre1. The program is running, but the string parameter that I pass to native method isn't correctly converted. Here is a piece of code: JNIEXPORT void JNICALL Java_CmdDist_startcons (JNIEnv *env, j

Re: Problem with native method parameter (jstring)

1999-04-30 Thread Denise Stringhini
Hello again, Sorry, after I sent this message I saw that was a "copy/paste" problem. The "release" function is at wrong place... Thanks anyway, Denise. On Fri, 30 Apr 1999, Denise Stringhini wrote: > Hello, > > I'm trying to port my Java 1.2 Solaris nativ

RE: native method

1999-01-18 Thread Jason Dillon
I found this very useful: http://java.sun.com/docs/books/tutorial/native1.1/index.html --jason On 15-Jan-99 Jinpeng Xie wrote: > hi, > > I want to implement file permission in JAVA for linux. I know > Java can call c function or system functions. However, I don't know > the de

native method

1999-01-15 Thread Jinpeng Xie
hi, I want to implement file permission in JAVA for linux. I know Java can call c function or system functions. However, I don't know the detail. Can you direct me in info or a book? JInpeng

RE: SEGV from iostream in native method on Linux, FreeBSD, not Windoze

1998-09-15 Thread A . KLOS
EGV from iostream in native method on Linux, FreeBSD, not Windoze | Date: Monday, September 14, 1998 11:01PM | | Hi- | | Apologize if this is a FAQ. It seems that a "Hello World" JNI demo (see | below .sig) that uses iostreams for output give a SEGV on Linux and | FreeBSD, but not Windoze.

Re: SEGV from iostream in native method on Linux, FreeBSD, not Windoze

1998-09-14 Thread Robert Lynch
Hi Kevin- Thanks for taking a look, but... You apparently forgot the "-jni" switch for javah. You generated a "test.h" for the old JDK 1.0 native interface, not the 1.1 JNI... Bob L. Kevin B. Hendricks wrote: > Hi, > > I tried your example code and it did not seg-fault. I received an > uns

Re: SEGV from iostream in native method on Linux, FreeBSD, not Windoze

1998-09-14 Thread Kevin B. Hendricks
Hi, I tried your example code and it did not seg-fault. I received an unsatisfied link error. Upon closer examination, the test.h file generated by javah did not seem to be correct (i.e. it did not match your declaration or parameter list in hello.C Using nm on libhello.so showed this to be th

SEGV from iostream in native method on Linux, FreeBSD, not Windoze

1998-09-14 Thread Robert Lynch
Hi- Apologize if this is a FAQ. It seems that a "Hello World" JNI demo (see below .sig) that uses iostreams for output give a SEGV on Linux and FreeBSD, but not Windoze. I didn't have the compiler to build a .dll to see the latter case with my own eyes, but someone did it for me and it works on

Re: [Q]: native method

1998-07-17 Thread Robert Lynch
[posted & e-mailed] Takeru Tamayama wrote: > Hi, >I want to use IrDA on linux & java. >but, I have a problem in making native method. > This is very easy test program, bat don't work. > My jdk is jdk-libc5-1.1.5-v7 > > I did following commands. >

Re: [Q]: native method

1998-07-17 Thread Takeru Tamayama
I did both of following that, but didn't work. why does it work ? ln -s libHelloWorld.so.1.0 libHellWorld.so.1 ln -s libHelloWorld.so.1.0 libHelloWorld.so - takeru [EMAIL PROTECTED]

[Q]: native method

1998-07-16 Thread Takeru Tamayama
Hi, I want to use IrDA on linux & java. but, I have a problem in making native method. This is very easy test program, bat don't work. My jdk is jdk-libc5-1.1.5-v7 I did following commands. 1.javac HelloWorld.java 2.javah -jni HelloWorld 3.gcc -fPIC -I/usr/local/j

Native method problems, 1.1.5v7 glibc

1998-05-24 Thread Dan Fasulo
. Yesterday, I thought I would try once again to use the latest glibc JDK, 1.1.5v7. I downloaded it, I grabbed the latest update of glibc off the RedHat site, and recompiled all of my native code, linking it to glibc. Even under this version, the program still crashes as soon as it tries to e

Native-method about SNMP

1998-05-18 Thread tsjeong
Hi, I'm a student interested in java-agent now. Does anyone know the native-method library including system, ip,... group in linux, Windows95 or -NT with pentium PC available freely ? If it is, that is very helpful to everyone intereted in java-agent. Thanks. TS Jeong.