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 221229 - Run with Java WebStart checkbox state ignored on Project Properties save
Summary: Run with Java WebStart checkbox state ignored on Project Properties save
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Java Webstart (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 229236 (view as bug list)
Depends on: 219827
Blocks:
  Show dependency tree
 
Reported: 2012-11-01 09:12 UTC by Petr Somol
Modified: 2019-06-06 18:22 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 Petr Somol 2012-11-01 09:12:09 UTC
In JavaSE Project when WebStart is enabled, the Run with Java WebStart checkbox in Project Properties Run panel is enabled and can be checked/unchecked, but its state does not persist when OK is pressed. Currently this does not affect usability of WebStart with JavaSE projects because there exists a WebStart configuration where WS is enabled; the only nuisance would be if for some reason users wanted to disable WS in the WebStart category or enable WS in the default category.
Comment 1 Petr Somol 2013-05-02 08:26:07 UTC
*** Bug 229236 has been marked as a duplicate of this bug. ***
Comment 2 hfmanson 2015-03-12 14:55:50 UTC
Quote on bug 229236:

-----------------------------------------------
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.
-----------------------------------------------

This problem is also present on mu Ubuntu 14.04 LTS system.
Comment 3 aroman 2015-10-30 20:01:51 UTC
Bug still present in Ubuntu 15.10:
Product Version: NetBeans IDE 8.0.2 (Build 20150619-debian-8.0.2)
Java: 1.7.0_85; OpenJDK 64-Bit Server VM 24.85-b03
Runtime: OpenJDK Runtime Environment 1.7.0_85-b01
System: Linux version 4.2.0-16-generic running on amd64; UTF-8; en_US (nb)

and I also agree that it makes it very difficult to work.

Using the Web Start configuration does not help

Workaround: Files->NBProject->project.properties; manually set jnlp.enabled=true; save file, rebuild, then do it all over again whenever the gui is restarted or project web start properties inspected)
Comment 4 lhersch 2017-09-25 13:55:59 UTC
I had the same problem with Netbeans 8.1 on FreeBSD. So i have icedtea-web instead of oracle-webstart just like Ubuntu. I use the following workaround.

make the following link in the openjdk/jre/lib-directory 
javaws.jar -> /usr/local/share/icedtea-web/netx.jar
and
set manifest.custom.application.library.allowable.codebase=* in nbproject/project.properties
Comment 5 aroman 2019-06-06 18:22:12 UTC
lhersch's workaround worked for me! Using
Ubuntu 18.10;  Apache NetBeans IDE 11.0 (Build incubator-netbeans-release-404-on-20190319);  openjdk version "11.0.3" 2019-04-16; OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.10.1)

I did:
cd /usr/lib/jvm/java-11-openjdk-amd64/lib
sudo ln -s /usr/share/icedtea-web/javaws.jar