• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JavaFX Script Interpreted vs Compiled

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the history behind the compiled and interpreted versions of JavaFX Script? Will they both live on or is the interpreted version destined to die?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by "compiled and interpreted versions"? JavaFX Script lives in a JVM, so the runtime execution process is similar. It's just that the compilation step is done right before execution, and doesn't need to be performed explicitly beforehand.
 
Andrew Zahra
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are two versions of JavaFX. An interpreted version and a compiled version that generates class files. This can be seen at the netbeans plugin page:
http://javafx.netbeans.org/

I quote "The JavaFX Script plugin for Netbeans IDE 6.1 supports the JavaFX Script language that is based on the OpenJFX compiler."

and

"The JavaFX Script plugins for Netbeans IDE 5.5, Netbeans IDE 5.5.1, Netbeans IDE 6.0 and Netbeans IDE 6.0.1 support the Interpreter-based version of the language."

If you try some of the OpenJFX code with the interpreter based plugin, you will find that it doesn't work.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic