- Operating system: Ubuntu 11.10 64 bits
- Netbeans 7.1.1
- Java FX 2.1 b16 32 bits
- JDK 7u2
I created a new platform using JDK 7u2 32bits and Java FX 2.1 b16 32 bits. When building my application (a new JavaFX application, created in Netbeans, with only the auto-generated code) I'm getting the error:
JavaFXApplication1/nbproject/jfx-impl.xml:976: The following error occurred while executing this line:
I haven't tried with the Oracle JDK6. I could give this a try.
I checked more thoroughly what is the problem here and realized that NetBeans by design execute Ant by internal execution. See
There is no need to support Linux in JavaFX without proper OpenJDK support in the IDE. Oracle JDK is not packaged by distributions (which means it is really NOT SUPPORTED). Users will just quickly try out new brand SDK, discover it is not working and move to concurrent technology.
Some related links:
(In reply to comment #4)
> There is no need to support Linux in JavaFX without proper OpenJDK support in
> the IDE. Oracle JDK is not packaged by distributions (which means it is really
> NOT SUPPORTED). Users will just quickly try out new brand SDK, discover it is
> not working and move to concurrent technology.
You are right - it is probably bug in JSR 270 (the Java 6 SE spec):
There will be no requirement that any particular scripting language be supported by the platform; implementors may choose to include support for the scripting language(s) of their choice as they see ﬁt.
PS I promise that it is the last time I am re-opening this bug, please at least explain reasons for closing it as "wontfix" this time instead of just calling official Oracle implementation for Linux buggy.
OpenJDK 7 seems to be the only JDK where scripting engine has been excluded. AFAIK the next versions are likely to have it back. All OracleJDK versions do contain scripting engine and NetBeans is tested against OracleJDK. I am not the decision maker but I doubt including a OpenJDK 7 scripting engine to NetBeans distribution is a viable option. CC-ing Marian on that.
Yet I do not say we do not care at all. I have created another issue to at least partly address the problem of scripting on our (NetBeans) side:
I just can not do more, so I am definitely closing this particular issue.
BTW problem was reported from user running Ubuntu, where it's already fixed: