Search the web
Sign In
New User? Sign Up
jnative-l · Java Native Interface (JNI)
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 73 - 103 of 362   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
73
Hello all, Can anybody gave me a definitive answer aboout thoses 2 questions? 1) If I have a global variable in a SharedObject and that 2 programmes use this...
Lionel Tinguely
lti@...
Send Email
May 1, 1998
12:33 pm
74
... (By global variable, I assume you mean a public static member variable). If the two programs are running in different Java VMs, then each program will have...
Buzzy Brown
buzzy@...
Send Email
May 4, 1998
8:49 pm
75
Hiya, 'Scuse me if this is a dup... I don't think it is, but I'm not sure. I'm having trouble getting Navigator 4 to load the shared libraries containing my...
jmr
jxski@...
Send Email
May 5, 1998
2:19 am
76
... Ok, that's different :-). **Usually**, when a shared object or DLL is loaded by the operating system, each process gets its own copy of the data sections...
Buzzy Brown
buzzy@...
Send Email
May 5, 1998
6:00 pm
77
I am trying to find a class with FindClass inside of a jar file. It works fine with ZIP files, as well as plain .class fiiles, no luck with JAR files. Rob...
Jim Laredo
jlaredo@...
Send Email
May 6, 1998
6:05 pm
78
I use the JNI "FindClass" running from a JAR file (digitally signed no less) and it works fine (Win32 tested only). Just so you know it does work in at least...
Jordan Bigel
jordanb@...
Send Email
May 6, 1998
6:44 pm
79
Thanks for the input. Which JDK where you running on? Would it be possible to just see the code snippet that you used? thanks, JIm....
Jim Laredo
jlaredo@...
Send Email
May 6, 1998
8:31 pm
80
I've run this code on Win32 (95 & NT) using JDK 1.1.4 and 1.1.5, and, in Netscape 4.04 (with patch) and 4.05 (preview w/jdk patch builtin). jclass errorClass =...
Jordan Bigel
jordanb@...
Send Email
May 6, 1998
9:27 pm
81
... On NT, Win95, Solaris, AIX, OS/2, and HPUX, FindClass() works just fine with JAR files. JDK versions are 1.1.1 through JDK 1.2beta4. As long as the...
Joseph Millar
joe@...
Send Email
May 7, 1998
5:27 am
83
This is probably in the FAQ [if one existed], but, quite simply, which VMs support JNI [and which do so reliably]? [Please mail direct to me, and I'll post a...
Andy Wilcock
andrew_wilcock@...
Send Email
May 7, 1998
5:30 pm
84
Hello folks. I am working on an application in JAVA that has a class/method layer that is a mirror of legacy C++ classes. I have written JNI code that works...
John Hughes
johnh@...
Send Email
May 7, 1998
10:48 pm
85
Hi John, I don't do mucy/any work on solaris with JNI, but I do a lot of work with JNI on WIN32 platforms. I had a similar problem. What I chose to do, was...
Fred Welland
Fred_Welland@...
Send Email
May 8, 1998
11:51 am
86
... <snip> ... I'm working on a project with similar needs. Care to share the solutions for win32? thanks! chris kristof...
chris kristof
ckristof@...
Send Email
May 8, 1998
2:34 pm
87
Actually, I have been using this technique for about 10 months...and my current solution is to do nothing. I haven't had an occurence of Win95 or NT...
Fred Welland
Fred_Welland@...
Send Email
May 8, 1998
2:55 pm
88
OK, here's a really pedestrian question: how do you folks handle constants across the Java/JNI boundary? Is there a way to define them once and use them in...
Paul_Kendall@...
Send Email
May 9, 1998
1:47 am
89
... I haven't had this particular problem yet, however since the "constants" used in Java code are really static final fields of java classes, you could use...
Buzzy Brown
buzzy@...
Send Email
May 12, 1998
3:33 pm
90
Hi, I have some troubles calling a native C function in a DLL from an applet. This function uses some others DLL. Actually, my applet works fine if the .class...
Lionel Graff
lgraff@...
Send Email
May 18, 1998
8:26 am
91
... Any class that has a classloader is explicitly disallowed from using native methods unless it it signed and the SecurityManager has an assessTrust() method...
Joseph Millar
jmillar@...
Send Email
May 18, 1998
12:53 pm
92
I have successfully been able to invoke the JAVA VM using C++ code under WIn32 and Solaris. However, when I tried that same code under AIX 4.2 (JDK 1.1.4), it...
Jobalia, Meenal
Mjobalia@...
Send Email
May 18, 1998
7:12 pm
93
I have a java program that loads a shared library (which I have built successfully) using the below compile and link options: $(LIBRARY): ...
Jobalia, Meenal
Mjobalia@...
Send Email
May 20, 1998
6:06 pm
94
Subject: native methods with internal state? Date: Wed, 20 May 1998 15:36:58 -0700 From: "Bruce W. Char" <bchar@...> I have recently come to Java...
Sean C Sullivan
sullis@...
Send Email
May 20, 1998
10:50 pm
95
You should be just fine. I am making calls into our C code all the time and the data structures created in the C code are just fine. I just return pointers...
John Hughes
johnh@...
Send Email
May 21, 1998
1:02 am
96
If the Maple code is one of those terribly clever systems that implements its own memory management instead of just using malloc/free then it may succeed in...
Thomas Maslen
maslen@...
Send Email
May 21, 1998
1:33 am
97
... and the ... pointers as ... seems to ... I have had no problem in this area either Sean. However, I remember reading a thread about a problem passing back...
Jordan Bigel
jordanb@...
Send Email
May 21, 1998
6:17 pm
98
Java Tip 54: Returning data in reference arguments via JNI http://www.javaworld.com/javaworld/javatips/jw-javatip54.html Summary This tip shows how a C/C++...
Sean C Sullivan
sullis@...
Send Email
May 22, 1998
1:58 am
99
In nav4: I've found that only classes loaded from the local disk can call load/loadLibrary. Once loaded, other classes (even unsigned netloaded classes) can...
jmr
jxski@...
Send Email
May 22, 1998
5:03 pm
100
Hi! Jdk1.1.6, winnt 4.0, Visual C++ generated DLL. I'm implementing a Java application calling DLL functions with JNI. I encountered following problem in...
Vedovato Paolo
paolo.vedovato@...
Send Email
May 28, 1998
7:47 am
101
Hi all, I have problem making the JNI calls when package is used in the wrapper class, that is the one that is used to generate the jni header file. The files...
Ng Kok Leong
klng@...
Send Email
May 28, 1998
8:49 am
102
... [snip!] You have to realize that when you place a class in a package you have to regenerate the JNI header and change your native code to match the new...
Joseph Millar
jmillar@...
Send Email
May 28, 1998
7:02 pm
103
... If control was passed into that native code, then it SHOULD have been able to call the DLL successfully. Do you know where the thread hung? If your native...
Buzzy Brown
buzzy@...
Send Email
May 29, 1998
3:09 pm
Messages 73 - 103 of 362   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help