This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
marina-netbeans-plugin: #60 Product Version = NetBeans IDE 6.5.1 (Build 200903060201) Operating System = SunOS version 5.11 running on x86 Java; VM; Vendor = 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b15; Sun Microsystems Inc. Steps to reproduce: - Create a JavaFX Script project - Build the project init: deps-jar: Error: JAVA_HOME is not defined, cannot find "java" command. /export/home/duke/NetBeansProjects/temp/02/JavaFXApplication1/nbproject/build-impl.xml:143: exec returned: 1 BUILD FAILED (total time: 0 seconds)
Please report it to JavaFX Jira on binary launchers - they are responsible to find appropriate Java and this message comes from packager launcher.
I've analyzed the JavaFX startup scripts and it should work even in extreme cases. Please report this issue to Jira with your system configuration (Java installed - where and how, JAVA_HOME set or not, etc...).
one more important info - what happen if you type "java" or "javac" into console or "which java" or "which javac".
duke@sol-equilibrium:~$ which java /usr/bin/java duke@sol-equilibrium:~$ which javac which: no javac in (/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin) duke@sol-equilibrium:~$ duke@sol-equilibrium:~$ java Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) duke@sol-equilibrium:~$ javac bash: javac: command not found
JIRA issue http://javafx-jira.kenai.com/browse/JFXC-3053
It is still reproduced on my system.
Yes, it is and it will be reproducible until you install some usable JDK on your machine. With the result given from "which javac" - you did not install any.
I can create a Java project in NetBeans, compile and run it. It means that I have right JDK on my system. Let see. - Create a Java project - Build it There is no errors. - Create a JavaFX project - Build it Error: JAVA_HOME is not defined, cannot find "java" command. The results for Java and JavaFX projects should be the same.
You don't have the right JDK: which javac which: no javac in (/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin) You've only unzipped JDK somewhere and pointed NetBeans to that location. JavaFX SDK is a complex set of tools that must work independently of NetBeans - but I think I've repeated this several times. Passing JAVA_HOME to one of the tools will not fix the problem. If you think your custom machine configuration is a general use case that should be covered and handled by all SDK binary launchers - please fill all details to http://javafx-jira.kenai.com/browse/RT-4139
JIRA issue: RT-4390 Packager does not properly work if JAVA_HOME is not set http://javafx-jira.kenai.com/browse/RT-4390
Cleaning bugzilla categories ....