[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: need help using a textbook class file in Eclipse

Jon D. wrote:
"...put it in a directory under your Project named /lib/classes (or any name you choose)." Right now the Keyboard.class file is on the c: drive in folder cs1 I can't put any files under Program Files due to security. In Eclipse, under my project is a directory "JRE System Library [jre1.5.0_06]" Underneath there are paths to a directory which ends with lib, is that what you are referring to? Sorry to be so stupid. How/where do I put it?


I don't know what your project already contains, so I can't be sure. It sounds like you might have a lib/ directory in the project already. If so, you can create lib/classes/cs1/ and put Keyboard.class in there. Then you'll need to add lib/classes/ to the Java Build Path as I said before.
Also note that you are using the Java Perspective (the panel you describe is the Package Explorer). You might find it easier to open the Resource perspective and use the Navigator view (GUI panels are called Views in Eclipse) to move files around. Package Explorer is a "filtered" view of the file system, while Navigator is more like Windows File Explorer.


I recommend again doing the Help tutorials under Workbench and Java user guides. The information you'll learn is invaluable and will save you some frustration.

Hope this helps,
	Eric