I don't know what GridWorld is, so my help is going to be problematic. First, unless I misunderstood your comments, Java 5 is not the same of the CodeWarrior IDE version number. Java 5 is actually Java 1.5, so you need to check if that's installed. Typing "java -version" in a command line window will give you the java version number. Beyond that, I don't know what Java file you're trying to install. You need to check with the university's tech support on where that's supposed to go. The versions of CodeWarrior that built and compiled Java code didn't require Java to function.
---Tom