Start programming with java
As I can not survive without a java IDE I needed to install JDK and a suitable IDE.
Let's start with the JDK
Note: you can install and download both JDK and any IDE from the terminal directly but this is another way.
First, Go to
http://www.oracle.com/technetwork/java/javase/downloads/index.html
and choose JDK then choose the platform linux then you will found 2 files
jdk<version> .bin and jdk<version> rpm.bin
If you are using Ubuntu - like me - choose the first one
for more information check this
http://www.oracle.com/technetwork/java/javase/index-137561.html#linux
After download, you need to install the bin file - It is not executable - you need to install it from terminal
But first change the directory if the file still in the Downloads folder I moved it to HOME folder - I did not know why it did not work with me in the Downloads directory - then type this in the terminal
The IDE:
I was confused which IDE to download ,Although I prefer Eclipse ,I downloaded Netbeans.
It's very easy, Go to http://netbeans.org/downloads/index.html
choose your language and platform and the bundle you prefer and DOWNLOAD
this file is executable file which means that double click then next next next finish.
Now try your IDE and let's program...
Let's start with the JDK
Note: you can install and download both JDK and any IDE from the terminal directly but this is another way.
First, Go to
http://www.oracle.com/technetwork/java/javase/downloads/index.html
and choose JDK then choose the platform linux then you will found 2 files
jdk<version> .bin and jdk<version> rpm.bin
If you are using Ubuntu - like me - choose the first one
for more information check this
http://www.oracle.com/technetwork/java/javase/index-137561.html#linux
After download, you need to install the bin file - It is not executable - you need to install it from terminal
But first change the directory if the file still in the Downloads folder I moved it to HOME folder - I did not know why it did not work with me in the Downloads directory - then type this in the terminal
chmod a+x filename.bin
then./filename.bin
Now if every thing was OK you will find a folder with name JDK<version> in your HOME folder.The IDE:
I was confused which IDE to download ,Although I prefer Eclipse ,I downloaded Netbeans.
It's very easy, Go to http://netbeans.org/downloads/index.html
choose your language and platform and the bundle you prefer and DOWNLOAD
this file is executable file which means that double click then next next next finish.
Now try your IDE and let's program...
Comments
Post a Comment