title: Valgrind and Java
body: <p>I want to use Valgrind 3.7.0 to find memory leaks in my Java native code. I'm using jdk1.6.0._29. </p>
  
  <p>To do that, I have to set the --trace-children=yes flag. Setting that flag, I no longer can run valgrind on any java application, even a command like:</p>
  
  <pre><code>valgrind --trace-children=yes --smc-check=all java -version
  </code></pre>
  
  <p>will get the error message:</p>
  
  <pre><code>   Error occurred during initialization of VM
     Unknown x64 processor: SSE2 not supported
  </code></pre>
  
  <p>I've seen this link: <a href="https://bugs.kde.org/show_bug.cgi?id=249943" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=249943</a>, but it was not useful.</p>
  
  <p>Running the program without Valgrind or without the --trace-children flag is fine.</p>
  
  <p>Does anyone has any idea on what I can do?</p>