Change Openfire JRE after .deb install method

Hello All,

I recently have installed Openfire 3.9.3 via the .deb package on Ubuntu server 14.04. My issue is that while my server has JRE 1.8 installed, Openfire continues to use JRE 1.7. I have fully removed 1.7, but it is still using the packaged JRE that it came with. I would like it to instead use the servers 1.8 JRE for the added security bonuses since JRE 1.7 lacks TLS 1.2, TLS 2, and has SSL3 enabled by default for client based connections.

Is there any way to configure Openfire’s scripts after a .deb install to use the servers JRE instead of its own?

If not, is there a way to get Openfire running on JRE 1.8?

Many thanks in advance.

Fixed.

I just compiled from source, and ran it under a unprivlidged user. Worked fine.