one problem of jdk5.0 about the new java technology!

when i execute the instruction "java Namelister PHONEBOOK.xml",i get the response as follows:

I:\Documents and Settings\HONGHUI\My Documents>java Namelister PHONEBOOK.xml

Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'

has value '1.4', but '1.5' is required.

Error: could not find java.dll

Error: could not find Java 2 Runtime Environment.

what's the matter?i just install the jdk 5.0 which includes the jre1.5.0_04updates,and set the environment right.

maybe something was ignored.

Please help me!

[588 byte] By [YUNLINGa] at [2007-10-1 21:20:47]
# 1
Were you still using the same "command" window? if so it won't have picked up the new environment variables.
pkwoostera at 2007-7-13 3:16:48 > top of Java-index,Java Essentials,Java Programming...
# 2
open a command window and type set pathwhat java directory comes first?
dmbdmba at 2007-7-13 3:16:48 > top of Java-index,Java Essentials,Java Programming...
# 3
of course i use another window.but the problem was brought by the Jbuilder2005 which includes the jdk1.4 while there is jdk1.5 existing in my system
YUNLINGa at 2007-7-13 3:16:48 > top of Java-index,Java Essentials,Java Programming...