Good day. Began to recently study Java. I was advised to download NetBeans. I downloaded the full version (200 meters approximately) and installed it. In a certain topic here I found that this thing is not suitable for learning a language . Tell me, what is the easiest and most accessible compiler with highlighting of code errors?

    3 answers 3

    A compiler is a program that, from code written in some programming language, makes an executable file, i.e. translates into machine code. NetBeans is not a compiler, but an integrated development environment. Its purpose is to facilitate the development and debugging of fairly large projects. For the very beginning of learning a language, it is better to use a programmer’s notebook (of course, not a Windows Notepad, but some other, with backlighting of the language and a normal interface; I find it difficult to say specifically because of the wines, because I write almost exclusively under the line) and the compiler that you compile curricula with. Although, in principle, you can use IDE, but this is not the best option from a pedagogical point of view, IMHO.

    • This is exactly what I want. Who knows, advise! - Yegor Eremin
    • one
      Under Windows there is an excellent editor notepad ++. In general, I did not notice any advantages in learning when using the editor over a full-fledged IDE - on the contrary, there are not enough chips. The only situation in which the editor is preferable for learning is if it is opposed to a visual IDE. The latter of course destroy the brain.))) - culebre
    • There he goes along with the compiler and all that? :) - Yegor Eremin
    • one
      First you need to set the path to the javac compiler and to java in the PATH environment variable. If there is no javac on your computer, install JavaToolKit. To register, in the Properties of the computer, find the point “Environment Variables” and write there; C \; \ \ Programm Files (the path where it should be). Then start the terminal, go to the folder with your project, and javac-java. - skegg
    • one
      The questions are normal, just right ... - skegg

    NetBeans is not just a Java development environment, so it is not related to learning a language. Although I rarely write in Java, but when I write, I use Eclipse, I like this environment more.

      Put noBins and do not bother.

      Learn to compile from the command line, you always have time.

      • Just the opposite. From the command line, go to the IDE - no problem, but the opposite ... - skegg
      • I do not think that any difficulties will arise with this. And the task itself is doubtful. The IDE can generate an ant file which, again, just run on the command line and voila .. - Alex Kapustin 4:19 pm
      • It's not about developing applications, but about learning a language. Although there is such a command line in Windows, I don’t want to touch it ... - skegg
      • 3
        Why immediately - nonsense? On IDE change always have time. But to do with pens - this experience is gained! PS Let everyone write as he likes. If only there was no war. - skegg
      • four
        IDE (specifically I'm talking about Eclipse) corrupts be healthy. You remember the methods "approximately" (substitutes!), And in which package the class does not remember at all. Without it (say, in Emacs) you are only looking for it in the docks (or books). - avp