Foren

Installation of Liferay 6.2 on My laptop

irfan khan, geändert vor 7 Jahren.

Installation of Liferay 6.2 on My laptop

New Member Beiträge: 15 Beitrittsdatum: 18.02.17 Neueste Beiträge
i download Liferay Portal 6.2 CE GA4 and after download i go to tomcate/bin/startup.bat file to run the setup but this do nothing.Please how i configure the liferay on my personal computer.
thumbnail
Olaf Kock, geändert vor 7 Jahren.

RE: Installation of Liferay 6.2 on My laptop

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
irfan khan:
i download Liferay Portal 6.2 CE GA4 and after download i go to tomcate/bin/startup.bat file to run the setup but this do nothing.Please how i configure the liferay on my personal computer.


You might want to start with the latest version. And if you can't use 7.0, why don't you use at least 6.2 GA6, which has several bugfixes over the one that you try to install.

On Windows, Tomcat is supposed to open another command line that contains the webserver. After a while the browser would show http://localhost:8080/
If this doesn't happen, you can open a command line, cd into the tomcat/bin directory and, instead of startup.bat, execute catalina.bat run. This will run tomcat in the same window and keep any error message in the current console.

Note: You need Java installed and configured properly, but if that's the issue, the mentioned method will clearly point it out.
irfan khan, geändert vor 7 Jahren.

RE: Installation of Liferay 6.2 on My laptop

New Member Beiträge: 15 Beitrittsdatum: 18.02.17 Neueste Beiträge
This site can’t be reached

localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
irfan khan, geändert vor 7 Jahren.

RE: Installation of Liferay 6.2 on My laptop

New Member Beiträge: 15 Beitrittsdatum: 18.02.17 Neueste Beiträge
Sir thanks for ur reply...in command prompt u want to go to folder where i download the liferay folder???? second thing is java is automcatically not download with liferay? if not then first plz provide java link to install it. and at last plz mention step by step installation process ...i have win 7
thumbnail
Olaf Kock, geändert vor 7 Jahren.

RE: Installation of Liferay 6.2 on My laptop

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
irfan khan:
Sir thanks for ur reply...in command prompt u want to go to folder where i download the liferay folder???? second thing is java is automcatically not download with liferay? if not then first plz provide java link to install it. and at last plz mention step by step installation process ...i have win 7



  • Find the directory where you installed/unzipped Liferay in. Let's assume it's C:\Liferay\
  • Hit the Windows-key and R (together), enter cmd as the command that pops up
  • type cd C:\Liferay\ (substitute with your actual directory)
  • You're now "in" the directory where Liferay is installed.
  • type cd tomcat-x-y\bin (but replace x-y with the actual version number of the tomcat bundled in your installation)
  • type catalina.bat run


You can easily google for "java download". Hint: It's on oracle.com. Choose a Java 8 JDK. As I'm not sure that 6.2 GA4 is Java8-compatible: Use GA6 as I mentioned above. Java7 is discontinued.
irfan khan, geändert vor 7 Jahren.

RE: Installation of Liferay 6.2 on My laptop

New Member Beiträge: 15 Beitrittsdatum: 18.02.17 Neueste Beiträge
when i run catalina.bat its return....
The JRE_HOME environment variable is not defined correctly
This environment variable is needed to run this program
thumbnail
Olaf Kock, geändert vor 7 Jahren.

RE: Installation of Liferay 6.2 on My laptop

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
irfan khan:
The JRE_HOME environment variable is not defined correctly
This environment variable is needed to run this program


  • Did you install Java? What's the output when you type java -version
  • If you installed Java after starting this command line: Close it and open a new one, repeating all the steps
irfan khan, geändert vor 7 Jahren.

RE: Installation of Liferay 6.2 on My laptop

New Member Beiträge: 15 Beitrittsdatum: 18.02.17 Neueste Beiträge
Sir how to set jre-home and yes I install Java jdk 8
thumbnail
Jennis Vaishnav, geändert vor 7 Jahren.

RE: Installation of Liferay 6.2 on My laptop

Junior Member Beiträge: 59 Beitrittsdatum: 01.02.17 Neueste Beiträge
irfan khan:
Sir how to set jre-home and yes I install Java jdk 8


Step by step installation Of liferay 7 on windows

Try to use liferay 7, as it is the latest version of liferay, See where you missed the journey!
irfan khan, geändert vor 7 Jahren.

RE: Installation of Liferay 6.2 on My laptop

New Member Beiträge: 15 Beitrittsdatum: 18.02.17 Neueste Beiträge
Thanks for ur reply..But i download Liferay with Tomcat ...Don't need any IDE and Ant i think. i download sdk 8 and install after that i run the script from the Liferay i download.but error give jre-home not set....plz i want to install with default setting only for the practice.
irfan khan, geändert vor 7 Jahren.

RE: Installation of Liferay 6.2 on My laptop

New Member Beiträge: 15 Beitrittsdatum: 18.02.17 Neueste Beiträge
Hi Expert....I am still in trouble....
i have set Java-home and Jre-Home as
JAVA-HOME=C:\Program Files\Java\jdk1.8.0_121
JRE-HOME=C:\Program Files\Java\jre7
After this i go to tomecate download folder in command prompt and run this as
C:\Users\Irfan\Downloads\Compressed\liferay-portal-tomcat-6.2-ce-ga4-20150416163831865\liferay-portal-6.2-ce-ga4\tomcat-7.0.42\bin\catalina run

but still the this error return...
jre-home envirement variable is not set correctly..this envirement variable is need to run this programe ....plz help.....i want to set up on my laptop for practice purpose.
thumbnail
Jorge Díaz, geändert vor 7 Jahren.

RE: Installation of Liferay 6.2 on My laptop

Liferay Master Beiträge: 753 Beitrittsdatum: 09.01.14 Neueste Beiträge
Both JRE_HOME and JAVA_HOME should point to same version Java 7 or Java 8. In your setup, you are mixing different versions.

You should also execute "set" command before executing Tomcat in order to check environment variables ("set" in Windows, "env" in Linux)

Check that JAVA_HOME and JRE_HOME values are displayed and folders are correct.