Welcome new comers for JAVA. In this
post I’m trying to give some basic ideas for you at the first
level. I’m sure you will bump into more thrilling experiences in
future.
What is JAVA?
JAVA is a Platform Independent
Language; therefore you can write & execute the program in any
operating system (Anywhere – Windows, UNIX, Linux etc)
How to download JAVA?
If you are a Windows user before
downloading JAVA first find out whether the system is 32 bit or 64
bit
There are some ways to find out it
- Start >Run>dxdiag
Under SYSTEM tab,
System Operation the version is found can be found in Operating
System:
- Start>Run>System Information
The bit version can be found at SYSTEM TYPE
Here is the step to download JAVA :-
http://www.oracle.com
> Downloads >JAVA for Developers >JAVA Platform >
& then select the version you
need.
If you have a problem about the version
that you must download,
refer
http://www.JAVA.com/en/download/faq/JAVA_win64bit.xml#verify browser
http://www.JAVA.com/en/download/faq/JAVA_win64bit.xml#verify browser
A bit old link, but it really helped me
personally.
Then install JAVA to your PC
How to check the installed JAVA version
Here is a simple program for Windows
users to check whether they have installed the correct version
class Bitversion
{
public static void main(String args[])
{
System.out.println("version
="+ System.getProperty("sun.arch.data.model"));
}
}
Setting the PATH
It is recommended to set the path
initially before starting your work.
At the Command Prompt, you have to set
the path
PATH = C:\Program
Files\JAVA\jdk1.7.0_05\bin
But this temporary you have to set it
again & again
.
To set the path permanent follow the
steps below
Control Panel>
System>Advanced>Environmental Variables>System
Variables>Path>edit
In var value add the location of your
JDK bin folder
(Do not delete the things inside add
a semi colon [ ; ]
then put the address beside it)
No comments:
Post a Comment
"You can always tell a real friend: when you've made a fool of yourself he doesn't feel you've done a permanent job."
- Laurence J. Peter
A friend always guide you to your destination, without leaving you in darkness...
Here I am, waiting for your precious comment, which gives strength to my writing.