XP = Error opening registry key

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Rozlyn

XP = Error opening registry key

Post by Rozlyn »

At one point I was not having any problems compiling etc. java in Text Pad. I use XP and have gone round and round trying to reconfigure Text Pad to compile my programs. I have made some progress, I can now run my java programs but I now have a new error when I try to compile:

Error opening registry key 'Software\IBM\Java2 Runtime Environment'

Tool completed with exit code 1

I have tried reinstalling java as I understood that would put things where they belong but I have run out of possible solutions to my problem. I would love any suggestions or SOLUTIONS to this problem.

Thanks
Graham

Re: XP = Error opening registry key

Post by Graham »

It looks like you have some IBM java software that is trying to compile your java program. Have you got the Sun version of java? If not, go to http://java.sun.com and click on the Java Standard Edition J2SE button. Make sure you download the SDK, not the runtime environment (JRE). If you only have this, you won't be able to compile.
Also, it may help if the sun java comes before any ibm stuff in your path statement (see my post in the " Errors on Run Java Application" thread for this if you don't understand).
Post Reply