Raspberry piに移植したいWindowsボックスで実行されているJava Bluetoothサーバーがあります。Java の経験は豊富ですが、Bluetooth や Linux の経験はほとんどありません。
pi には現在 Debian Wheezy オペレーティング システムがあり、bluetooth と Java を正常にインストールし、bluecove-gpl と bluecove jar をクラスパスに配置しました。
ただし、サーバーを実行しようとすると、Java が文句を言います。
ネイティブ ライブラリ bluecove_arm は利用できません。
それを指すようlibbluecove_arm.so
に設定しても、gpl jar から 名前を変更しようとしましたが、成功しませんでした。-Dbluecove.native.path
正しいライブラリの場所、名前、配置場所を知っている人はいますか?
[解決済み]
Found a sh build script on the google code site which showed how to compile the java source files, generate jni headers, compile and link the c files to produce a so library file. Only hiccup was that the library file needed then to be renamed libbluecove_arm.so before it would be found. All done on the pi!