jnsereko
(Joshua Nsereko)
December 5, 2019, 7:42am
1
i have been trying to install OpenMRS SDK on windows 10 64 bit.
When i run this command “mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk”, the operation executes successfully as shown in the screen-shot below.!
image|690x431
But when i run this command: “mvn openmrs-sdk:setup”, i get erros stating “build Failure” as shown in the screen-shot below.!
I need some help from any of u guys.
mseaton
(Mike Seaton)
December 5, 2019, 8:05am
2
Hi @jnsereko ,
The error looks to me like this is due to a certificate problem. I have seen similar issues when using an older, unsupported version of Java (for example Oracle Java 8), in which the certificates are no longer sufficiently up to date. We have fixed this typically by switching to use OpenJDK 8. Hope this helps.
Best,
Mike
tendomart
(tendo kiiza Martyn)
December 5, 2019, 8:21am
3
@jnsereko and as Mike said you can get OpenJDK from https://openjdk.java.net/install/
ssmusoke
(Stephen Senkomago Musoke)
December 5, 2019, 9:52am
4
@jnsereko What do you have for the following
java -version
mvn -v
jnsereko
(Joshua Nsereko)
December 5, 2019, 12:32pm
5
java version “1.8.0_221”
Java™ SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot™ Client VM (build 25.221-b11, mixed mode, sharing)
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Maven\bin…
Java version: 1.8.0_45, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_45\jre
Default locale: en_US, platform encoding: Cp1252
OS name: “windows 8.1”, version: “6.3”, arch: “amd64”, family: “windows”
jnsereko
(Joshua Nsereko)
December 6, 2019, 7:27am
6
Thanks @mseaton ! let me try it out
ssmusoke
(Stephen Senkomago Musoke)
December 6, 2019, 6:24pm
7
You are using a JRE (runtime) instead of a JDK (Java Development Kit) which is the full version for development work
jnsereko
(Joshua Nsereko)
December 7, 2019, 6:49pm
8
the full version is JDK 8 (Oracle)
anyways i am getting started with using openjdk
jnsereko
(Joshua Nsereko)
December 12, 2019, 7:03pm
9
i have installed OpenJdk as u advised me. i also have MySQL 5.6 installed
But i dont know why;
The i cant type the password in the command prompt on a line that states"Please specify database password (-DdbPassword) (default: ’ '): "
i dont know why i keep on getting this error
herbert24
(Herbert Yiga)
December 13, 2019, 7:28am
11
what is your database username,is it -DbUser as to what i am seing??
ssmusoke
(Stephen Senkomago Musoke)
December 15, 2019, 4:39pm
14
Why not create a separate user apart from root and do not use a blank password
1 Like
jnsereko
(Joshua Nsereko)
December 18, 2019, 5:16am
15
i cant type in the password because the characters i have typed dont appear on the screen
herbert24
(Herbert Yiga)
December 18, 2019, 8:39am
16
when typing the characters never appear but they are captured,try typing in the correct ones and proceed
jwnasambu
(Juliet Wamalwa)
December 25, 2019, 11:45am
17
@jnsereko no character will appear on the screen just continue typing
jnsereko
(Joshua Nsereko)
March 15, 2020, 2:18pm
18
Hello All! Thanks @mseaton , @ssmusoke , @tendomart , @herbert24 , @jwnasambu for the support this problem was solved.
2 Likes
gcliff
(CLIFF GITA)
March 15, 2020, 2:25pm
19
jnsereko:
this problem was solved.
@jnsereko kindly share here how you solved the problem so that any other dev who faces the similar blocker in the future can easily checkout here for the solution
Thanks
jnsereko
(Joshua Nsereko)
March 15, 2020, 2:35pm
20
I downloaded and installed mysql-8.0.19-winx64 and OpenJDK 8 . Thats how i arrived to the solution. I left almost every thing at its default.
1 Like