wood burning stoves 2.0
The moose likes Swing / AWT / SWT and the fly likes Package Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Package Problem" Watch "Package Problem" New topic

Package Problem

Sonia Bagmar

Joined: Jan 26, 2004
Posts: 7
plz help me solve the foll error occuring in jbuilder4.0
what is the exact location/hierarchy of each jar file in /jdk/jre/ext/....
"Viewer.java": Error #: 704 : cannot access directory com\sun\java\swing\event at line 6, column 1
its urgent
plz help
Mathews P Srampikal
Ranch Hand

Joined: Nov 26, 2002
Posts: 211
This is because of the user defined file (Viewer.java) used in your java file.set classpath to that class file or jar file.I don't think there is a Viewer class in sun package.If it written by you then jus check it saved as java file or .txt file(This is Common mistake and easy but hard to find for jus beginners)

I agree. Here's the link: http://aspose.com/file-tools
subject: Package Problem
It's not a secret anymore!