Henrik,
Installing java anywhere outside of the top AwareIM folder will not affect AwareIM at all.
Note: If you plan on creating java plug-ins for Aware, using a newer version of java than what Aware uses could cause problems with the plug-in. For that reason, when I create plug-ins for aware I use the jave in AwareIM/JDK.