title: My Java bluetooth server on raspberry pi running debian wheezy needs bluecove native library - where can I find it?
body: <p>I have a Java bluetooth server running on a Windows box which I want to port to the Raspberry pi. I have lots of experience with Java but little with Bluetooth or Linux.</p>
  
  <p>The pi currently has Debian  Wheezy operating system and I've installed bluetooth and Java ok, and placed the bluecove-gpl and bluecove jars in the classpath.</p>
  
  <p>When I try to run the server, however, Java complains</p>
  
  <blockquote>
    <p>Native library bluecove_arm not available.</p>
  </blockquote>
  
  <p>I've tried renaming <code>libbluecove_arm.so</code> from the gpl jar without success, even when setting  <code>-Dbluecove.native.path</code> to point to it.</p>
  
  <p>Does anyone know where to find the correct library, what it should be called, and where it should be placed?</p>
  
  <p>[SOLVED}</p>
  
  <p>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!</p>