Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

unexpected jbuilder

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
John,
After you install/reinstall JBuilder, change your PATH variable to point to the 1.4.0 version.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My path is pointing to SDK1.4.0\bin (which is my SDK not jbuilder SDK)
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBuilder should still run fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic