IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

2 posters

Go down

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

Post by BIT0112-Rokon 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)
How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server 110



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”
How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server Home110





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 .How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server Home310





Tomcat Server


First 
you can down load “apache-tomcat-6.0.16” and put it in appropriate drive
in my case it is c:How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server Home410





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
How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server Home510





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 startHow To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server 610






Note: I copied this tutorial from http://4shared.com
BIT0112-Rokon
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

http://blog.codexplo.org

Back to top Go down

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

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

If you face problem reading this tutorial... download it from hereCLICK THE LINK
BIT0112-Rokon
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

http://blog.codexplo.org

Back to top Go down

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

Post by BIT0122-Amit 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
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

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

Post by BIT0112-Rokon 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....
BIT0112-Rokon
BIT0112-Rokon
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : O+
Posts : 673
Points : 1269

http://blog.codexplo.org

Back to top Go down

How To Set Environment(Class Path) variable permanently For JAVA And Tomcat Server Empty 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

Back to top

- Similar topics

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