Netscape 7 will not use java 1.3.1
This point is stated, many, many times on these forums. So, you should have searced before asking, but, here's help anyway.
Download java 1.4.2 beta version.
Link Netscape 7 to the plugin in the /plugins/ns610-gcc32 directory. That should work just fine.