Using java JRE is legal or not?

i want to purchase email for java, but i want to ask one thing before buying this. i tested your dll and for installing and working i need java runtime JRE. if i used JRE in my build (installer), is it legal?

i include JRE folder in my package and create DMG for MAC and i want to sale this app worldwide, is it legal, can you please tell me, so i can purchase your dll?

@marksmith1928,

Yes, it is legal. You may use JRE in your build.