web stats
Mirth Community - View Single Post - Installing Mirth on Ubuntu - A How To
View Single Post
Old 05-26-2018, 08:04 AM
jdalio jdalio is offline
Mirth Newb
Join Date: Oct 2013
Posts: 10
jdalio is on a distinguished road

Originally Posted by stormcel View Post
AFAIK you are supposed to use oracle java and not openjdk.
I remember in the past that it was an issue and that we were required to use the 'official' java release or face problems with the program.

That being said, here is my ubuntu procedure alteration:

-----Check Java version make sure it is 8.
 java -version
it should say something like:

java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
If it says 'OpenJDK' or some other java flavor, get the official release with the following:

	sudo add-apt-repository ppa:webupd8team/java
	sudo apt-get update
	sudo apt-get install oracle-java8-installer
	check with java -version
The recent installer I used was the script mirthconnect-3.5.2.b204-unix.sh
Just run it and follow the prompts.

I was evidently running from old instructions the last time I tried this and the .sh didn't work. I just removed my Java, JAVA_HOME env variable and Mirth Connect. Re-installed open java via:

sudo apt-get install oracle-java8-installer

Then installed Mirth via:

sh ./mirthconnect-3.5.1.b194-unix.sh

Rebooted server. All good. So no need to set the JAVA_HOME anymore. Wish Mirth would update their online documentation dated 2013. Thanks man.
Reply With Quote