[3453] in java-interest

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

Native methods - UnsatisfiedLinkError

daemon@ATHENA.MIT.EDU (Arshad Noor - Technical Mgr - Sun )
Mon Nov 13 18:48:12 1995

Date: Mon, 13 Nov 1995 15:24:11 -0500
From: anoor@hedley.East.Sun.COM (Arshad Noor - Technical Mgr - Sun Integration)
To: java-interest@java.Eng.Sun.COM


I'm having a problem getting Java to successfully execute an application that
has a native method in it.  Even the examples that are part of the Programmers
Guide do not work.  The actual message (only 2 lines) is:

	java.lang.UnsatisfiedLinkError: displayHelloWorld
        	at Main.main(Main.java:3)

I'm using the Beta JDK on a Solaris 2.5 machine; my CLASSPATH is set correctly,
and so is my LD_LIBRARY_PATH.  The libhello.so exists so there is no problem
with the files not being available.  

I'm not even able to execute the Replace example due to a similar problem.  Is 
there anything I'm missing here?  Thanks in advance.


================================================================================
Arshad Noor							400 Atrium Drive
Technical Manager					       Somerset NJ 08873
Sun Integration						   Voice: (908) 302-3822
Arshad.Noor@East.Sun.Com				   Fax:   (908) 469-4098
================================================================================

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

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