01-30-2009
You have not told us what is the error you came across.
Are you aware of Java Native Interface (JNI) ? JNI helps you invoke such methods which are written in C++/Java from Java/C++.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi again all,
i am still trying to get my old win95 pc to become a unix/linux pc, running with redhat.
i managed to install it on my old win32/fat partition (which is the whole hdd), but when i did this it said it may result in lower operating speed, but i couldn't manage to create a linux native... (2 Replies)
Discussion started by: gan
2 Replies
2. UNIX for Advanced & Expert Users
hi all
i have a unix machine (FBD). I have Also installed java of Version (j2sdk1.4.1_07) on unix machine. Now i
want to Call C Native function in Java Which is declared as Native. i am doing this by following steps:
1) Making Echo.java File Which is having The following lines of code.... (5 Replies)
Discussion started by: sbeyonduf007
5 Replies
3. AIX
Hi folks,
does anybody have a link to a documentation how to implement native MPIO on AIX? We are using EMC PowerPath and Datacore SanSymphony/Cambex for this so far and I wasn't able to find a good description on that topic. All I know so far is that mkpath, chpath and lspath are used to... (3 Replies)
Discussion started by: zaxxon
3 Replies
4. Programming
Hi,
I am working with java and C/C++.In my java code I am using the native method to work with C/C++.So I am getting some error in C/C++ source code which I am not able to find it because It is throwing the only java null Exception....
Is there any way by which I can see the error in java console... (0 Replies)
Discussion started by: smartgupta
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
as my thread has been moved to Debian.
I don't run Debian machine.
My machine is Linux embedded router - mipsel.
Sources come from Debian, but Dialog sources are GNU,
so no Debian specific.
Native compilation vs. crosscompilation,
exactly to let you know, that I don't run Debian... (2 Replies)
Discussion started by: jack2
2 Replies
6. Solaris
After a memory upgrade all network interfaces are misconfigued. How do i resolve this issue. Below are some out puts.thanks.
ifconfig: plumb: SIOCLIFADDIF: eg000g0:2: no such interface
# ifconfig eg1000g0:2 plumb
ifconfig: plumb: SIOCLIFADDIF: eg1000g0:2: no such interface
# ifconfig... (2 Replies)
Discussion started by: andersonedouard
2 Replies
7. Android
Project closed. (1 Reply)
Discussion started by: qzxcvbnm
1 Replies
GJAVAH(1) GNU GJAVAH(1)
NAME
gjavah - - generate header files from Java class files
SYNOPSIS
gjavah ...
DESCRIPTION
The gjavah program is used to generate header files from class files. It can generate both CNI and JNI header files, as well as stub
implementation files which can be used as a basis for implementing the required native methods.
OPTIONS
-d DIR
Set output directory.
-o FILE
Set output file (only one of -d or -o may be used).
-cmdfile FILE
Read command file.
-all DIR
Operate on all class files under directory DIR.
-stubs
Emit stub implementation.
-jni
Emit JNI stubs or header (default).
-cni
Emit CNI stubs or header (default JNI).
-verbose
Set verbose mode.
-force
Output files should always be written.
Class path options:
-classpath PATH
Set the class path.
-IDIR
Add directory to class path.
-bootclasspath PATH
Set the boot class path.
-extdirs PATH
Set the extension directory path.
Standard options:
-help
Print help text, then exit.
-version
Print version number, then exit.
-JOPTION
Pass argument to the Java runtime.
BUGS
SEE ALSO
javac(1), ...
AUTHOR
0.98 2010-07-05 GJAVAH(1)