473,386 Members | 1,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

JNI: call C-main program from Java

I have a C-program which calls Java functions through JNI.
The C-part runs okay, and I want to debug the Java code.
For that reason, I want to start the Java debugger and then start the
C-main program through JNI. After that I hope I can set
breakpoints within the Java part and start debugging.

In the documents I saw that "System.LoadLibrary()" can load
only DLL's and shared object, but no main-program.

Thanks for any help,
Josef
Jul 17 '05 #1
0 3403

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: fareeda | last post by:
hi, I always get an exception "java.lang.UnsatisfiedLinkError" when I use "cout" in my native function. It works - when i use "printf" - other C++ features Here is an example of the native...
4
by: Boris Tabenkin | last post by:
I am wondering of anyone knows the answer to the following. I have a C++ library that is loaded in the VM by JNI. The library throws C++ exceptions. This work fine on Windows, but on Solaris there...
0
by: Joe Blow | last post by:
I am wondering of anyone knows the answer to the following. I have a C++ library that is loaded in the VM by JNI. The library throws C++ exceptions. This work fine on Windows, but on Solaris there...
9
by: cppaddict | last post by:
In JNI header files generated by javah, what is going on with the 'extern "C"' which is inserted around the native method when "cplusplus" is defined. I would think you would only need extern...
0
by: Brzezi | last post by:
Hi. Do you know any library that wraps/opaques functions from jni.h into easy in use classes/objects? Thanks for help. Pozdrawiam Brzezi --
4
by: John | last post by:
Hi all, This really is quite an urgent matter. I have a page with multiple, dynamically-loaded user controls and when a user clicks on a button, the whole form is submitted. Now at this stage...
13
by: mitchellpal | last post by:
i am really having a hard time trying to differentiate the two..........i mean.....anyone got a better idea how each occurs?
1
by: JR | last post by:
Does anyone know of any issues accessing environment variables in c++ using getenv() when the C++ is accessed through JNI?
0
by: bpr | last post by:
i want to know list of softwares that are installed in my pc using jni interface its great , if any one provide me with dll's of a cpgm which does the work....
3
by: cberthu | last post by:
Hi all, Is it possible to have two connects in the same rexx script to different DB's? I have to get data form on DB (with specifics selects and filter out some values with RExx) and save the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.