some_directory1;some_directory2;...
with the following one
%JAVA_HOME%\bin;some_directory1;some_directory2;...
The order of the directories written to Path is usually irrelevant (so it would be possible to add stuff to the very end of the variable), but it is recommended to add the entry %JAVA_HOME%\bin to its very beginning, since then the possible errors or other Java versions later in the Path variable do not affect running of JDK 1.5. (see se section Environment Variables on how to edit System variables such as Path).
c:\temp>java -version java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition ...