Thursday, January 10, 2008

Liferay Installation 1 : Java & Liferay

1. Install Java and Set the Java path



Download Java Latest Version :

http://java.sun.com/javase/downloads/index.jsp


Install Java



To set the classpath for JAVA, ( class path for compile the Java program)


Go to : Start -Setting-Control Panel- System- Advanced-
Environment Variables


Under System Variable click New.

Variable Name : JAVA_HOME

Value : c:\Program Files\Java\jdk1.6.0_03

Click OK

Then set path, ( path for run the Java program)



Under the System variable, Click path and Edit

Type %JAVA_HOME%\bin; ( Don't forget to give semicolon )


To confirm that Java path is correct :



Go to command prompt type java -version

It will display the version of java..then you set the path successfully.

-------------------------------------------------

Download Liferay-Tomcat-Bundle zip file from here.

http://www.liferay.com/web/guest/downloads

The file look like this :

liferay-portal-tomcat-jdk5-*.zip


Create folder structure : c:\training\tomcat

Unzip Tomcat to C:\training\tomcat

Goto c:\training\tomcat\bin

Double click startup.bat

Then open your web browser and type http://localhost:8080




If you get this screenshot, then you have installed liferay sucessfully

- Gnaniyar

1 comment:

Anonymous said...

Well said.