April 20, 2020
Estimated Post Reading Time ~ 1 mins

Installing Hybris

Solution:
Hybris Installation
Follow the below instruction to install the Hybris environment.

Download JDk 8 from here
Accept license terms and conditions.
Download as per your windows bit (32 or 64)
Once downloaded, install jdk by double-clicking it. Follow the default instructions by clicking next.
Once installed, you should verify the installation in the command prompt.
setant
Download the Hybris from here. hybris-downlaod
Unzip the downloaded zip file to any location in your computer (other than C).
Go inside the folder hybris>bin>platform
Set environment for Ant. (.bat file for windows and .sh for Linux)
setantenv
setantenv2
Run ant clean all
setantenv3
It will ask for a config folder and template, just press enter for default development environment setup.
If you get below error then check ur java version. Hybris 6 supports Java 8.
java.lang.UnsupportedClassVersionError: de/hybris/ant/taskdefs/DbDriverValidator :
Unsupported major.minor version 52.0

Start Hybris server using the command (.bat file for windows and .sh for Linux) in screenshot after you see a build successful message.
serverstart
It will take some time to start the server. Ideally 10 minutes.
You will see a message saying, Server startup in ***** ms
serverstart2
Hit http://localhost:9001 from your browser.

Access the above url
make sure Toggle all checkbox is selected.
click on initialize button and confirm the initialization
hybris
This will take a considerable amount of time based on the system memory and processor as it creates new DB schema, tables and loads the configured data.
Wait till the initialization gets finished as shown in the below image.hybris1
Click on continue to login page.
hac

If you see the above screen, you have successfully installed the Hybris software in your local system.
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.