Sunday, 4 December 2016

Setting the Class Path in JAVA

Setting the  Class Path in JAVA
In order to use the java tools in the MSDOS and in order to use the java tools by the other software such as web server, IDE’s etc.


They are two ways to set the path
  1. Temporary path setting:-
    Set path = C:\Program Files\Java\jdk 1.8.0\bin

    [Note: - Temporary path work only for the current session of the DOS ]


    To view the entire path those are already set in MSDOS prompt
    Set path 

  2. Permanent path setting
  3.    Copy the java\bin path.
             Right click on my computer --------->>Select properties
             Advance System Setting --------->>
             Select Environment variables.
             Select path variable ------->> Edit ------>> paste path ---->> OK.

No comments:

Post a Comment