Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JavaFX with no IDE

 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Is it possible to develop JavaFX applications with no IDE(Eclipse, Netbeans), only through DOS command line?


Thank you
 
Eric Bruno
author
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, but what is your reasoning for doing it that way?
 
Rogerio Kioshi
Ranch Hand
Posts: 690
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Eric Bruno wrote:Yes, but what is your reasoning for doing it that way?


It is that in some companies they don't let you use IDEs, because you must have a formal license.
 
Eric Bruno
author
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even NetBeans? That sounds odd.
 
Alan Hampson
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<OT>
Hmmm. I haven't seen any company lately that wouldn't let you use the tools you need to get your job done, especially if they are free. The exception would be if you were trying to use illegal copies of an IDE. However, both NetBeans and Eclipse are available free, with open licenses: Netbeans, Eclipse. If a company refused to allow you to use the best tools to get your job done, you probably want to give that job a pass. If you already work there, you need to have a serious discussion with your lead/manager about what they expect you to do and how best to do it. If that fails, you might want to start looking for another job. I don't want to start anything, I know if you have a job right now you could/should consider yourself lucky, but if the management is that short-sighted, there are probably bigger problems in the company.
</OT>

That being said, and taiking into account that I've not looked into JavaFX yet, it is usually possible to use any of the Java technologies without an IDE. You do lose some functionality, but that's the tradeoff for working from the command line. The benefits are that you get to know your packages better (no autocompletion), your build system and dependencies better (no auromatic build), and you get to spend more time debugging (debugger isn't as friendly).

Checking Sun's JavaFX site, I see the following:

JavaFX 1.2 SDK
Provides the JavaFX functionality needed to develop directly via the command line or with other tools.

So, the answer is yes, you can. Would you want to? That's up to you to decide.

Hope this helps,
alan
 
Jim Clarke
author
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For what is worth, Chapter 1 in our book discusses doing development from the Command line and your own Ant scripts.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are there likely to be other IDE's (I prefer a very simple IDE, just to compile and run),
or is javaFX heavily linked with netbeans (and I absolutely detest netbeans-generated swing code)
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael Dunn wrote:are there likely to be other IDE's (I prefer a very simple IDE, just to compile and run),
or is javaFX heavily linked with netbeans (and I absolutely detest netbeans-generated swing code)


I don't believe we're talking about design tools here (wysiwyg). We're just talking about language and compiler support primarily. AFAIK there is no generated JavaFX code in Netbeans or Eclipse other than skeleton script files. (I detest NB for many more reasons). I'd be happier if IntelliJ decided to support JavaFX.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> AFAIK there is no generated JavaFX code in Netbeans or Eclipse other than skeleton script files.

Interesting, thanks - JavaFX might be worth a bit more of a look at.
 
Jim Clarke
author
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only generated code that is involved, currently is when you take the JavaFX archive file from the Adobe plugins or the SVG converter and process it to create the Support files to access the graphical assets. Nonetheless, this generated code is clean and only relies on jar files included in the standard JavaFX SDK. None of this is dependent on anything special within NetBeans or Eclipse.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the info - looks like I'll mosey on over and download netbeans (shudder!! - never thought I'd do that a second time)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic