netbeans-6.1-javase-windows.exe --userdir tmp --create-bundle bundle.jar --platform linux click next->create->finish mv bundle.sh netbeans-6.1-javase-linux.sh rm -rf tmp
netbeans-6.1-javaee-windows.exe --userdir tmp --create-bundle bundle.jar click next->create->finish mv bundle.exe netbeans-6.1-javaee-noservers-windows.exe rm -rf tmpIf you disable both servers then you give just the good old NetBeans IDE.
echo "NWP.welcome.page.type=javame" > bundle.props netbeans-6.1-javaee-windows.exe --userdir tmp --create-bundle bundle.jar --bundle-properties bundle.props click next->create->finish mv bundle.exe netbeans-6.1-javame-windows.exe rm -rf tmp bundle.props
netbeans-6.1-windows.exe --record state.xmland make the installation on this system. After installation (and uninstallation - since you can install the same NetBeans twice) run
netbeans-6.1-windows.exe --silent --state state.xml
netbeans-6.1-windows.exe --silent
| Property name | Meaning | Example | Comments |
|---|---|---|---|
| nb-base.installation.location | NetBeans installation location | netbeans-6.1-windows.exe --silent "-J-Dnb-base.installation.location=C:\Program Files\NetBeans 6.1" | |
| glassfish.installation.location | GlassFish installation location | netbeans-6.1-windows.exe --silent -J-Dglassfish.installation.location=C:\Sun\glassfish | |
| glassfish-mod.installation.location | GlassFish V3 installation location | netbeans-6.5-windows.exe --silent -J-Dglassfish-mod.installation.location=C:\Sun\glassfish-v3 | |
| tomcat.installation.location | Tomcat installation location | netbeans-6.1-javaee-windows.exe --silent -J-Dtomcat.installation.location=C:\Apache\tomcat | |
| sjsas.installation.location | AppServer installation location | java-tools-bundle-update5-windows.exe --silent -J-Dsjsas.installation.location=C:\Sun\AppServer | Valid for Java Tools Bundle |
| jdk.installation.location | JDK installation location | jdk6-u6-nb6_1-windows.exe --silent -J-Djdk.installation.location=C:\Java\jdk1.6.0_06 | Valid for NetBeans/JDK6 bundles and NetBeans/JDK5 bundles |
| mysql.installation.location | MySQL installation location | netbeans-6.1-mysql-windows.exe --silent -J-Dmysql.installation.location="C:\Program Files\MySQL\MySQL 5.0 Server" | Valid for MySQL Bundle |
| nb-base.jdk.location | JDK to be used by NetBeans that is installing | netbeans-6.1-windows.exe --silent "-J-Dnb-base.jdk.location=C:\Program Files\Java\jdk1.6.0_04" | |
| glassfish.jdk.location | JDK to be used by GlassFish that is installing | netbeans-6.1-windows.exe --silent "-J-Dglassfish.jdk.location=C:\Program Files\Java\jdk1.6.0_04" | |
| sjsas.jdk.location | JDK to be used by AppServer that is installing | java-tools-bundle-update5-windows.exe --silent "-J-Dsjsas.jdk.location=C:\Program Files\Java\jdk1.6.0_04" | Valid for Java Tools Bundle |
netbeans-trunk-nigtly-<buildnumber>-windows.exe -J-Dservicetag.allow.create=true -J-Dservicetag.allow.register=true
netbeans-6.1-windows.exe -J-Dservicetag.allow.create=true -J-Dservicetag.allow.register=falseTo disable the creation of ST and registraton run the following:
netbeans-6.1-windows.exe -J-Dservicetag.allow.create=false -J-Dservicetag.allow.register=false
netbeans-6.1-windows.exe --nospacecheckIf you don`t have enough space in your temp or home directory try to override them using the e.g. the following command:
netbeans-6.1-windows.exe --tempdir C:\Temp --userdir C:\NBI
netbeans-6.1-windows.exe --userdir "%USERPROFILE%/.nbi" (that is the default) netbeans-6.1-windows.exe --userdir "%USERPROFILE%/.nbi2" netbeans-6.1-windows.exe --userdir "%USERPROFILE%/.nbi3"