Thursday, 1 August 2013

Installing JAVA AND Setting CLASS PATH


 Installing JAVA AND Setting CLASS PATH




  •        Install jdk 7.4(latest version) or any  other lower                    version.
  •        Set the class path for running the java program..
  •        Left click the my computer option.
  •       Click on the properties.
  •       Click on system properties.
  •       Click on advanced.
  •       Click on environment variable.
  •       Two different sections will be shown from lower section             select “path” and click on edit
  •        Open the location where jdk was installed and go inside              bin. (“C:\Program Files\Java\jdk1.7.0_04\bin”).
  •      Copy the address and paste it into variable value but be             careful not to delete previous entries and put”;”.
  •         Press OK.

After following these steps only you would be able to run a java program written in a simple text editor ,using dos comrade.
There are various other also various user friendly application which serves as a handy tool (net beans) in creating a java program and compiling it and running it without going through above stated points.

But as a beginner users are advised to create the program in notepad or any other text editors and compile them and run them through DOS. It will help in understanding java concept clearly.

Compiling and running a java program after the class path is set will be discussed in next post.....

Related Posts:

  • Data types in java   Primitive Data type in JAVA    Primitive data type can divided into three main categories:                                 &n… Read More
  • Relationship in java                                      &n… Read More
  • Multithreaded programming in Java java  supports  multithreaded programming. A multithreaded program contains more than one part that can run parallerly. Each part  is called a thread, and each thread defines a separate way of execution. The… Read More
  • Access modifers in java  Java's access specifiers are  : - 1. Public, 2. Private, 3.Default, and 4.Protected.  Java also defines a default access level. protected applies only when inheritance is involved. The other access specifiers… Read More
  • Top wesbites to learn Java Wish to create your software games and web applications .Here i suggest some resource for you. Now you habe to practice the things which you read theoretically. It will help to sharp your skills .Apart from us LANG-ADDA the… Read More

0 comments:

Post a Comment