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.
Product Version: NetBeans IDE Dev (Build 201210220002) Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 System: Mac OS X version 10.8.2 running on x86_64; US-ASCII; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/dev Cache directory: /Users/tomas/Library/Caches/NetBeans/dev ------------ - create new java app - enable web start - switch webstart configuration - run ... ... Executing '/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home/jre/bin/javaws' with arguments: '/tmp/testws/dist/launch.jnlp' The ' characters around the executable and arguments are not part of the command. /tmp/testws/nbproject/jnlp-impl.xml:381: Execute failed: java.io.IOException: Cannot run program "/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home/jre/bin/javaws" (in directory "/tmp/testws"): error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) ... javaws binary in not present in bin/ nor jre/bin/
JDK bug filed about missing javaws binary in Java 7uX on Mac. #JDK-8001623
The bug has been entered for JDK.
*** Bug 223650 has been marked as a duplicate of this bug. ***
Please re-evaluate the situation. JDK team deferred the issue to JDK 8 and explains current state as designed. Impact for NB is that WebStart run configuration won't work on any Mac with JDK 7, because jnlp-impl.xml expects javaws at location where it doesn't exist.
>explains current state as designed. Not true, it's still open as a valid issue. >Impact for NB is that WebStart run configuration won't work on any Mac with JDK >7, because jnlp-impl.xml expects javaws at location where it doesn't exist. From a user selected platform.
As pointed out the bug is entered into the bug tracking system for JDK. While we might workaround it in our code the best place for fix is on the JDK side. BTW they broke it for all of our already released versions. Lowering priority as the bug is in java web start - this technology is not being widely used (and supported by JDK team). Closing again as won't fix since it should be fixed on JDK side where it is entered.
Passing to Petr to attempt a workaround on our side.
added multiple location search of javaws executable, including the workaround location for this issue: http://hg.netbeans.org/jet-main/rev/a2ff0f0e17fb
Integrated into 'main-golden', will be available in build *201301030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a2ff0f0e17fb User: Petr Somol <psomol@netbeans.org> Log: #220918 - Cannot run JavaWS on OS X - javaws not present in JDK_HOME/jre/bin