Article View: comp.sys.mac.programmer.codewarrior
Article #93Re: can't start AWT
From: Greg
Date: Sat, 03 Dec 2005 20:31
Date: Sat, 03 Dec 2005 20:31
12 lines
1764 bytes
1764 bytes
jahhaj wrote: > OK, the answer is bleeding obvious. You must create a second thread and > call JNI_CreateJavaVM from that. As a former java on Mac OS X engineer, I would highly suggest that you try to have java start up the program that will then load your native code. Having your native code start java that in turn starts up AWT is a hassle, as I believe you are only starting to find out... -Greg
Technical Details
Message-ID:
<1133641884.311951.78290@g14g2000cwa.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mailReferences:
<1133526987.881744.180010@g14g2000cwa.googlegroups.com> <1133536153.321993.271480@g44g2000cwa.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: f635e,55f1774baa0e42a3 X-Google-Thread: 111f0d,55f1774baa0e42a3 X-Google-Attributes: gidf635e,gid111f0d,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail From: "Greg" <bolsinga@gmail.com> Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.java Subject: Re: can't start AWT Date: 3 Dec 2005 12:31:24 -0800 Organization: http://groups.google.com Lines: 13 Message-ID: <1133641884.311951.78290@g14g2000cwa.googlegroups.com> References: <1133526987.881744.180010@g14g2000cwa.googlegroups.com> <1133536153.321993.271480@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: 64.81.64.248 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1133641889 30202 127.0.0.1 (3 Dec 2005 20:31:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 3 Dec 2005 20:31:29 +0000 (UTC) In-Reply-To: <1133536153.321993.271480@g44g2000cwa.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/416.12 (KHTML, like Gecko) Safari/416.13,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g14g2000cwa.googlegroups.com; posting-host=64.81.64.248; posting-account=LeZnLg0AAACVdOMauFz46GYqk3FphkAu