Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse cannot create Java class?(Cannot create a java class... The heck?!)
icon5.gif  Eclipse cannot create Java class? [message #1277152] Tue, 25 March 2014 11:25 Go to next message
Eclipse UserFriend
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!
Re: Eclipse cannot create Java class? [message #1277410 is a reply to message #1277152] Tue, 25 March 2014 20:21 Go to previous message
Eclipse UserFriend
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.
Previous Topic:[SOLVED] Can't install Aptana plugin due to missing requirement
Next Topic:Need Help,please...
Goto Forum:
  


Current Time: Fri Jun 13 18:17:31 EDT 2025

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

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

Back to the top