|Re: Eclipse cannot create Java class? [message #1277410 is a reply to message #1277152]
||Wed, 26 March 2014 00:21
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 03/25/2014 09:58 AM, Alex Queen wrote:|
> I am trying to simply create a Java class. I have the project created, a
> package created in the src directory, and when I go to create the Java
> class, it tells me it cannot find the file and the directory I'm
> attempting to create it at (in my workspace). I've followed what every
> tutorial and other guide on the Internet has showed me, and yet I cannot
> create a simple Java class. HELP!
The new class wizard asks you for the package you want the class in and
the name of the class. Optionally, you can configure what Eclipse will
generate in addition like a main() method, etc.
When you click Finish, Eclipse creates the class file for you in the
appropriate subdirectory of the project which may or may not be located
in the workspace depending on how you created or imported the project in
the first place.
If this is not explanation enough, we'll need more exact details. You
should then come back with a step-by-step list of what you do to create
a new class.
Hope this helps.
Powered by FUDForum
. Page generated in 0.02414 seconds