06-23-2020 05:47 PM
I have a issue configuring my development environment. I followed these steps. https://docs.alfresco.com/5.1/tasks/alfresco-sdk-tutorials-all-in-one-archetype.html But when I run the run.sh file I have this error.
How I can solve it?
06-29-2020 11:22 AM
Did you configure a JDK for your project?
I don't really know how to do it in Eclipse but StackOverflow says:
https://stackoverflow.com/questions/13635563/setting-jdk-in-eclipse
06-29-2020 01:38 PM
Seems like you have not set the JAVA_HOME and Not selected JDK Path in eclipse.
First step, set the java home. Follow this URL: https://confluence.atlassian.com/conf59/setting-the-java_home-variable-in-windows-792499849.html
Second step, set the Jdk path in eclipse. By default eclipse takes jre from environment variable.
Look at this post, to setup eclipse with JDK: https://www.gamefromscratch.com/post/2011/11/15/Telling-Eclipse-to-use-the-JDK-instead-of-JRE.aspx
https://www.youtube.com/watch?v=S5xeXawYgK0
Once, you are done with these steps, close all terminals and close eclipse. Start the eclipse again and try performing the steps documented here: https://docs.alfresco.com/5.2/tasks/sdk-develop-eclipse.html
I think you need to jump to Step 9 directly since you have already generated the project and imported in eclipse.
06-30-2020 11:24 AM
Hi@Jendert
Thank you very much for your help. I managed to solve my problem and now I have my development environment ready.
Explore our Alfresco products with the links below. Use labels to filter content by product module.