Groups > Borland > JBuilder installation > Re: Installing JBuilder2005 Foundation Overwrites The Registry To




Installing JBuilder2005 Foundation Overwrites The Registry
To Indicate An Earlier Version Of JDK

Installing JBuilder2005 Foundation Overwrites The Registry To Indicate An Earlier Version Of JDK
Wed, 9 Aug 2006 22:07:21 -0700
I'm a Java newbie, and have the JDK1.5.0 installed on my system. In checking 
out IDEs, I downloaded Eclipse and also have Textpad. I was about to compile 
and run some basic programs. When I downloaded JBuilder 2005 Foundation, I 
was no longer able to run programs either on the command line, or in Eclipse 
or Textpad. Running java -version resulted in a statement that Registry 
indicated java 1.4 but 1.5 was required. Eclipse wouldn't even open, only 
gave me a pop window indicating that Java could not be found. Textpad 
likewise would not compile my programs. I uninstalled JBuilder and 
everything was fine again. What exactly was going on here? Thanks. 

Post Reply
Re: Installing JBuilder2005 Foundation Overwrites The Registry To Indicate An Earlier Version Of JDK
Wed, 9 Aug 2006 22:12:11 -0700
"Edward H. Fabrega" <spiritualfields@charter.net> wrote in
message 
news:44dabf08$1@newsgroups.borland.com...
> I'm a Java newbie, and have the JDK1.5.0 installed on my system. In 
> checking out IDEs, I downloaded Eclipse and also have Textpad. I was about

> to compile and run some basic programs. When I downloaded JBuilder 2005 
> Foundation, I was no longer able to run programs either on the command 
> line, or in Eclipse or Textpad. Running java -version resulted in a 
> statement that Registry indicated java 1.4 but 1.5 was required. Eclipse 
> wouldn't even open, only gave me a pop window indicating that Java could 
> not be found. Textpad likewise would not compile my programs. I 
> uninstalled JBuilder and everything was fine again. What exactly was going

> on here? Thanks.
>

That should have been "I was able to compile and run some basic programs. 

Post Reply
Re: Installing JBuilder2005 Foundation Overwrites The Registry To Indicate An Earlier Version Of JDK
10 Aug 2006 06:28:43 -0700
Edward H. Fabrega wrote:

>I'm a Java newbie, and have the JDK1.5.0 installed on my system. In 
>checking out IDEs, I downloaded Eclipse and also have Textpad. I was about 
>to compile and run some basic programs. When I downloaded JBuilder 2005 
>Foundation, I was no longer able to run programs either on the command 
>line, or in Eclipse or Textpad. Running java -version resulted in a 
>statement that Registry indicated java 1.4 but 1.5 was required. Eclipse 
>wouldn't even open, only gave me a pop window indicating that Java could 
>not be found. Textpad likewise would not compile my programs. I 
>uninstalled JBuilder and everything was fine again. What exactly was going 
>on here? Thanks.

This is a problem with Java in general, not specifically JBuilder.  You 
can fix the version by modifying the registry entry "CurrentVersion"
at:

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment

-- 
Kevin Dean [TeamB]
Dolphin Data Development Ltd.
http://www.datadevelopment.com/

NEW WHITEPAPERS
Team Development with JBuilder and Borland Enterprise Server
Securing Borland Enterprise Server
http://www.datadevelopment.com/papers/index.html

Please see Borland's newsgroup guidelines at
Post Reply
Re: Installing JBuilder2005 Foundation Overwrites The Registry To
Thu, 10 Aug 2006 19:12:53 -060
Edward H. Fabrega wrote:
> I'm a Java newbie, and have the JDK1.5.0 installed on my system. In
checking 
> out IDEs, I downloaded Eclipse and also have Textpad. I was about to
compile 
> and run some basic programs. When I downloaded JBuilder 2005 Foundation, I

> was no longer able to run programs either on the command line, or in
Eclipse 
> or Textpad. Running java -version resulted in a statement that Registry 
> indicated java 1.4 but 1.5 was required. Eclipse wouldn't even open, only 
> gave me a pop window indicating that Java could not be found. Textpad 
> likewise would not compile my programs. I uninstalled JBuilder and 
> everything was fine again. What exactly was going on here? Thanks. 
> 
> 

On Windows, in the Java install, there is a registry hack^H^H^H^Hsetting 
that frequently goes wrong.

Couple of ways of fixing this.

1.  Last JDK/JRE installed wins.  If you need JDK 1.5 to run stuff, 
reinstall JDK 1.5 and it will make itself the new default JDK.  (P.S. 
JBuilder is hardcoded to use it's own JDK, so doing this will not cause 
problems with JBuilder)

2.  Get rid of the java.exe and javaw.exe that are created in 
C:\Windows\System32 each time a JRE/JDK is installed.  They are not 
"real", and they are the evil things that check that registry setting.

Set a system environment variable called JAVA_HOME to your desired Java 
version, and then update your PATH environment variable to include 
%JAVA_HOME%\bin.  Then you always have control over which Java is in 
use.  (Again, JBuilder uses it's own, so it won't care about these 
settings).

-- 

Regards,

Lori Olson [TeamB]

------------

Save yourself, and everyone else, some time and search the
newsgroups and the FAQ-O-Matic before posting your next
question.

Google Advanced Newsgroup Search
     http://www.google.ca/advanced_group_search
Other Newsgroup Searches:
     http://www.borland.com/newsgroups/ngsearch.html
Joi Ellis's FAQ-O-Matic:
Post Reply
about | contact