JNI Section Index | Page 7
How can I use JNI/Java from PERL?
Perlez-Vous Java? Using JPL
Jperl: Accessing Perl from Java
JPL/README
more
I m calling an DLL (written in VC) in java but there is DLL function which uses hWnd as parameter But Java does not support that type. So is there any way to use hwnd in Java? or Some body tell me how to make such complex data type in Java?
HWND is simply an (unsigned) integer or void pointer. In Delphi at is used as a Longword which is an unsigned integer. If you simply use it to pass it on or store it, a normal Java integer should ...more
I want do call with JNI a C-DLL from a Servlet, but I got a java.lang.UnsatisfiedLinkError. As standalone-programm with an application it works perfect. When I analyse System-Calls, I found out, that the DLLs would be called, but the Wrapper-DLL would be closed, before the C-DLL are opened!!!
Hi,
I have following problem with JNI in Servlets.
I want do call with JNI a C-DLL from a Servlet, but I got a java.lang.UnsatisfiedLinkError. As standalone-programm with an application it works pe...more
Where can i take a peek at the source code for java.exe?
http://guma.ii.fmph.uniba.sk/jdk/launcher/java.c.html
The full source is available from SUN at http://www.sun.com/software/communitysource/java2/more
I am writing an jni application in which i use java objects and these objects are created at run time,i don't know the identifiers in it. how can i access them from the native method?
Assuming you create these objects from within your Java code, you'll have to get references to them in the same way you would do from within Java, ie. a variable referencing the object. Or, if you...more
It appears that the JNI routine "FindClass()" is incapable of finding those classes that inherit from another. Is this true? If not, why would "FindClass()" return success on some classes and not others within the same directory?
Make sure that you are using the fully qualified name for the class. For example, if you have a class named SomeClass in the package org.somepackage then make sure you are looking for org.somepac...more
Hi, I am working with some very simple java code (with JDK1.3), but for some reason the javah command is not working and presenting the error:
Hi, I am working with some very simple java code (with JDK1.3), but for some reason the javah command is not working and presenting the error:
"Class MyClass could not be found"
(I alrea...more
I have an object that is calling a JNI function which written in C.
I have an object that is calling a JNI function which written in C.
Obviously, one of the parameters passed is a reference to the object
that called the function of type "jobject". Using...more
I have an object that is calling a JNI function which written in C.
I have an object that is calling a JNI function which written in C.
Obviously, one of the parameters passed is a reference to the object
that called the function of type "jobject". Using...more
Has anyone developed a JNI class to create custom borders (masked edges) on a java.awt.Window (or better yet: javax.swing.JWindow)?
Not exactly what you asked for, but there is an artile in javaworld that describes how to do custom windows, eg. round windows;
http://javaworld.com/javaworld/javatips/jw-javatip86_p.html
You ca...more
How can I access variables of the windows registry from my Java component residing on a weblogic server?
Use the trustice jnireg library. More information is at http://www.trustice.com/java/jnireg/.
i am working on a JExplorer using swing. When i click a particular file, the appropriate application should be opened. For example, for filename.doc windows word application should be opened. This seems possible,if i access windows registry. please let me know whether any Java API is available for this or have i to go for JNI.
You will need a jni library, there is no standard java interface. There is a library called jnireg available at http://www.trustice.com/java/jnireg/ that does this.
Using this library, you can s...more
Is there any way to have a Java program represented as an icon on Windows System Tray?
Is there any way to have a Java program represented as an icon on Windows System Tray ?
Are there tools to package existing C++ objects as Java Beans?
VisualAge for Java C++ Access Builder
cxxwrap
more
Is there an Ada binding for JNI?
Check out Cafe 1815, Cafe 1815 is an Ada binding to the Java Native Interface. This binding makes JNI programming quite a bit easier than with Sun's C/C++ bindingmore