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 267540

Summary: custom silent install location nb-base.installation.location set by -J-Dnb-base.installation.location is ignored
Product: installer Reporter: allanNB
Component: DebianAssignee: issues@installer <issues>
Status: NEW ---    
Severity: normal CC: allanNB
Priority: P1    
Version: Dev   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description allanNB 2016-08-11 15:24:38 UTC
I tried this with both linux.sh and php-linux-x64.sh downloaded from: http://bits.netbeans.org/download/trunk/nightly/latest/bundles


before (in previous versions) setting the -J-Dnb-base.installation.location option for the Netbeans linux.sh command line installer meant it installed it in the location set silently (even when --silent was not set), without bringing up the installer window at all. I can't remember starting which version, but it seems neither installer no longer supports -J-Dnb-base.installation.location

manpage:
http://wiki.netbeans.org/NetBeansInstallerTipsAndTricks - section: nb-base.installation.location

usage:
/path/to/installer/netbeans-trunk-nightly-201608110002-php-linux-x64.sh "-J-Dnb-base.installation.location=$FUTURE_DIR"

I made a bash script to auto-install and keep a bunch of nightlys a few years back, you can see a more specific usage on github:
https://github.com/allanlaal/Netbeans-Nightly-Multi-Autoinstall/blob/master/getNetbeansNightly.sh
Comment 1 allanNB 2016-11-12 03:35:25 UTC
this is a major bug, I cannot autoinstall nightlys anymore - I have to do it manually :(