• 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 project in NetBeans

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Java experts,

I´m working on a JavaFX project, and recently switched from Eclipse to NetBeans 8.1. - When I run the project, Netbeans creates a dist folder with a jar file in it, although the native packaging option (Project -> Properties) is disabled. Furthermore (as per the output tab), Netbeans executes the jar file, although I´m only trying to run the project withing the IDE. Am I missing something here, or is this just the way NetBeans rolls?

Thank you very much for you attention,

Martin
 
Rancher
Posts: 387
30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
> Netbeans executes the jar file, although I´m only trying to run the project withing the IDE.  Am I missing something here, or is this just the way NetBeans rolls?

I haven't used NetBeans for Java development in a long time, but yes, by default it used to always create jar files for JavaFX projects and perhaps that hasn't changed.

> When I run the project, Netbeans creates a dist folder with a jar file in it, although the native packaging option (Project -> Properties) is disabled.

Native packaging is different from jar packaging.  Jar is a platform independent packaging option, whereas native packaging uses platform dependent formats (e.g. .rpm, .deb, .exe, .msi, .dmg, .app etc).

---

Aside, I use intellij idea for JavaFX development and it seems to work fine for me.
 https://www.jetbrains.com/help/idea/2016.3/javafx.html
I think the ultimate edition of Intellij offers some extras over the community edition (such as autocomplete and static inspections on css files), but the basic JavaFX development flow still works with community edition.
Intellij doesn't automatically package JavaFX projects as jar files every time you build a JavaFX project.
That said, NetBeans still works fine for JavaFX development.

 
Martin Maus
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That clarifies things. - Thank you very much for your quick answer.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic