It is very confusing.  I tried the Blackdown JDK and, surprisingly enough,
it worked without error.  I guess this is one of the advantages of having a
Linux specific port :).

> -----Original Message-----
> From: Paul Mclachlan [mailto:[EMAIL PROTECTED]
> Sent: 25 March 2003 18:41
> To: Jonathan Gray
> Cc: [EMAIL PROTECTED]
> Subject: Re: shared library not loading.
> 
> 
> Jonathan Gray wrote:
> 
> >I am trying to use a library called heapprofile 
> (www.virtualmachine.de) on
> >Debian (unstable), with linux 2.4.18 and Sun's JDK 1.4.1_02. 
>  I have built
> >the library correctly and I know (from an strace) that Java 
> is picking up
> >the library on the LD_LIBRARY_PATH.  However, when I run 'java
> >-Xrunheapprofile' I am still getting an error:
> >
> >Error occurred during initialization of VM
> >Could not find -Xrun library: libheapprofile.so
> >
> >Has anyone come across this before and know what the problem 
> might be or
> >know of any further avenues of investigation?
> >
> >I have downloaded Blackdown's JDK and will see if using that 
> makes any
> >difference.
> >
> >  
> >
> That error ("could not find -Xrun") is also given by the JVM if the 
> JVM_OnLoad method of the agent being loaded returns JNI_ERR.
> 
> Confusing, ain't it?  It's thrown me on more than one occasion.
> 
> - Paul
> 


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to