Groups
Groups
Sign in
Groups
Groups
工作记录
Conversations
About
Send feedback
Help
linux 下编辑JNI的C程序需要注意的问题
0 views
Skip to first unread message
youn...@gmail.com
unread,
Nov 3, 2008, 4:34:00 AM
11/3/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 工作记录
问题已经解决了~ 除了设置环境变量LD_LIBRARY_PATH外,在编译共享库的时候需要加-shared参数:cc -I/usr/
local/jdk1.3.1/include -I/usr/local/jdk1.3.1/include/freebsd -
shared HelloWorldImp.c -o libhello.so
Reply all
Reply to author
Forward
0 new messages