tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: can't find "jni.h" compiling jsvc on Mac Os X
Date Thu, 16 Dec 2010 15:20:25 GMT
On 12/16/2010 02:34 PM, Edoardo Panfili wrote:
> On 16/12/10 13.51, Mladen Turk wrote:
>> On 12/15/2010 09:47 PM, Edoardo Panfili wrote:
>>> I am trying to install tomcat 7.0.5 on Mac os X 10.6.5
>>>
>>
>> There is a binary available at:
>> http://commons.apache.org/daemon/download_daemon.cgi
>>
>> Click on the "Browse download area..."
>> And navigate to binaries/1.0.4/darwin
>>
> thank you for you answerf, I put the file in $CATALINA_BASE/bin but there is always some
problem in catalina.err
> --------------------------------
> Cannot dynamically link to /System/Library/Frameworks/JavaVM.framework/Home/../Libraries/libclient.dylib
> dlopen(/System/Library/Frameworks/JavaVM.framework/Home/../Libraries/libclient.dylib,
10): no suitable image found. Did find:
> /System/Library/Frameworks/JavaVM.framework/Home/../Libraries/libclient.dylib: mach-o,
but wrong architecture
> Service exit with a return value of 1
> --------------------------------
>

Right, it fails on mac cause default (client) jvm is 32-bit only.
Add '-jvm server' to the jsvc command lines and it should work.


Regards
-- 
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message