Hi, I am Kundan I have made a project on NetBeans. And now I want to know that how can i run my project without NetBeans IDE,on other PC. Please help me it's important.
1.Install JDK and set the class path (environment variable) of JDK. To set the JAVA_HOME Variable: you need to specify the location of the java run time environment to support the Tomcat else Tomcat server can not run.
2.Install Tomcat on your system
3.Important thing ,while installing Tomcat you would notice a Tomcat Congiguration Setup.It consists of three input box a.Port No: by default it is 8080,u can customized it to some other say 8086 b.User Name:by default 'admin' ,u can customized it too. c.Password:U specify the password and remember it we need it later.
AND just follow the steps as shown in the installer window and it would be done.
Now ,open ur browser and in the address bar just type:localhost:8080 and hit enter.
1.u would see the tomcat home page 2.In the Left menu u would see "Tomact Manager" jsut click it. 3.A authentication dialog box appears,there u provide the username and passord u have specified in step b above.
4.Now a windows appear,just scroll to the bottom of that window and at the bottom u would notice DEPLOY WAR FILE OPTION.There u browse ur WAR FILE AND UPLOAD IT.AND done.U would see the deployed project inside the webapps folder of tomcat directory
U would find ur WAR file inside ur NeatBean Project "dist" folder right.***** In case still not able to fix just get back to me.....