When moving code from Tcl to Java, you need to understand what that behavior is and find the most efficient and maintainable means of expressing it in Java. Ideally, you should start by writing unit tests and functional tests for any code that you are writing. Unit tests are tests of individual units of code, e.g. object methods. They should encode the known correct results based on the parameters to the method. This allows the test to be run automatically as part of a daily build test.
Functional tests test the overall functionality of a piece of software.
An example of a functional test is the TemplatingTest which ensures that the Templating functionality is running correctly. Now that you're familiar with the package and you've got CVS setup, you' re ready to start the porting. You can reuse these tests for testing the Java port after you've finished the porting. Start by porting the Tcl library code. Identify a set of Java class abstractions that can contain the code you are porting.