Hey guys, I went to Barnes and Noble yesterday with my uncle and I bought HeadFirst Java. I love this book! I'm am only 12 but I am fascinated by computer programming. I know mostly pascal, which is how I got a kick-start at Java.
So... I need help. When I go to compile a .java file, it returns this:
Registry key 'Software\JavaSoft\Java Runtime Enviroment\CurrentVersion' has value '1.5', but '1.4' is required. Error: could not find java.dll Error: could not find Java 2 Runtime Enviroment
I wouldn't recommend an IDE yet. Once you get something like this figured out manually, you will be a long way toward understanding how IDEs work.
That said, I don't think that I've seen this particular problem before. What happens if you type at the command prompt? and as well? It looks like your compiler and the runtime are actually different versions.
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Wil, Whether you use NetBeans or not, there isn't any harm in having it on the machine. I wasn't advocating using an IDE. In fact, it's better (and often easier) to learn at the command line. It's just that the error you got is one that sometimes IDEs give and I wanted to help narrow down the problem.