This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 32934 - Packages and Imports Bug
Summary: Packages and Imports Bug
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-16 06:57 UTC by lear9547
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lear9547 2003-04-16 06:57:27 UTC
I think this may have been brought up already, but in Java 
programming class we were told how to make a package and 
then use it in another program. Doing this worked fine in 
jGrasp, a different IDE, but when I opened my files in 
netbeans.org, my preferred IDE, netbeans.org complained 
that it couldn't find the package. =(  I simply had a 
folder named cs258 with my programs in it, with package 
cs258; in both, and then right outside the cs258 folder I 
had my main programs with import cs258.*; in both. Neither 
would work. They couldn't find the package. However jGrasp 
can. =\

Jake.
Comment 1 pzajac 2003-04-16 08:24:30 UTC
reassigned to java module 
Comment 2 Jan Becicka 2003-04-23 07:59:37 UTC
I assume your directory structure is as follows:
projectsrc/cs258/YourClass1.java
projectsrc/cs258/YourClass2.java
projectsrc/Main.java

Isn't it?

In that case you must mount "projectsrc" directory as a local filesystem.

If it doesn't work for you, please reopen this bug. Thanks.