• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

unexpected jbuilder

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My path is pointing to SDK1.4.0\bin (which is my SDK not jbuilder SDK)
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JBuilder should still run fine.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic