Go Back   Java Programming Forums > Java Standard Edition Programming Help > Java Native Interface


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-07-2008, 07:11 AM
Member
 

Join Date: May 2008
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
jazz2k8 is on a distinguished road
Default Java Using C++

I am writing a java application by using C++.Can you help me in this.

I came to know that using JNI, Java can Communicate with C++ is used for this.So,if possible, can you provide some links or Sample code.

Thanks for your time and support...

Jazz



Reply With Quote Share this thread on Facebook
Sponsored Links
Java Training from DevelopIntelligence
  #2 (permalink)  
Old 13-07-2008, 02:19 PM
JavaPF's Avatar
mmm.. coffee
 
8 Highscores

Join Date: May 2008
Location: United Kingdom
Posts: 1,543
Thanks: 98
Thanked 92 Times in 85 Posts
JavaPF is someone you want to know!JavaPF is someone you want to know!JavaPF is someone you want to know!

I'm feeling Relaxed
Default Re: Java Using C++

Hey Jazz,

I have never done this myself personally but I have found a couple of links that may help. Check these out:

Java Tip 17: Integrating Java with C++ - Java World

Integrating C++ and Java
__________________
Don't forget to add syntax highlighted code tags around your code: [highlight=Java] code here [/highlight]

Forum Tip: Add to peoples reputation () by clicking the button on their useful posts.
Reply With Quote
  #3 (permalink)  
Old 14-07-2008, 09:16 AM
Member
 

Join Date: May 2008
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
jazz2k8 is on a distinguished road
Default Re: Java Using C++

Thnks for those links...


How to add C Header files in Java???
Reply With Quote
  #4 (permalink)  
Old 17-07-2008, 02:12 PM
JavaPF's Avatar
mmm.. coffee
 
8 Highscores

Join Date: May 2008
Location: United Kingdom
Posts: 1,543
Thanks: 98
Thanked 92 Times in 85 Posts
JavaPF is someone you want to know!JavaPF is someone you want to know!JavaPF is someone you want to know!

I'm feeling Relaxed
Default Re: Java Using C++

This link should help you..

Chapter 5: JNI Technology
__________________
Don't forget to add syntax highlighted code tags around your code: [highlight=Java] code here [/highlight]

Forum Tip: Add to peoples reputation () by clicking the button on their useful posts.
Reply With Quote
  #5 (permalink)  
Old 21-07-2008, 12:40 PM
Member
 

Join Date: May 2008
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
jazz2k8 is on a distinguished road
Default Re: Java Using C++

i am trying to compile a C program in Eclipse IDE with the tutor help here i am attaching the tutor example and the error which i got..

can u help me in this..

Thanks
Jazz
Attached Files
File Type: zip New Folder (2).zip (59.3 KB, 2 views)
Reply With Quote
  #6 (permalink)  
Old 23-07-2008, 11:01 AM
Junior Member
 

Join Date: Jul 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
prijikn is on a distinguished road
Default Re: Java Using C++

Thanks for share the useful links.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




100 most searched terms
Search Cloud
2 dimensional arraylist java 2d arraylist java actionlistener actionlistener in java addactionlistener addactionlistener java convert double to integer java double format java double to integer in java double to integer java drag en drop programmeren java eclipse shortcut keys exception in thread "awt-eventqueue-0" java.lang.outofmemoryerror: java heap space exception in thread "main" java.lang.nullpointerexception exception in thread "main" java.lang.outofmemoryerror: java heap space format double in java format double java get mouse position java java 2d arraylist java actionlistener java double format java double formatting java double to int java double to integer java format double java forum java forums java get mouse position java list to map java mouse position java programming forum java programming forums java programming practice problems java send keystrokes to another application java two dimensional arraylist java.io.ioexception: premature eof java.lang.classformaterror: truncated class file java.lang.outofmemoryerror: java heap space java.util.arraylist jbutton action jbutton actionlistener jtextarea font jtextfield font size jxl.read.biff.biffexception: unable to recognize ole stream programming mutators and generics smack api two dimensional arraylist two dimensional arraylist java unable to sendviapost to url what is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?

All times are GMT. The time now is 02:03 AM.
Powered by vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.