hi so you can check your robot.cfg environment section and you will see something like.
<environment>
NIM_JRE_HOME = jre/jre8u102
NIM_JRE_HOME_1_6_0 = jre/jre6
NIM_JRE_HOME_1_7 = jre/jre7
NIM_JRE_HOME_1_8 = jre/jre8u102
</environment>
You then can change the startup section for your probe to be which ever version of java you need.
This can be done in the controller.cfg or in IM by using the edit feature on a probe
IE
<Startup Java>
to
<startup java 1.6.0>
or
<startup java 1.7>
or
<startup java 1.8>
hope this helps