Partioned Server And Java Urgent!

I have the following problem.

We need to have 2 environments

1 the actual production databases

2 the new release databases

Both release use Java files , they have the same name but they are different.

Is it possible to install a Domino 6.5.3 partioned Server but let each server use it’s own Java files.

kind regards