JAVA for beginner

Java programming topics
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: JAVA for beginner

Post by Neo » Mon Nov 01, 2010 8:11 pm

I only run JRE (Java Runtime Environment) on my PC as I don't do Java development. I though this is enough to run NetBeans but it seems we need to install JDK (Java Development KIT). I have no idea why NetBeans require JDK since it is going to install one next on the installation.

Anyway, as NetBean installation states, go to http://java.sun.com/javase/downloads and download the JDK. I think you will have to register first. After the installation, you will find a folder (normally within Program Files) named as JDK x.x.x (version). Browse this folder to the installation.

Good luck!!!!
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

Re: JAVA for beginner

Post by Neo » Mon Nov 01, 2010 8:24 pm

See page http://netbeans.org/community/releases/69/install.html
The Java SE Development Kit (JDK) 6.0 Update 13 or later is required to install NetBeans IDE. The 6.9.1 version of the IDE can not be installed using JDK 5.0. You can download the latest update of JDK 6.0 at http://java.sun.com/javase/downloads.

The PHP, Ruby and C/C++ NetBeans bundles only require the Java Runtime Environment (JRE) 6 to be installed and run. However, if you are planning to use any of the Java features, you need JDK 6.0.
So if we use Java with NetBeans, JDK is required. Otherwise only JRE is needed.
User avatar
Face
Major
Major
Posts: 727
Joined: Thu Feb 18, 2010 5:06 pm
Location: SRI LANKA.KANDY.

Re: JAVA for beginner

Post by Face » Mon Nov 01, 2010 8:25 pm

I am downloading It now.NEO.75.89MB.
Download JDK & reg.png
Download JDK & reg.png (29.8 KiB) Viewed 4122 times
Download JDK & reg2.png
Download JDK & reg2.png (23.07 KiB) Viewed 4122 times
Download JDK & reg3.png
Download JDK & reg3.png (34.92 KiB) Viewed 4122 times
User avatar
Face
Major
Major
Posts: 727
Joined: Thu Feb 18, 2010 5:06 pm
Location: SRI LANKA.KANDY.

Re: JAVA for beginner

Post by Face » Mon Nov 01, 2010 9:17 pm

I got JDK & installed it.
JDK 6 instl 1 ec.png
JDK 6 instl 1 ec.png (41.47 KiB) Viewed 4120 times
JDK 6 instl 2 ec.png
JDK 6 instl 2 ec.png (49.02 KiB) Viewed 4120 times
JDK 6 instl 3 ec.png
JDK 6 instl 3 ec.png (48.41 KiB) Viewed 4120 times
I got JDK & then try to do in Netbean.
Install NETBEAN 5 ok ec.png
Install NETBEAN 5 ok ec.png (47 KiB) Viewed 4120 times
Install NETBEAN 6 ec.png
Install NETBEAN 6 ec.png (43.54 KiB) Viewed 4120 times
Install NETBEAN 7 ec.png
Install NETBEAN 7 ec.png (46.22 KiB) Viewed 4120 times
Install NETBEAN 8 ec.png
Install NETBEAN 8 ec.png (42.98 KiB) Viewed 4120 times
Install NETBEAN 9 ec.png
Install NETBEAN 9 ec.png (69.75 KiB) Viewed 4120 times
Now I have NETBEAN in my PC.I wish to start Now.
User avatar
Face
Major
Major
Posts: 727
Joined: Thu Feb 18, 2010 5:06 pm
Location: SRI LANKA.KANDY.

Re: JAVA for beginner

Post by Face » Mon Nov 01, 2010 11:53 pm

friends This is my first JAVA in NETBEAN.
first JAVA ec.png
first JAVA ec.png (108.65 KiB) Viewed 4116 times

Code: Select all

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package myfirstjava;

/**
 *
 * @author GAYAN
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        System.out.println("I will learn JAVA");
        // TODO code application logic here
    }

}
Post Reply

Return to “Java Programming”