How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server

View previous topic View next topic Go down

How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server

Post by BIT0112-Rokon on Tue Feb 16, 2010 4:01 am

How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server


 Point by point  (First For Java1.6.0)



    
1.  Install 
Java(Any Version) in any drive and then (if in C drive OR in C:\Program
Files\Java\jdk1.6.0)




Copy the path then go to MyComputer---->
Properties---->Advance----> Environment Variables (Left side window  appears) ---->U get  Environment Variables window(Rignt  side window 
appears)----> Go to  System Variables--->  Click New 
-----> (right down window) in


 


Variable Name: -   JAVA_HOME


Variable Value: -   C:\Program Files\Java\jdk1.6.0


 


Click “ OK”






In Variables Column of System
Variables.  In this you  Path
select it and click Edit button  u get  do not change in Variable Name but add  bold item written in  Variable Value  and click ok--->okàOK 


 


Variable Name:   Path


Variable Value:   ;;%
JAVA_HOME %\ bin;;



 


Open   cmd and  write  javac if u get this window then  java class path is set u have not to set
every time .





Tomcat Server


First 
you can down load “apache-tomcat-6.0.16” and put it in appropriate drive
in my case it is c:





Then copy the address  “C:\apache-tomcat-6.0.16”


Again go to to MyComputer---->
Properties---->Advance----> Environment Variables (Left side window  appears) ---->U get  Environment Variables window(Rignt  side window 
appears)----> Go to  System Variables--->  Click New 
-----> (right down window) in






Variable Name: -   CATALINA_HOME


Variable Value: -   C:\apache-tomcat-6.0.16


 


Click “ OK”


In Variables Column of System
Variables.  In this you  Path
select it and click Edit button  u
get  do not change in Variable Name but
add  bold item written in  Variable Value  and click ok--->okàOK 


 


Variable Name:   Path


Variable Value:   ;;% CATALINA_HOME %\ bin;;


 


Open   cmd and  write 
“catalina run” if u get following window your server is start






Note: I copied this tutorial from http://4shared.com

_________________________________________________________________


Code Explosion Blog | Code Explosion Wiki | The Rokonoid | নির্ঝরিণী
avatar
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

View user profile http://blog.codexplo.org

Back to top Go down

Re: How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server

Post by BIT0112-Rokon on Tue Feb 16, 2010 4:29 am

If you face problem reading this tutorial... download it from hereCLICK THE LINK

_________________________________________________________________


Code Explosion Blog | Code Explosion Wiki | The Rokonoid | নির্ঝরিণী
avatar
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

View user profile http://blog.codexplo.org

Back to top Go down

Re: How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server

Post by BIT0122-Amit on Tue Feb 16, 2010 4:38 am

good one
Note: I copied this tutorial from http://4shared.com
and you are supposed to give the link from where you got the content, not the host name.

here it is :p
http://www.4shared.com/file/117690808/1112d2a5/How_To_Set_Environment_variabl.html?s=1

_________________________________________________________________
Adminship / Moderatorship is not about power, it is about Responsibility.

|About me|My Blog|
avatar
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

View user profile http://iitdu.forumsmotion.com

Back to top Go down

Re: How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server

Post by BIT0112-Rokon on Tue Feb 16, 2010 4:55 pm

yap.... thanks ... but if anyone search in that site, easily s/he will get the content. and so I didn't give the link. okay....

_________________________________________________________________


Code Explosion Blog | Code Explosion Wiki | The Rokonoid | নির্ঝরিণী
avatar
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

View user profile http://blog.codexplo.org

Back to top Go down

Re: How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum