I am new to java and I will start from JSF because I have a bit fundamental.
But unfortunatley I have problem to set up java enviroment.
I am using linux:
I am reading steps from an article. Here they are
Verify Java installation on your machine
$ java -version
I see that java already installed at my pc, terminal screen is below:
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
Now I want to apply below commands after findign where my java is installed!
when I check /etc folder, I see following folders
I assume that java-7-openjdk is the folder I look for, so I apply following commands:
I also set up Maven.
when I write terminal to see mvn version as follow as I get error
Error: JAVA_HOME is not defined correctly.
We cannot execute /etc/java-7-openjdk/bin/java
I know that there is no folder called /etc/java-7-openjdk/bin/java but then what I must I write to set java home?