Hi All,
I have a simple question. Each time I create a new project or new class in NetBeans it gives the following code (example):
I'm just wondering, why is that line there? isn't "args[]" an array & why would you want that at the beginning of a program? I'm also wondering if NetBeans is the best IDE to code Java in as I am a beginner to Java, I've done a fair bit of VB.net but I find NetBeans is a really weird IDE with vague error messages and strange compile errors or maybe thats just the Java language itself? A few of the errors I get when compiling are:
I have a simple question. Each time I create a new project or new class in NetBeans it gives the following code (example):
Code:
public static void main(String args[]) {
}
I'm just wondering, why is that line there? isn't "args[]" an array & why would you want that at the beginning of a program? I'm also wondering if NetBeans is the best IDE to code Java in as I am a beginner to Java, I've done a fair bit of VB.net but I find NetBeans is a really weird IDE with vague error messages and strange compile errors or maybe thats just the Java language itself? A few of the errors I get when compiling are:
2007-10-19 02:39:07.547 java[10490] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x11003, name = 'java.ServiceProvider'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2007-10-19 02:39:07.555 java[10490] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (java.ServiceProvider)