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.

Bug 229236 - "Enable Web Start" won't stay ticked in Project Properties.
Summary: "Enable Web Start" won't stay ticked in Project Properties.
Status: RESOLVED DUPLICATE of bug 221229
Alias: None
Product: projects
Classification: Unclassified
Component: Java Webstart (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-30 22:38 UTC by jmhertlein
Modified: 2014-04-10 02:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jmhertlein 2013-04-30 22:38:01 UTC
Steps to reproduce:

1. Create a new Java project.
2. Right-click on the project node, Properties > Application > Web Start
3. Tick "Enable Web Start"
4. Click ok
5. Open Properties > Application > Web Start again
6. Web Start is no longer ticked, and under "Run", it asks you to enable Web Start to launch with web start.
7. Selecting the "Web Start" run configuration (which does get created) and trying to run the project causes an error stating: 

/home/joshua/workspace/java/EverCoreUtils/nbproject/jnlp-impl.xml:589: Project cannot be run with selected Run Configuration when Java Web Start is disabled.
BUILD FAILED (total time: 1 second)

I was able to reproduce this on both Ubuntu 12.10 and Fedora 18, but it works fine on Windows 7 x64. 

I was able to reproduce it with both a clean netbeans install (on a freshly installed Fedora 18, actually), as well as an installation of netbeans that I'd been using for some time. I'm using OpenJDK and it's up-to-date. 

Incidentally, editing nbproject/project.properties and setting "jnlp-enabled" to "true" will make the Enable Web Start button ticked, but only once (closing and opening it again causes it to no longer be checked again).

On a side note, Google is startlingly unhelpful with this problem, which seems to suggest it's not common...
Comment 1 jmhertlein 2013-04-30 22:43:31 UTC
I don't know if this will help at all, but setting jnlp-enabled to true in project.properties and then running the project with the "Web Start" profile selected results in this message: 

/home/joshua/workspace/java/EverCoreUtils/nbproject/jnlp-impl.xml:245: Error:
WebStart executable could not be found.
BUILD FAILED (total time: 9 seconds)
Comment 2 Petr Somol 2013-05-02 08:26:07 UTC

*** This bug has been marked as a duplicate of bug 221229 ***
Comment 3 fatbuttlarry 2014-04-10 02:15:43 UTC
This is common enough actually.  The combination of NetBeans and Ubuntu seems to cause this.  I've reproduced on NetBeans 7.4 +  OpenJDK7 x86_64, NetBeans 8.0 + OpenJDK7 x86_64.

This completely breaks WebStart functionality on Ubuntu.  Any work-arounds would be appreciated as this forces some of my projects to be built on another OS (Windows) until this is resolved.