Starting a server with direct java path?

I can get my modded server working by using a direct path to java 8 in the startup.sh but I would like to run it though MineOS. Is there any way to do this? Since I also run other servers I would like to avoid reverting to an older version of java all around.

Thanks for any help!