title: Talend Open Studio on Mac OS X - Failed to create JVM
body: <p>I want to start the Talend Open Studio (ESB or DI) on my Mac Pro. </p>
  
  <p>But I get an error: "Failed to create the Java Virtual Machine".</p>
  
  <p>TOS Version is V5.6.0 and I have installed Java SDK 1.7.0_45 64-Bit.</p>
  
  <p>I have also changed some values in TOS_ESB-macosx-cocoa.ini:</p>
  
  <pre><code>--launcher.XXMaxPermSize
  512m
  -vmargs
  -Xms64m
  -Xmx768m
  -Xdock:icon=../Resources/talend.icns
  -XstartOnFirstThread
  -Dorg.eclipse.swt.internal.carbon.smallFonts
  -Dosgi.instance.area.default=../../../workspace
  -Dfile.encoding=UTF-8
  </code></pre>
  
  <p>But I still get the same error.</p>
  
  <p>I found that TOS use the wrong java version
      JavaVM: Failed to load JVM: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/bundle/Libraries/libserver.dylib</p>
  
  <p>My JAVA_HOME is set to /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home</p>
  
  <p>How do I resolve this?</p>