Java Tutorial: Setting up Java, Maven, and eclipse
This is mainly for the beginners of Java to get familiarized with Java, Maven, and eclipse. This will also be handy for starting on your self-taught Java projects. Install and configure Java Step 1: Download and install Java 6 or later version if available by googling "Java downloads". Make sure that you download and install the right version for the operating system on which you will be running -- for example Windows (32 bit or 64 bit), Linux, Solaris, MAC, etc. You will need both the JDK and the JRE. The javac is the compiler that converts a source file (e.g. HelloWorld.java ) to a byte code file (e.g. HelloWorld.class). The java is the run-time command to execute a program (i.e. java HelloWorld ). The src.zip is where all the library files are located and rt.jar is where the run-time class files are located. Step 2: Set the environment variables. In a command prompt, if you type " ...
Comments
Post a Comment