![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to compile from source code? | wrapster | UNIX and Linux Applications | 1 | 05-27-2008 04:03 PM |
| compile java with GUI on unix system/putty | finalight | High Level Programming | 0 | 05-22-2008 04:41 AM |
| Compile a code for running on boot | d4n1l0d | Filesystems, Disks and Memory | 2 | 08-14-2006 02:44 PM |
| How to call Java classes/methods from ksh | girish.sh | Shell Programming and Scripting | 17 | 06-23-2006 06:04 AM |
| Unable to compile ANSI compatible code on HP-UX | jyotipg | HP-UX | 9 | 10-18-2001 10:02 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
hi
there is example (on link given below )of such code that contains java class reference in c++ program. http://slackware.cs.utah.edu/pub/sla...-Monitor-HOWTO I am new in linux environment. and not able to compile it. when i compile it through gcc it gives error regarding java classes like StringTokenizer. plz tell how i can compile such code. |
|
||||
|
I can't find any references to Java stuff at the link you mentioned. By the way, the code is C, not C++.
I'm not sure if that is what you meant, but integrating Java and C/C++ code involves the Java Native Interface (JNI). I was once engaged in heavy JNI work about 6 years ago at college but have almost entirely forgotten most of it, because I have forgotten most of C/C++ myself. The coverage of JNI has been stripped of the Sun Java tutorial for many years, probably due to lack of interest. If you want to find more information, you will need to search for older documents. I dug this up in an early version of the Java tutorial: Integrating Native Code and Java Programs Good luck, because it is very easy to crash the JVM with JNI. |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|