🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Trouble running RMIC from CodeWarrior 7

#1028
From: Gary Affonso
Date: Wed, 13 Feb 2002 19:51
55 lines
2613 bytes
Well, I got a bit farther (a different error at least).  I dragged the
"Tools.jar" file from the CodeWarrior libraries file into the project.

I no longer get the class not found error.  Now I get the following:

  no text found: key = "rmic.resource.not.found",
  arguments = "generator.args", "null", "null"

(that's all on one line, I broke it into two here for readability.)

I'm simply using the classname that I want to generate stubs for as an
argument and ensuring that the class file is in the project folder.

What's up?

- Gary

P.S. The CodeWarrior docs (page 133 of Target Java) clearly indicate that
the Classes.zip file can be used to access RMI.  Are they wrong?


On 2/13/02 11:21 AM, "Gary Affonso" <gary@serversidesoftware.com> wrote:

> I'm having trouble running "rmic" from CodeWarrior 7.
> 
> I put this in for the "Main Class Name"
> 
> sun.rmi.rmic.Main
> 
> And then specify my main class as an argument
> 
> I get this error:
> 
> Link Error: Class not found: sun.rmi.rmic.Main
> 
> I've verified that {Compiler}:Java Support:Libraries: is in my system path and
> I've dragged the "classes.zip" file from that library folder into the "files"
> window of my project and included it for my target.
> 
> I'm on Mac OS 9.0.4 with CodeWarrior 7 (IDE version 4.2.6).  I've got the
> latest apple MRJ installed.
> 
> What have I missed?
> 
> Thanks!
> 
> - Gary
> 
> Server Side Software
> 5614 8th Ave NE
> Seattle, WA  98105
> Voice: (206) 525-4786
> Fax: (413) 683-2973
> Email: gary@serversidesoftware.com
> 
Technical Details
Message-ID: <B89003B2.FC97%gary@serversidesoftware.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,91c24a3f065d11c4
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,1e947c7f12975b2f
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2002-02-13 11:51:17 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
User-Agent: Microsoft-Entourage/10.0.0.1309
Subject: Re: Trouble running RMIC from CodeWarrior 7
From: Gary Affonso <gary@serversidesoftware.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Message-ID: <B89003B2.FC97%gary@serversidesoftware.com>
Mime-version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Lines: 56
Date: Wed, 13 Feb 2002 11:51:14 -0800
NNTP-Posting-Host: 63.225.168.6
X-Trace: news.uswest.net 1013629876 63.225.168.6 (Wed, 13 Feb 2002 13:51:16 CST)
NNTP-Posting-Date: Wed, 13 Feb 2002 13:51:16 CST