Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse can't see java file(Eclipse can't see a java file I wrote using Notepad)
Eclipse can't see java file [message #666026] Mon, 18 April 2011 12:54 Go to next message
Eclipse UserFriend
Hi All,

I wrote a Java program using Notepad and copied it under the ..\src folder. But I can't see it in the eclipse. The tutorial video showed a zipped file that contains the jave files. Do I need to zip my Java file in order let eclipse see it?

Thank you.
Re: Eclipse can't see java file [message #666029 is a reply to message #666026] Mon, 18 April 2011 12:59 Go to previous messageGo to next message
Eclipse UserFriend
Most likely you need to refresh the project so that Eclipse sees that the new file has been added. Select the project and hit F5.
Re: Eclipse can't see java file [message #666046 is a reply to message #666026] Mon, 18 April 2011 13:34 Go to previous message
Eclipse UserFriend
On 18-Apr-11 10:54, stevema1955@yahoo.com wrote:
> Hi All,
>
> I wrote a Java program using Notepad and copied it under the ..\src
> folder. But I can't see it in the eclipse. The tutorial video showed a
> zipped file that contains the jave files. Do I need to zip my Java file
> in order let eclipse see it?
>
> Thank you.

The proper way to create a new Java class in Eclipse is to right-click
on src and use the new class wizard. Then insert the code.

There are ways of inserting already existing code into a project, but
you should not be using Notepad to write what's far better written using
Eclipse's editor(s).
Previous Topic:Content assist and classes
Next Topic:Downloading
Goto Forum:
  


Current Time: Thu Nov 06 09:40:57 EST 2025

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

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

Back to the top