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 202745

Summary: run arguments set in NetBeans IDE not being passed to main method of my class
Product: java Reporter: jeffssmith1
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mmirilovic
Priority: P3 Keywords: PLATFORM
Version: 7.0.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description jeffssmith1 2011-09-27 16:26:44 UTC
Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) 64-Bit Server VM 21.0-b17

I set my main class and set the arguments to "one two three" and yet when I run that class, in the main method the args parameter has zero length.
Comment 1 Tomas Zezula 2011-09-29 07:03:53 UTC

*** This bug has been marked as a duplicate of bug 174506 ***