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.
nb65 M1, jdk 6u10 -when I run IDE with command line switch -laf on the last position then the switch is not recognized e.g.: F:\netbeans\NetBeans 6.5 M1-0630\bin>nb.exe --userdir f:\netbeans\userdir\nb65-m1-063-nimbus --jdkhome "c:\Program Files\Java\jdk1.6.0_10\" --laf Nimbus OTOH, when it is at different position it works correctly e.g. F:\netbeans\NetBeans 6.5 M1-0630\bin>nb.exe --userdir f:\netbeans\userdir\nb65-m1-063-nimbus --laf Nimbus --jdkhome "c:\Program Files\Java\jdk1.6.0_10\"
If I use fully qualified name com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel it works for me without any dependence on position of parameter. If I use short name (--laf Nimbus) it does not work at all (it does not depend on position of parameter as well). I checked the parameters which are passed to java.exe and it is sent correctly as "--laf" "Nimbus", so it seems it is not problem of launcher.
It works fine on Linux. All parameters are passed to org.netbeans.core.startup.CLIOptions and there 'short' L&F IDs are translated to full L&F class name (fully qualified). I will check on Windows.
I cannot reproduce on Win2K. Closing.