Hey ranchers. I encountered this stubborn problem: I have installed J2SE1.4.0 and every think is ok until I installed Jbuilder 8. jbuilder includes SDK 1.4.1, and the problem is jbuilder has changed my settings. I mean, when I wrote (before installing jbuilder) : java -version I got SDK 1.4.0 after installing jbuilder, I got SDK 1.4.1 it means that all my java application are now using jbuilder's SDK instead of my primary SDK (I don't want this behaviour). its something like that jbuilder has changed WinRegistry. so I decided to uninstall it, but I got another problem : I am now unable to run java application because there is no jvm.dll file (jbuilder has deleted it) ! so I have uninstall my SDK, tomcat, netbeans, jedit ....... and install them again.... any solution to this silly problem ? (I really now appreciate eclipse and netbeans).
fire up regedit and set the key /HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java Runtime Environment/1.4/JavaHome to your 1.4.0 installation home and <>/RuntimeLib to the associated jvm.dll Set <>/MicroVersion to 0
Do the same for identically named entries under /HKEY_LOCAL_MACHINE/SOFTWARE/JavaSoft/Java Development Kit