🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #91

can't start AWT

#91
From: jahhaj
Date: Fri, 02 Dec 2005 12:36
16 lines
1776 bytes
I'm trying to start a 1.4.2 Java VM from a Mac OS X Mach-O application
using JNI_CreateJavaVM. I get the following error

Apple AWT Java VM was loaded on first thread -- can't start AWT

Seems a few people have had this problem but the suggested answers
don't work for me, in particular I've made sure that I don't have
StartOnFirstThread specified in my application info.plist (why would it
be there in any case?).

I'm working with CodeWarrior 9, although testing on XCode produces a
similar problem so I don't think it is compiler specific.

I'm stuck so any input at all would be welcome.

john
Technical Details
Message-ID: <1133526987.881744.180010@g14g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g14g2000cwa.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f635e,55f1774baa0e42a3,start
X-Google-Thread: 111f0d,55f1774baa0e42a3,start
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: "jahhaj" <john_andronicus@hotmail.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.java
Subject: can't start AWT
Date: 2 Dec 2005 04:36:27 -0800
Organization: http://groups.google.com
Lines: 17
Message-ID: <1133526987.881744.180010@g14g2000cwa.googlegroups.com>
NNTP-Posting-Host: 82.108.147.78
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1133526992 16589 127.0.0.1 (2 Dec 2005 12:36:32 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 2 Dec 2005 12:36:32 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g14g2000cwa.googlegroups.com; posting-host=82.108.147.78;
   posting-account=oOS2Yg0AAAAgdg9KCWEZM59R37WdeTTr