Tuesday, August 20, 2019

Install the software and set the path :-

Install the software and set the path :-

Download the software from internet based on your operating system. The software is different from 32-bit operating and 64-bit operating system.

To download the software open the fallowing web site.
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
for 32-bit operating system please click on Windows x86 :- 32- bit operating system
for 64-bit operating system please click on Windows x64 :- 64-bit operating system

After installing the software the java folder is available in the fallowing location
Local Disk c: ------program Files--------java----jdk(java development kit),jre(java runtime environment)

To check whether the java is installed in your system or not go to the command prompt. To open the command prompt
Start ----------run------open: cmd-----ok

Command prompt is opened.
In the command prompt type :- javac
‘javac’ is not recognized is an internal or external command, operable program or batch file.
Whenever we are getting above information at that moment the java is installed but the java is not working properly.

C:/>javac
Whenever we are typing javac command on the command prompt

1) Operating system will pickup javac command search it in the internal operating system calls. The javac not available in the internal command list .
2) Then operating system goes to environmental variables and check is there any path is sets or not. up to now we are not setting any path. So operating system don’t know anything about javac command Because of this reason we are getting error message.
Hence we have to environmental variables. The main aim of the setting environmental variable is to make available the fallowing commands javac,java,javap (softwares) to the operating system.
To set the environmental variable:-
My Computer (right click on that) ---->properties----->Advanced--->Environment Variables---->
User variables--new---->variable name : Path
Variable value : C:\programfiles\java\jdk1.6.0_11\bin;.;
-------ok------ok
Now the java is working good in your system. open the command prompt to check once

C:>javac---------now list of commands will be displayed

JRE & JDK & JVM:

1) JRE and JDK these are installer while JVM is a bundle.
2) JRE contains only environment to execute the java program
3) JVM is come along with JDK and JRE .
4) The main purpose of the JVM executing the java program whenever we are typing the java command on the command prompt.

No comments:

Post a Comment

AME (Approval Management Engine)

AME (Approval Management Engine) : AME Stands for Oracle Approval Management Engine. AME is a self service web application that enables...