Problem with idlj

When compile my file using idlj me.idl, I get the following errors:

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

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

Error: could not find java.dll

Error: could not find Java 2 Runtime Environment.

How do I solve these problems, any help appreciated

[356 byte] By [ian_delaneya] at [2007-10-2 2:07:03]
# 1

Do you have 1.5 installed, but not 1.4? If so, do a search for java.exe and check the file version of all of the copies, you should find that there's an errant copy of the 1.4 version that shouldn't be there and that's in a directory that's listed in the PATH statement - the Registry has a 1.5 value, but it points to a 1.4 version file.

If the situation is other than that, one of the threads listed in this search will have the solution:

http://www.google.com/search?q='Software%5CJavaSoft%5CJava+Runtime+Environment%5CCurrentVersion+has+value+'1.5',+but+'1.4'+is+required'

ChuckBinga at 2007-7-15 19:48:31 > top of Java-index,Java Essentials,New To Java...