title: Is JavaFX actually embedded in Java SE? How do I use it this way?
body: <p>I've heard that JavaFX is embedded in newer Java SE, and I decided to start using it because it has many useful things such as polylines and CSS support. When I tried to create an object of Polyline type, the class was not found, and the same happened with Node class. 
   How do I use JavaFX or where can I download it?</p>
  
  <p>Edit 1:
   I'm using JDK 8u91 and Eclipse Java IDE(4.5.2).
   I've written this code ONLY to check whether the JavaFX is actually loaded:</p>
  
  <pre><code>package main;
  
  public class Main{
  
      public static void Main(String[]){
          Polyline line = new Polyline();
      }
  }
  </code></pre>
  
  <p>So, IDE says that Polyline cannot be resolved to a type.
  I decided to compile and run this app to make sure it's not just mistake od IDE.</p>
  
  <p>Edit 2:
   Added import javafx.scene.shape.*;
   Eclipse gives error:
    Access restriction: The type 'Polyline' is not API (restriction on required
    library 'C:\Program Files\Java\jre1.8.0_91\lib\ext\jfxrt.jar')
   Added some points to Polyline and then printed out <strong>line</strong> object.
   There were no compiling errors, but it's impossible to work when IDE spams you with error messages.</p>