Re: Running Tomcat using sablevm

David Bélanger <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
On Thu, Feb 10, 2005 at 04:18:54PM +0530, [email protected] wrote:
> 
> I have a problem running tomcat using sablevm. I have installed the
> latest version of sablevm(1.1.9) and now when I try to run tomcat which
> is needed for my application, it gives me a error that it cannot link
> the .so file by giving a java.lang.UnsatisfiedLinlError and it searches
> /usr/lib/sablevm-classpath for the  .so file which is not present in
> that directory.
> 
> So could anyone say me how to include a .so file in the classpath in
> sablevm .
> 
> Sablevm also ignores LD_LIBRARY_PATH and CLASSPATH. How should I go
> about it because I need to link a .so file which is present in my
> another application and it is not in the /usr/lib/sablevm-classpath.
> 

Hi,

Use the java.library.path property like this:
sablevm -p java.library.path=LIBDIR_YOU_WANT ...

David


---

David Bélanger
Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.