Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 901 package does not match directory

Status
Not open for further replies.

bradcarvey

Programmer
Feb 18, 2003
1
US
I am trying to compile a complex project in JBuilder8 PE. It compiles from a makeall.bat file. when I try to compile it with JBuilder8 I get the same error form all of the java files.

"SoundFile.java": Error #: 901 : package mytv.mytvgui stated in source E:\mytv\Java\mytv\mytvgui\SoundFile.java does not match directory . at line 1, column 14

Line1 = package mytv.mytvgui;

I am not setting the project directories up correctly, but have tried everything I can think of.

Any suggestions.
brad
 
Hi Brad,

Here is what worked for me. I had a complex project that I think was developed in JBuilder 3. I'm using JBuilder 7. I tried everything also. What ended up working for me was a few different things.

1) Make sure your paths are set up correctly in Project Properties and Configure Libraries.

2)I had to delete all old *.jbx or *.jpr files.

3) Import your java files using the File|New Project tab and project from existing code.

Hope this helps!

Denice
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top