Setup the system
Last updated
Was this helpful?
Last updated
Was this helpful?
Installing java/JDK
Knowing the difference between JDK, JRE and JVM
java -version
to verify
Setting up the path
Setup JAVA_HOME, export JAVA_HOME=/<your_JDK_folder>
for mac
for linus export JAVA_HOME=/usr/local/jdk
setup java and javac path: export PATH=$PATH:$JAVA_HOME/bin/
Installing and setting up IDE (Intellij)
Can use Eclipse or Netbeans, but Intellij is far better
Settings to use JDK
Create new project using maven and add java build in pom.xml
See for a common starter pom file
For options 'groupId' and 'artifactId' when asked, use a package structure like com. as groupId and name of project as artifactId.
Running a simple hello world program through Intellij to check it is working
Use of shortcuts ie sout
and psvm