aspose file tools*
The moose likes JavaFX and the fly likes JavaFX with no IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "JavaFX with no IDE" Watch "JavaFX with no IDE" New topic
Author

JavaFX with no IDE

Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
Hi,

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


Thank you


SCEA 5 (part 1), SCBCD, SCWCD, SCJP, CLP, CLS
Eric Bruno
author
Ranch Hand

Joined: Jun 15, 2009
Posts: 60
Yes, but what is your reasoning for doing it that way?
Rogerio Kioshi
Ranch Hand

Joined: Apr 12, 2005
Posts: 689
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

Joined: Jun 15, 2009
Posts: 60
Even NetBeans? That sounds odd.
Alan Hampson
Ranch Hand

Joined: Apr 10, 2009
Posts: 31
<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

Joined: Jun 15, 2009
Posts: 49
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

Joined: Jun 09, 2003
Posts: 4632
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

Joined: Jul 11, 2001
Posts: 15299
    
    6

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

Joined: Jun 09, 2003
Posts: 4632
> 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

Joined: Jun 15, 2009
Posts: 49
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

Joined: Jun 09, 2003
Posts: 4632
Thanks for the info - looks like I'll mosey on over and download netbeans (shudder!! - never thought I'd do that a second time)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaFX with no IDE