Hi,

On 12 Jan., 16:00, "Ahmet Süreyya Rifaioğlu"
<[email protected]> wrote:
> Hi,
> I am using NetBeans version 6.1. I worked before on command line arguments.

I have 6.5 here.

> But now when I pass arguments to my programs, it gives" Exception in thread
> "main" java.lang.ArrayIndexOutOfBoundsException: 0" error. I checked the
> length of the array(args ), it says no argument passed. I worked the program

How have you passed the arguments to the program running inside the
Netbeans IDE?
When I set the arguments in the "Run"-Section of the properties
Windows for the
started configuration I get the arguments.

> in a different IDE. It worked. What might be the problem?
Hopefully you have just only not set the arguments in the project
dialog.

HTH
Ewald
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to