<p>I have code from PowerBuilder 5 that can't be built. The compiler just stops before it is done without any error codes.</p>

<p>I would like to upgrade the code to the recent version of PowerBuilder but there are some intermediate versions of PowerBuilder that have binary dependencies to an old Microsoft java dll that Microsoft no longer can distribute due to some court case.</p>

<p>So, is there a way to get my code running in a newer environment?</p>

<p>/johan/</p>

Very unusual sounding problem.  You could give a try to migrating the code to a more recent version of PowerBuilder and see if it will compile or at least fail but give you some useful error messages.
I would also recommend posting this in the PowerBuilder section of the Sybase newsgroups. They are very active and full of some brilliant PB minds with lots of experience.  You can find them here:
http://forums.sybase.com