# \#java

**URL:** https://talk.openmrs.org/tag/java/186.md

[Latest](https://talk.openmrs.org/latest.md) · [Categories](https://talk.openmrs.org/categories.md) · [Tags](https://talk.openmrs.org/tags.md)

---

## [🚀 OpenMRS Platform 2.8.0 is Now Available!](https://talk.openmrs.org/t/openmrs-platform-2-8-0-is-now-available/46865)

<div class="topic-metadata">

**Author:** [@suubi7](https://talk.openmrs.org/u/suubi7)\
**Replies:** 38\
**Last updated:** [September 29, 2025, 8:52am UTC](https://talk.openmrs.org/t/openmrs-platform-2-8-0-is-now-available/46865 "2025-09-29T08:52:06Z")

</div>

Hello OpenMRS Community! :waving\_hand: We’re thrilled to announce that OpenMRS Platform 2.8.0 is officially released and ready for production use! :tada: After extensive testing through our alpha and beta phases, we’re…

---

## [Planning Java 21 Migration for OpenMRS Modules](https://talk.openmrs.org/t/planning-java-21-migration-for-openmrs-modules/45713)

<div class="topic-metadata">

**Author:** [@wikumc](https://talk.openmrs.org/u/wikumc)\
**Replies:** 38\
**Last updated:** [June 4, 2025, 6:41pm UTC](https://talk.openmrs.org/t/planning-java-21-migration-for-openmrs-modules/45713 "2025-06-04T18:41:16Z")

</div>

Hey everyone, As many of you know, we’re preparing to release a completely revamped OpenMRS Platform 3.0.0. This major update will modernize the OpenMRS Core, including a migration to Java 21 as the minimum required vers…

---

## [Switching from Java 8 to Java 17 as the minimum required for the core platform and modules!](https://talk.openmrs.org/t/switching-from-java-8-to-java-17-as-the-minimum-required-for-the-core-platform-and-modules/45188)

<div class="topic-metadata">

**Author:** [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Replies:** 19\
**Last updated:** [May 2, 2025, 6:20am UTC](https://talk.openmrs.org/t/switching-from-java-8-to-java-17-as-the-minimum-required-for-the-core-platform-and-modules/45188 "2025-05-02T06:20:43Z")

</div>

On today’s platform call, we discussed the following proposal that we would like to share with the whole community and ask for feedback: Major upgrades of Hibernate, Spring, and a few other libraries, require us to stre…

---

## [Using Java 11 with webservices.rest](https://talk.openmrs.org/t/using-java-11-with-webservices-rest/43229)

<div class="topic-metadata">

**Author:** [@edison](https://talk.openmrs.org/u/edison)\
**Replies:** 14\
**Last updated:** [July 27, 2024, 6:37pm UTC](https://talk.openmrs.org/t/using-java-11-with-webservices-rest/43229 "2024-07-27T18:37:50Z")

</div>

Can I run this cd openmrs-module-webservices.rest && mvn clean install using Java 11 or it only works with Java 8. Any one to kindly help because everything seems to be failing @jwnasambu @ibacher @dkayiwa @jnsereko @jo…

---

## [Need assistance with setting JAVA\_HOME environment variable](https://talk.openmrs.org/t/need-assistance-with-setting-java-home-environment-variable/43059)

<div class="topic-metadata">

**Author:** [@nicomani](https://talk.openmrs.org/u/nicomani)\
**Replies:** 2\
**Last updated:** [June 27, 2024, 7:49pm UTC](https://talk.openmrs.org/t/need-assistance-with-setting-java-home-environment-variable/43059 "2024-06-27T19:49:27Z")

</div>

Hey all, I am currently facing an issue related to the JAVA\_HOME environment variable is not set\_, while working on a development project.When attempting to execute certain commands, I encounter an \*error stating that J…

---

## [Issues with Java Compatibility and Maven Errors in patient-flags Module](https://talk.openmrs.org/t/issues-with-java-compatibility-and-maven-errors-in-patient-flags-module/40870)

<div class="topic-metadata">

**Author:** [@k4pran](https://talk.openmrs.org/u/k4pran)\
**Replies:** 3\
**Last updated:** [November 10, 2023, 8:23am UTC](https://talk.openmrs.org/t/issues-with-java-compatibility-and-maven-errors-in-patient-flags-module/40870 "2023-11-10T08:23:07Z")

</div>

Hello, I’ve encountered several issues while trying to update the patient-flags module, particularly in relation to the cql-api module, and I wanted to check if I’m using them correctly or if there’s a known compatibili…

---

## [Moving OpenMRS beyond Java 8](https://talk.openmrs.org/t/moving-openmrs-beyond-java-8/38948)

<div class="topic-metadata">

**Author:** [@burke](https://talk.openmrs.org/u/burke)\
**Replies:** 3\
**Last updated:** [March 13, 2023, 2:11pm UTC](https://talk.openmrs.org/t/moving-openmrs-beyond-java-8/38948 "2023-03-13T14:11:04Z")

</div>

It has been more than a year since Java 8’s end of life. While there is still extended support for a few more years and OpenJDK 8 (extended) support continues until Nov 2026, environments are going to continue dropping s…

---

## [Resources for Learning Java](https://talk.openmrs.org/t/resources-for-learning-java/1333)

<div class="topic-metadata">

**Author:** [@burke](https://talk.openmrs.org/u/burke)\
**Replies:** 26\
**Last updated:** [January 13, 2023, 2:18pm UTC](https://talk.openmrs.org/t/resources-for-learning-java/1333 "2023-01-13T14:18:34Z")

</div>

At AMPATH, we have some developers starting who are new to programming in Java, so we are looking for some good resources (websites, books, free online tutorials, etc.) to get them familiar with programming in Java befor…

---

## [Cannot install openmrs on mac monterey (Intel chip)](https://talk.openmrs.org/t/cannot-install-openmrs-on-mac-monterey-intel-chip/38202)

<div class="topic-metadata">

**Author:** [@shyam1ss15](https://talk.openmrs.org/u/shyam1ss15)\
**Replies:** 2\
**Last updated:** [January 2, 2023, 12:49pm UTC](https://talk.openmrs.org/t/cannot-install-openmrs-on-mac-monterey-intel-chip/38202 "2023-01-02T12:49:04Z")

</div>

I tried download from sourceforge then running jar file from terminal, when I tried clicking on install with sample data or install with no data getting error as follow. MysqldResource\] launching mysqld (driver\_launched…

---

## [Help needed with dental module Open DentIS](https://talk.openmrs.org/t/help-needed-with-dental-module-open-dentis/37160)

<div class="topic-metadata">

**Author:** [@ahmedebraheem](https://talk.openmrs.org/u/ahmedebraheem)\
**Replies:** 0\
**Last updated:** [July 27, 2022, 4:26pm UTC](https://talk.openmrs.org/t/help-needed-with-dental-module-open-dentis/37160 "2022-07-27T16:26:33Z")

</div>

I have found this article about using mrs in dental practice !! I haven’t any know with coding and i want to use this module but i don’t know how Could any one help plz !! nila College of Arts and Sciences Department of…

---

## [OCL Module: Should we convert to JSP or MF-ize?](https://talk.openmrs.org/t/ocl-module-should-we-convert-to-jsp-or-mf-ize/36040)

<div class="topic-metadata">

**Author:** [@grace](https://talk.openmrs.org/u/grace)\
**Replies:** 6\
**Last updated:** [March 9, 2022, 4:52pm UTC](https://talk.openmrs.org/t/ocl-module-should-we-convert-to-jsp-or-mf-ize/36040 "2022-03-09T16:52:28Z")

</div>

Community, I need your advice with how we should handle the OCL Module. Situation: We want to be able to remove the OWA Module from our 3.x RefApp distro, and currently it’s just the OCL Module preventing this. The OCL …

---

## [Interfaces and implementations in OpenMRS SDK](https://talk.openmrs.org/t/interfaces-and-implementations-in-openmrs-sdk/33597)

<div class="topic-metadata">

**Author:** [@bistenes](https://talk.openmrs.org/u/bistenes)\
**Replies:** 0\
**Last updated:** [May 27, 2021, 7:47pm UTC](https://talk.openmrs.org/t/interfaces-and-implementations-in-openmrs-sdk/33597 "2021-05-27T19:47:07Z")

</div>

Anyone know why the OpenMRS SDK has Wizard and Jira as interfaces which are only implemented by DefaultWizard and DefaultJira? What’s the point? I’m inclined to get rid of the Wizard interface, in part because it is, as…

---

## [Openmrs : Heap space issue. Out of memory error](https://talk.openmrs.org/t/openmrs-heap-space-issue-out-of-memory-error/27990)

<div class="topic-metadata">

**Author:** [@sameermotwani11](https://talk.openmrs.org/u/sameermotwani11)\
**Replies:** 5\
**Last updated:** [April 16, 2020, 5:49pm UTC](https://talk.openmrs.org/t/openmrs-heap-space-issue-out-of-memory-error/27990 "2020-04-16T17:49:11Z")

</div>

Hi, One of our servers has been failing with the Heap space error. The openmrs app is running inside a docker container. The server is 8Gb and I see the heap size inside the openmrs app container is 1.69GB. Is there a w…

---

## [Why some collections are modified in java 8 and some are not](https://talk.openmrs.org/t/why-some-collections-are-modified-in-java-8-and-some-are-not/21155)

<div class="topic-metadata">

**Author:** [@andu033](https://talk.openmrs.org/u/andu033)\
**Replies:** 4\
**Last updated:** [January 2, 2019, 9:55am UTC](https://talk.openmrs.org/t/why-some-collections-are-modified-in-java-8-and-some-are-not/21155 "2019-01-02T09:55:13Z")

</div>

I have a question. I saw that some blocks are written like for(element e : elements)e.function(); and some are written like Arrays.stream(elements).forEach(e-\>e.function()); Witch writing is better ? The other option sho…

---

## [Oracle will charge for Java -- impact to OpenMRS?](https://talk.openmrs.org/t/oracle-will-charge-for-java-impact-to-openmrs/19992)

<div class="topic-metadata">

**Author:** [@amarcelo](https://talk.openmrs.org/u/amarcelo)\
**Replies:** 4\
**Last updated:** [December 17, 2018, 7:14am UTC](https://talk.openmrs.org/t/oracle-will-charge-for-java-impact-to-openmrs/19992 "2018-12-17T07:14:29Z")

</div>

Dear friends, What is the impact of this change in Oracle’s policy for OpenMRS development strategy? Is there a separate thread discussing this? https://www.itassetmanagement.net/2018/05/01/oracle-to-charge-for-java-f…

---

## [Java Style: null collection](https://talk.openmrs.org/t/java-style-null-collection/19770)

<div class="topic-metadata">

**Author:** [@ionkin42](https://talk.openmrs.org/u/ionkin42)\
**Replies:** 5\
**Last updated:** [September 11, 2018, 5:52am UTC](https://talk.openmrs.org/t/java-style-null-collection/19770 "2018-09-11T05:52:51Z")

</div>

Question: Should we avoid return a null collections? I’m see a at least 4 problems at one class, when we return null list, and without checking using them. E.g., see api: org.openmrs.module.ModuleFactory#getModulesInStar…

---

## [Java Conventions are a little outdated](https://talk.openmrs.org/t/java-conventions-are-a-little-outdated/19721)

<div class="topic-metadata">

**Author:** [@ionkin42](https://talk.openmrs.org/u/ionkin42)\
**Replies:** 7\
**Last updated:** [September 8, 2018, 5:43pm UTC](https://talk.openmrs.org/t/java-conventions-are-a-little-outdated/19721 "2018-09-08T17:43:22Z")

</div>

Java Conventions for String concatenation seems to old, if the concatenation is not in a loop, because the Java compiler silently converts String a = b + c + d; into String a = new StringBuilder(b).append(c).appe…

---

## [Bed Management Bamboo 'Release' stage not using Java 8](https://talk.openmrs.org/t/bed-management-bamboo-release-stage-not-using-java-8/13856)

<div class="topic-metadata">

**Author:** [@mksd](https://talk.openmrs.org/u/mksd)\
**Replies:** 2\
**Last updated:** [October 25, 2017, 9:36am UTC](https://talk.openmrs.org/t/bed-management-bamboo-release-stage-not-using-java-8/13856 "2017-10-25T09:36:21Z")

</div>

Hi @cintiadr, Wondering if you could help here. I was attempting to release the Bed Management module when I realised that the ‘Release’ stage is failing because somehow it uses Java 7 instead of Java 8. See the last f…

---

## [JUnit test fails with Maven but not in Eclipse](https://talk.openmrs.org/t/junit-test-fails-with-maven-but-not-in-eclipse/13402)

<div class="topic-metadata">

**Author:** [@flobue](https://talk.openmrs.org/u/flobue)\
**Replies:** 4\
**Last updated:** [September 21, 2017, 6:59pm UTC](https://talk.openmrs.org/t/junit-test-fails-with-maven-but-not-in-eclipse/13402 "2017-09-21T18:59:05Z")

</div>

Hello, I've been working on the issue https://issues.openmrs.org/browse/TRUNK-5027 and wanted to finish up my work by testing with mvn clean install. I encountered an error in a test I didn't think was connected to my …

---

## [REST Module Install Error](https://talk.openmrs.org/t/rest-module-install-error/10665)

<div class="topic-metadata">

**Author:** [@bhashinee](https://talk.openmrs.org/u/bhashinee)\
**Replies:** 3\
**Last updated:** [March 21, 2017, 8:29pm UTC](https://talk.openmrs.org/t/rest-module-install-error/10665 "2017-03-21T20:29:11Z")

</div>

I successfully built the module and openmrs-contrib-docs as given in the instructions. Then I tried installing the openMRS as given in https://wiki.openmrs.org/display/docs/Installing+OpenMRS . I was able to successfully…

---

## [Error in newly created module (update)](https://talk.openmrs.org/t/error-in-newly-created-module-update/9989)

<div class="topic-metadata">

**Author:** [@zachraduban](https://talk.openmrs.org/u/zachraduban)\
**Replies:** 0\
**Last updated:** [February 9, 2017, 2:57pm UTC](https://talk.openmrs.org/t/error-in-newly-created-module-update/9989 "2017-02-09T14:57:18Z")

</div>

This has been solved.

---

## [Running Standalone of 2.0 on OS X with Java 1.8](https://talk.openmrs.org/t/running-standalone-of-2-0-on-os-x-with-java-1-8/7543)

<div class="topic-metadata">

**Author:** [@sscotti](https://talk.openmrs.org/u/sscotti)\
**Replies:** 8\
**Last updated:** [August 8, 2016, 2:32pm UTC](https://talk.openmrs.org/t/running-standalone-of-2-0-on-os-x-with-java-1-8/7543 "2016-08-08T14:32:00Z")

</div>

MRS 2.0 I am just curious about MRS and if it has support for a RIS with HL7 interface and possibly some DICOM PACS integration. I'd like to install the standalone on a Mac. I tried running it and I get an error, pos…

---

## [SDK: The JDK 1.7.0\_79 is not compatible with OpenMRS Platform 2.3.](https://talk.openmrs.org/t/sdk-the-jdk-1-7-0-79-is-not-compatible-with-openmrs-platform-2-3/7337)

<div class="topic-metadata">

**Author:** [@mksd](https://talk.openmrs.org/u/mksd)\
**Replies:** 11\
**Last updated:** [July 20, 2016, 9:03am UTC](https://talk.openmrs.org/t/sdk-the-jdk-1-7-0-79-is-not-compatible-with-openmrs-platform-2-3/7337 "2016-07-20T09:03:19Z")

</div>

Hi all, @raff, Application Name: SDK Version Number: 3.0.0 Question: Is it normal that I am getting this all of a sudden when starting Jetty? The JDK 1.7.0\_79 is not compatible with OpenMRS Platform 2.3. Please us…

---

## [Integrating a JAR file with OpenMRS](https://talk.openmrs.org/t/integrating-a-jar-file-with-openmrs/6416)

<div class="topic-metadata">

**Author:** [@nipun](https://talk.openmrs.org/u/nipun)\
**Replies:** 13\
**Last updated:** [June 9, 2016, 4:06am UTC](https://talk.openmrs.org/t/integrating-a-jar-file-with-openmrs/6416 "2016-06-09T04:06:18Z")

</div>

HI, I am developing a Module and it requires a Pedigree Tree Drawing functionality. I found the most suitable project for pedigree drawing Pelican Pedigree. But couldn't link OpenMRS with the Java program. Is there anywa…

---

## [Unable to execute Unit Tests on a form in the legacyui module](https://talk.openmrs.org/t/unable-to-execute-unit-tests-on-a-form-in-the-legacyui-module/4279)

<div class="topic-metadata">

**Author:** [@bholagabbar](https://talk.openmrs.org/u/bholagabbar)\
**Replies:** 0\
**Last updated:** [January 13, 2016, 1:05pm UTC](https://talk.openmrs.org/t/unable-to-execute-unit-tests-on-a-form-in-the-legacyui-module/4279 "2016-01-13T13:05:40Z")

</div>

Application Name:OpenMRS Legacy-UI Module Version Number: Latest Build Question: I am working on the LUI-45 ticket. I have made significant progress and actually fixed the issue. However, I have run into a major pr…

---

## [OpenMRS freelance developers needed by tech startup](https://talk.openmrs.org/t/openmrs-freelance-developers-needed-by-tech-startup/4164)

<div class="topic-metadata">

**Author:** [@mksd](https://talk.openmrs.org/u/mksd)\
**Replies:** 0\
**Last updated:** [January 5, 2016, 7:25am UTC](https://talk.openmrs.org/t/openmrs-freelance-developers-needed-by-tech-startup/4164 "2016-01-05T07:25:02Z")

</div>

Dear all, As a startup involved with OpenMRS projects, we are in search of freelance OpenMRS developers to complement our team and increase or response capability: Please find more details on our website. Work will…

---

## [Why do I get a "ASM ClassReader failed to parse class file" error with Java 8?](https://talk.openmrs.org/t/why-do-i-get-a-asm-classreader-failed-to-parse-class-file-error-with-java-8/3555)

<div class="topic-metadata">

**Author:** [@jbroeck](https://talk.openmrs.org/u/jbroeck)\
**Replies:** 2\
**Last updated:** [November 3, 2015, 3:44pm UTC](https://talk.openmrs.org/t/why-do-i-get-a-asm-classreader-failed-to-parse-class-file-error-with-java-8/3555 "2015-11-03T15:44:05Z")

</div>

I have attempted to download both OpenMRS standalone 2.2 and 2.3 onto my MacOSX 10.10.5 with Java 8 downloaded and have gotten error messages each time: Open MRS not able to start ASM ClassReader failed to parse class f…

---

## [Platform 2.0: webservices.rest & Java 8 support](https://talk.openmrs.org/t/platform-2-0-webservices-rest-java-8-support/3395)

<div class="topic-metadata">

**Author:** [@mogoodrich](https://talk.openmrs.org/u/mogoodrich)\
**Replies:** 7\
**Last updated:** [October 28, 2015, 2:59am UTC](https://talk.openmrs.org/t/platform-2-0-webservices-rest-java-8-support/3395 "2015-10-28T02:59:42Z")

</div>

I see that we have added a 2.0-omod subproject to the webservices.rest to provide support for Platform 2.0. This new 2.0-omod subproject is compiled using Java 8, assumedly because Platform 2.0 will require Java 8. T…

---

## [OpenMRS doctoral student in Berlin (Germany)](https://talk.openmrs.org/t/openmrs-doctoral-student-in-berlin-germany/3236)

<div class="topic-metadata">

**Author:** [@sophie\_dabbert](https://talk.openmrs.org/u/sophie_dabbert)\
**Replies:** 0\
**Last updated:** [October 7, 2015, 3:02pm UTC](https://talk.openmrs.org/t/openmrs-doctoral-student-in-berlin-germany/3236 "2015-10-07T15:02:42Z")

</div>

Position for 1 doctoral student (2 years) is offered. Location: Berlin (Germany); Charité - Universitätsmedizin Berlin Description of duties: The task of the successful candidate will be to develop modules for OpenMRS …

---

## ["Unable to locate the Javac Compiler" when building with Eclipse](https://talk.openmrs.org/t/unable-to-locate-the-javac-compiler-when-building-with-eclipse/2484)

<div class="topic-metadata">

**Author:** [@psin0609](https://talk.openmrs.org/u/psin0609)\
**Replies:** 4\
**Last updated:** [July 16, 2015, 1:52pm UTC](https://talk.openmrs.org/t/unable-to-locate-the-javac-compiler-when-building-with-eclipse/2484 "2015-07-16T13:52:13Z")

</div>

\[INFO\] Scanning for projects... \[INFO\] ------------------------------------------------------------------------ \[INFO\] Reactor Build Order: \[INFO\] \[INFO\] OpenMRS \[INFO\] openmrs-tools \[INFO\] openmrs-test \[INFO\] openmrs-a…

[Next page](https://talk.openmrs.org/tag/java/186.md?match_all_tags=true&page=1&tags%5B%5D=java)
