title: Java FX in Eclipse on Mac OSX 10.7
body: <p>Since I had problems with compiling JavaFX Code from Eclipse on Mac OSX 10.7 using java development kit 1.7.0_04 i just want to share my intermediate solution with interested people:</p>
  
  <p>Problem: </p>
  
  <ul>
  <li><p>The jfxrt.jar and other .jar files are not recognized when selecting the new jdk issued by oracle as a new jre/jdk in eclipse. </p></li>
  <li><p>The jdk is installed within /Library/Java/JavaVirtualMachines/1.7.0.jdk which is recognized as a package. </p></li>
  <li><p>Adding the path /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre/lib/jfxrt.jar later is not possible since the file open dialog of eclipse does not allow to navigate to the inside of the package</p></li>
  </ul>
  
  <p>Solution:
  Create a symbolic link from outside the package to inside the package and follow the link within the file open dialog. </p>
  
  <p>Simply go to a terminal and execute the following:</p>
  
  <p>[0-/Library/Java/JavaVirtualMachines]:sudo ln -s 1.7.0.jdk/Contents/ 1.7.0.jdk_Contents</p>
  
  <p>This creates the symbolic link 1.7.0.jdk_Contents using super user permissions (sudo).</p>
  
  <p>By this compilation and execution of JavaFx code works fine and as expected. </p>