Hi Sedj,
have you installed jdk1.4 on your machine previously? i think jbuilder5 installation came with jdk1.3XX. you might wish to try re-installing jdk1.4 again.
alternatively,
you might wish to try specifying the path on the command line instead, like this:
eg.
c:\jdk1.4\bin\java...