syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me

Question:
In IntelliJ, with Java, How to println("Hello World.")
Tags: java intellij

If your Java skills are light, this might be a useful post for you.

I start this task by downloading Java:

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

To install it, I just un-tar it and then place JAVA_HOME in my .bashrc.

Then I prepend ${JAVA_HOME}/bin to my PATH in my .bashrc.

Installing IntelliJ is similar.

Browse this URL:

https://www.jetbrains.com/idea/download/

I should download Community Edition

Then I run this shell command, perhaps in my home-folder:
tar zxf ~/Downloads/ideaIC-14.1.1.tar.gz
Then this:
ln -s idea-IC-141.178.9 idea
Then this:
echo 'export PATH=~ann/idea/bin:$PATH' >> ~/.bashrc
Then I run this shell command to start IntelliJ:
~/idea/bin/idea.sh
The screendumps below are pictures worth hundreds of words.

They describe how to println("Hello World.") in IntelliJ, with Java:


















syntax.us Let the syntax do the talking
Blog Contact Posts Questions Tags Hire Me