🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.java.programmer
Article #256

JBuilder cannot not find classes within a projects package

#256
From: Ulf Meinhardt
Date: Mon, 09 Dec 2002 20:30
30 lines
2181 bytes
Within a new project I added all my source files located in directory

<projectbasedir>/src/aaa/bbb/ccc/

which belong obviously all to the package aaa.bbb.ccc

One of these source files use a class karl:

karl myvariable;

 ...which can be found in a "neigbour" directory:

<projectbasedir>/src/aaa/bbb/ddd/

The package aaa.bbb.ddd is added to the project as well.

Now, when I make/compile the project I get an error:

"blahblah.java": Error #:300: class karl not found in class aaa.bbb.ccc.blahblah at line 32 column 10

Why ?

I already added the other package to my project. So karl.class MUST be found.
The class karl is not available as java source but the compiled class is located
in the directory ddd.

Do I have to extend the CLASSPATH for this scenario ?

cu
Ulf
Technical Details
Message-ID: <at2uh2$g59$03$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.teledanmark.no!uninett.no!feed.news.nacamar.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa3e3,e4c3ce2d4f7015de,start
X-Google-Attributes: gidfa3e3,public
X-Google-Thread: 10a146,e4c3ce2d4f7015de,start
X-Google-Attributes: gid10a146,public
X-Google-Thread: 109107,e4c3ce2d4f7015de,start
X-Google-Attributes: gid109107,public
X-Google-Thread: 113ae9,e4c3ce2d4f7015de,start
X-Google-Attributes: gid113ae9,public
X-Google-ArrivalTime: 2002-12-09 12:31:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.teledanmark.no!uninett.no!feed.news.nacamar.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: ulf2m@email.com (Ulf Meinhardt)
Newsgroups: comp.lang.java.programmer,comp.lang.java.help,borland.public.jbuilder.ide,borland.public.jbuilder.compiler
Subject: JBuilder cannot not find classes within a projects package
Followup-To: comp.lang.java.help
Date: Mon, 9 Dec 2002 21:30:26 +0100
Organization: T-Online
Lines: 31
Message-ID: <at2uh2$g59$03$1@news.t-online.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1039465826 03 16553 -J7vERTESqAciL 021209 20:30:26
X-Complaints-To: abuse@t-online.com
X-Sender: 520000563114-0001@t-dialin.net