Sunday, January 18, 2015

Creating the path and the class path

Follow these steps to create the path and the class path



1) Goto system properties and the select "Advance System Settings"


2) Click the "Advanced" Menu and the select "Environmental Variables". Then the below window will open


3) Then click new under "User Variables for Administrator"



4) The above shown window will open. Copy the path of the jdk bin file and the appserver bin file.
Eg-C:\Program Files\Java\jdk1.7.0_40\bin;C:\Sun\AppServer\bin;


5) Then in the same manner set the "classpath" here set the path of the "lib" file and the "j2ee.jar" file in the appserver file.
Eg-C:\Program Files\Java\jdk1.7.0_21;C:\Sun\AppServer\lib\j2ee.jar


6) Then click "OK" to finish



No comments:

Post a Comment