Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Java Programming 24-Hour Trainer by Yakov Fain
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Java Programming 24-Hour Trainer by Yakov Fain
This is the forum to discuss the Wrox book Java Programming 24-Hour Trainer by Yakov Fain; ISBN: 978-0-470-88964-0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Java Programming 24-Hour Trainer by Yakov Fain section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 1st, 2011, 02:46 AM
Registered User
 
Join Date: May 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Lesson 2 - can not create Class

Hi,

After following the instructions to type "com.practicaljava.lesson2", I get an error message in Eclipse stating "Type name is empty". I figure it has something to do with the "enclosing type" field in the New Java Class dialog screen but I'm at a loss as to what exactly I should be doing.

Any advice?

Thanks

B.
Reply With Quote
  #2 (permalink)  
Old March 4th, 2012, 09:44 PM
Registered User
Points: 43, Level: 1
Points: 43, Level: 1 Points: 43, Level: 1 Points: 43, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2012
Posts: 7
Thanks: 1
Thanked 1 Time in 1 Post
Default

Send your Email Address, I will Forward a SnapShot (glRoss3@yahoo.com)
of the Dialog Box .
It wont let me attach a File HERE (Wheres the Forum Admin)

In the mean Time Try this Bro....

In Eclipse Click the File Menu.....
File->New-Select Package

In the Name (TextBox) Type this carefully & Pray

com.practicaljava.lessonN

N = Your Lesson Number (say 5 )

Then Click Finish .
You should get a pkg Icon under the Src Folder
Your Java Source files get Put in there or the Path becomes.....

src/com/practicaljava/lessonN

The Package is just a way to Organize a Path , where your Source Code goes. mr Glenn
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lesson 5 exercises. thelemur BOOK: Java Programming 24-Hour Trainer by Yakov Fain 9 March 29th, 2013 11:56 PM
Lesson 3 question soneal777 BOOK: Stephens' C# Programming with Visual Studio 2010 24-Hour Trainer 1 August 30th, 2010 06:17 PM
How to Create Forms Class in C#? Bill_Thompson C# 2005 0 April 18th, 2010 07:16 AM
Can I create a class from a variable? MAtkins General .NET 2 August 1st, 2005 11:57 AM
Cannot create a new class from VS 2k3 r_ganesh76 General .NET 0 November 3rd, 2004 05:21 AM



All times are GMT -4. The time now is 10:44 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.