🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #592

Re: JB2005, Windows ME & JVM 1.5

#592
From: David Bolsover
Date: Sun, 13 Mar 2005 11:18
66 lines
3633 bytes
John

Thanks for the reply

More detail:
1 Compile using JB2005, JDK1.5 and JDK1.5 specific libraries and run on ME, 
JVM 1.5  - Exception in Kernel
2 Compile using JB2005, JDK1.5 and JDK1.5 specific libraries and run on XP, 
JVM 1.5  - OK
3 Compile using JBX, JDK1.4 and JDK1.4 specific libraries and run on ME, JVM 
1.5/1.4  - OK
4 Compile using JBX, JDK1.4 and JDK1.4 specific libraries and run on XP, JVM 
1.5/1.4  - OK

In all cases. I am compiling to Windows executable - the only problem is 
with JB2005 + JDK1.5 + ME + JVM 1.5.
I'd like to do more testing - in particular JB2005 + JDK1.4 + ME + JVM 1.4.- 
but don't have an ME client available locally (yet).

Also, in all cases, the app runs just fine if I launch from the .jar file 
rather than and .exe.

It looks like the problem is associated with the JB2005 + JDK1.5 + ME + JVM 
1.5 combination - but you also saw this with 1.4 code - could it be that the 
problem lies in a difference between the .exe generated by JBX/JB2005? - Do 
you know id the .exe code has been changed?

db



"John McGrath [TeamB]" <ng-b@JPMcGrath.net> wrote in message 
news:xn0dzmx5hzeoju003@newsgroups.borland.com...
> On 3/10/2005 at 9:43:02 AM, David Bolsover wrote:
>
>> I have a swing application that uses some JDK 1.5 specific libraries &
>> has been compled to a native windows executable using the JB2005 wizard.
>>
>> The app runs just fine on an XP machine but fails on an ME box with an
>> exception in KERNEL.
>>
>> Has anyone else seen similar problems / have solution?
>>
>> Rolling the app back to use older, non JDK 1.5 specific libraries and
>> compiling against JDK 1.4, the app runs just fine.
>>
>> I suspect that the problem lies in the Borland .exe wrapper since it
>> always runs OK when launched from the .jar no matter what the target JVM.
>
> I just tried it and got the exception also.  However, even when I
> generated Java 1.4 code, I saw the problem.
>
> You were not very specific about the JVM you used to run the program.  Did
> you run with JDK 1.5 in both cases?  Or did you switch to JDK 1.4?  I
> think you would have had to re-install, or at least set some registry
> settings, unless you have set up a config file that points to the JDK.
> FYI, I was running against JDK 1.5.0_02 in both cases.
>
> -- 
> Regards,
>
> John McGrath [TeamB]
>
> ---------------------------------------------------
> Before sending me e-mail, please read:
>    http://www.JPMcGrath.net/newsgroups/e-mail.html 
Technical Details
Message-ID: <423421d5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.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: <42305d69@newsgroups.borland.com> <xn0dzmx5hzeoju003@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 111d45,6b7518741df38104
X-Google-Attributes: gid111d45,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "David Bolsover" <junk1@bolsover.com>
Newsgroups: borland.public.jbuilder.java.swing
References: <42305d69@newsgroups.borland.com> <xn0dzmx5hzeoju003@newsgroups.borland.com>
Subject: Re: JB2005, Windows ME & JVM 1.5
Date: Sun, 13 Mar 2005 11:18:43 -0000
Lines: 68
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
NNTP-Posting-Host: 213.2.209.202
Message-ID: <423421d5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1110712789 213.2.209.202 (13 Mar 2005 03:19:49 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.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