title: Kafka streams on Windows 7 looking for rocksdb's dll
body: <p>I have a program of Kafka streams. It's Windows 64 bit machine and  standalone Kafka server is running on it. Java version is java 8. 
  In code pom has dependencies of Kafka client and streams APIs and the versions are latest i.e. 0.10.2.
  Whenever I am running the streams app, it is looking for rocksdb's dll file in my user home and failed.
  Anyone faced the same issue? Same code is running on different windows 64 machine.</p>
  
  <p><strong>pom</strong></p>
  
  <pre><code>&lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.kafka&lt;/groupId&gt;
          &lt;artifactId&gt;kafka-clients&lt;/artifactId&gt;
          &lt;version&gt;0.10.2.1&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.kafka&lt;/groupId&gt;
          &lt;artifactId&gt;kafka-streams&lt;/artifactId&gt;
          &lt;version&gt;0.10.2.1&lt;/version&gt;
      &lt;/dependency&gt;
  &lt;/dependencies&gt;
  </code></pre>
  
  <p><strong>Stacktrace</strong></p>
  
  <pre><code>Exception in thread "StreamThread-1" java.lang.UnsatisfiedLinkError: C:\Users\abcd\AppData\Local\Temp\librocksdbjni8989756873626302713.dll: Can't find dependent libraries
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
  at java.lang.Runtime.load0(Runtime.java:809)
  at java.lang.System.load(System.java:1086)
  at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:78)
  at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:56)
  at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:64)
  at org.rocksdb.RocksDB.&lt;clinit&gt;(RocksDB.java:35)
  at org.rocksdb.Options.&lt;clinit&gt;(Options.java:22)
  at org.apache.kafka.streams.state.internals.RocksDBStore.openDB(RocksDBStore.java:117)
  at org.apache.kafka.streams.state.internals.Segment.openDB(Segment.java:38)
  at org.apache.kafka.streams.state.internals.Segments.getOrCreateSegment(Segments.java:76)
  at org.apache.kafka.streams.state.internals.RocksDBSegmentedBytesStore.put(RocksDBSegmentedBytesStore.java:73)
  at org.apache.kafka.streams.state.internals.ChangeLoggingSegmentedBytesStore.put(ChangeLoggingSegmentedBytesStore.java:55)
  at org.apache.kafka.streams.state.internals.MeteredSegmentedBytesStore.put(MeteredSegmentedBytesStore.java:101)
  at org.apache.kafka.streams.state.internals.RocksDBWindowStore.put(RocksDBWindowStore.java:110)
  at org.apache.kafka.streams.state.internals.RocksDBWindowStore.put(RocksDBWindowStore.java:102)
  at org.apache.kafka.streams.kstream.internals.KStreamJoinWindow$KStreamJoinWindowProcessor.process(KStreamJoinWindow.java:65)
  at org.apache.kafka.streams.processor.internals.ProcessorNode$1.run(ProcessorNode.java:48)
  at org.apache.kafka.streams.processor.internals.StreamsMetricsImpl.measureLatencyNs(StreamsMetricsImpl.java:188)
  at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:134)
  at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:83)
  at org.apache.kafka.streams.kstream.internals.KStreamFilter$KStreamFilterProcessor.process(KStreamFilter.java:44)
  at org.apache.kafka.streams.processor.internals.ProcessorNode$1.run(ProcessorNode.java:48)
  at org.apache.kafka.streams.processor.internals.StreamsMetricsImpl.measureLatencyNs(StreamsMetricsImpl.java:188)
  at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:134)
  at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:83)
  at org.apache.kafka.streams.processor.internals.SourceNode.process(SourceNode.java:70)
  at org.apache.kafka.streams.processor.internals.StreamTask.process(StreamTask.java:197)
  at org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:627)
  at org.apache.kafka.streams.processor.internals.StreamThread.run(StreamThread.java:361)
  </code></pre>