Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Hello world source file(Adding a source file to the work space)
Hello world source file [message #1777825] Tue, 05 December 2017 01:02 Go to next message
Jim Anderson is currently offline Jim AndersonFriend
Messages: 65
Registered: October 2014
I'm starting to use Eclipse oxygen as a java debugger. I have installed oxygen and started it up. I then added a jave project and have my workspace at $HOME/eclipse/workspace.

I then created a java project called 'hello'. Oxygen created the directory $HOME/eclipse/workspace/hello. I have a text file, '' which I moved to $HOME/eclipse/workspace/hello. But when I navigate to this directory in Oxygen, the hello directory is emtpy and does not show ''.

How do I get Oxygen to recognize that is there?

Jim A.
Re: Hello world source file [message #1777833 is a reply to message #1777825] Tue, 05 December 2017 07:47 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 29034
Registered: July 2009
Senior Member
If you're doing this "moving" in the file system, you'll have to do a "Refresh" on the project. You'll want to be sure that the *.java file is actually in a Source folder of your Java project, otherwise it won't build and won't run. Better you use drag and drop to copy something into the workspace or use File -> Import to import it.
Previous Topic:xml validation occurs by default in Eclipse neon
Next Topic:tooltip
Goto Forum:

Current Time: Thu Dec 14 04:23:50 GMT 2017

Powered by FUDForum. Page generated in 0.03232 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software