🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #581

Re: Setting which JRE from JBuilder

#581
From: Lori M Olson [TeamB]
Date: Fri, 11 Mar 2005 22:01
46 lines
2650 bytes
Cameron Roe wrote:

> Is there a way to set which Java Run Time JBuilder uses? Can it be set per 
> project?
> 
> The problem is this, I'm doing some J2ME development and recently started 
> getting an error when running the emulator. "Warning: Failed to initialize 
> WMA message routing support". Upon some searching on the web it turns out 
> that the problem seems to be some sort of incompatability with Java 1.5. I 
> don't want to 'uninstall' 1.5 but need to run the emulator. I've come across 
> a solution to edit the 'default' JRE in the registry,  but don't want to do 
> that either, since I want to run the most recent version by default.
> Any ideas??
> 
> Cheers
> 
> Cam
> 
> PS. Running JBuilder Enterprise on Windows XP, SP2 
> 
> 

1. Rename (or delete) C:\windows\system32\java.exe and javaw.exe (evil, 
evil, evil little buggers that check the registry and redirect you to a 
real java.exe and javaw.exe)
2. Define a JAVA_HOME environment variable
3. Add %JAVA_HOME%\bin; to 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: <42321561$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42320dc1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,4dc36fd89f47bea0
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 11 Mar 2005 15:01:12 -0700
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: Setting which JRE from JBuilder
References: <42320dc1$1@newsgroups.borland.com>
In-Reply-To: <42320dc1$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: <42321561$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110578529 142.179.181.200 (11 Mar 2005 14:02:09 -0800)
Lines: 46
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail