GeeCON Prague 2014*
The moose likes IDEs, Version Control and other tools and the fly likes unexpected jbuilder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "unexpected jbuilder" Watch "unexpected jbuilder" New topic
Author

unexpected jbuilder

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

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).
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30586
    
154

John,
After you install/reinstall JBuilder, change your PATH variable to point to the 1.4.0 version.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

My path is pointing to SDK1.4.0\bin (which is my SDK not jbuilder SDK)
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
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


42
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Thanks I will try it.
but I have one question before I try it:
will jbuilder run anymore ? will it complain or something ?
which SDK jbuilder will use ? mine SDK or its SDK ?
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
JBuilder should still run fine.
 
GeeCON Prague 2014
 
subject: unexpected jbuilder