Netbeans

I'm not quite certain if this is the correct place to post a Netbeans question, but I thought it might be worth a try.

I am running Netbeans 5.0, and I am only writing quite simple programs at the moment. But when I have tried to run programs using various input/output classes, the compiler has started to run the program, but then seems to get stuck, saying that it is building the program, but never outputting or actually doing something.

Does anyone know why this might be and/or how I could fix it? Thanks

[533 byte] By [twist_chicka] at [2007-10-3 5:22:39]
# 1
I would suggest compliling it on the command line and running it. This will let you know if it is a program problem or a NetBeans problem.
zadoka at 2007-7-14 23:29:42 > top of Java-index,Developer Tools,Java Compiler...
# 2
You should also consider sending NetBeans tech support an email.
CaptainMorgan08a at 2007-7-14 23:29:42 > top of Java-index,Developer Tools,Java Compiler...
# 3

Can you be sure that you're "Running" the program as opposed to "building" it.

They both look the same to begin with, but build just generates the classes and jars, whereas run starts the application for you.

Code that processes command line arguments will fail if you haven't set them.

Code that uses System.out won't work (unless it's run from the command line).

Want to post a sample?

C_Heeneya at 2007-7-14 23:29:43 > top of Java-index,Developer Tools,Java Compiler...