title: Fatal Error in JRE
body: <p>I am working on an application and decided to update java to java7. After doing this and setting the appropriate values to env. variables $PATH and $JAVA_HOME, I get the following error:</p>
  
  <pre><code>#
  # A fatal error has been detected by the Java Runtime Environment:
  #
  #  SIGSEGV (0xb) at pc=0x00007f19addeaa34, pid=28052, tid=139748278572864
  #
  # JRE version: Java(TM) SE Runtime Environment (7.0_40-b43) (build 1.7.0_40-b43)
  # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.0-b56 mixed mode linux-amd64 compressed oops)
  # Problematic frame:
  # V  [libjvm.so+0x644a34]  get_method_id(JNIEnv_*, _jclass*, char const*, char const*, bool, Thread*)+0x84
  #
  # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
  #
  </code></pre>
  
  <p>Any help is appreciated.</p>
  
  <p><strong>Update: Java and JavaC:</strong></p>
  
  <pre><code>java -version
  java version "1.7.0_40"
  Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
  Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
  
  javac -version
  javac 1.7.0_40
  </code></pre>