[723] in java-interest

home help back first fref pref prev next nref lref last post

how to call native C++ code?

daemon@ATHENA.MIT.EDU (Jeff White)
Mon Jul 17 17:23:21 1995

From: Jeff White <jsw@cs.brown.edu>
Date: Fri, 14 Jul 1995 16:10:05 -0400
To: java-interest@java.Eng.Sun.COM
Reply-To: jsw@cs.brown.edu


Has anyone been able to implement native code in C++, or in C that
calls C++ code? Everything compiles  allright, but then when I go to
run it I get a

/pro/java/java-alpha3/bin/java demo.Demo 
java.lang.UnsatisfiedLinkException printhello
        at demo.Demo.<init>(Demo.java:8)
        at demo.Demo.main(Demo.java:13)

If anyone successfully done this, please email me and tell me how you
did it.   

thanks,
jeff

 --------------------------------------------------------------------
| Jeff White jsw@cs.brown.edu http://www.cs.brown.edu/people/jsw/    |
| "So you run and you run to catch up with the sun but it's sinking  |
| Racing around to come up behind you again" - pink floyd            |
 --------------------------------------------------------------------

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post