Article View: borland.public.jbuilder.java.language
Article #493Re: Error with the VM
From: Lori M Olson [TeamB]
Date: Tue, 19 Apr 2005 21:49
Date: Tue, 19 Apr 2005 21:49
48 lines
2499 bytes
2499 bytes
Carlos Zin wrote:
> Recently I did some registry cleaning and fixing and apparently i screwed
> the java section so I disintalled the Java SDK and installed it again hoping
> the installer could fix everything. But no way, I get this error anytime I
> try o run the java VM.
> Does anybody know how I can fix the registry? (I am not willing to reinstall
> the entire OS...
> Thanks
> CZ
>
> Microsoft(R) Windows DOS
> (C)Copyright Microsoft Corp 1990-2001.
>
> C:\java
> Error opening registry key 'Software\JavaSoft\Java Runtime Environment\1.4'
> Error: could not find java.dll
> Error: could not find Java 2 Runtime Environment.
>
>
1. Reinstall the JDK that you WANT to be default on your machine. (Optional)
2. Delete/rename java.exe and javaw.exe from your Windows\system32
directory.
3. Point JAVA_HOME environment variable at the JDK you want to use
4. Put %JAVA_HOME%\bin in your PATH.
--
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:
http://www.visi.com/~gyles19/fom-serve/cache/1.html
Technical Details
Message-ID:
<42657cfa$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed.cgocable.net!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<426568d3$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,eb37565994e3ea21 X-Google-Attributes: gidf74b3,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 19 Apr 2005 15:49:10 -0600 From: "Lori M Olson [TeamB]" <javadragon@techie.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax;nscd1) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language Subject: Re: Error with the VM References: <426568d3$1@newsgroups.borland.com> In-Reply-To: <426568d3$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 142.179.181.200 Message-ID: <42657cfa$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1113947386 142.179.181.200 (19 Apr 2005 14:49:46 -0800) Lines: 48 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed.cgocable.net!pd7cy1no!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail