Results 1 to 6 of 6
  1. #1
    will.galaxy is offline Member
    Join Date
    Jul 2011
    Posts
    3
    Rep Power
    0

    Default Java and Eclipse for Total Beginners

    Hi All,

    I am currently following the Java and Eclipse for Total Beginners tutorial. It is very useful as I am understanding bits and pieces of the Java language. However I have hit strange problem :(

    In chapter 3 he domenstrates how to inspect a scrapbook page, when I try to inspect I get a weird message wanting me to change the perspective instead of showing the inspection box. My code is exactly the same and I have linked the scrapbook to the package.

    If anyone knows how to help please let me know.

    P.S.
    These details may help:

    1. I am using Mac and the latest version of Eclipse
    2. My code is identical (except the comments)
    3. When I try to inspect it changes perspective instead of displaying the inspection box
    4. It highlights the "private string name;" in green
    5. I have attached screenshots of my scrapbook, the error message and the change in perspective
    Attached Thumbnails Attached Thumbnails Java and Eclipse for Total Beginners-screen-shot-2011-08-28-2.28.01-pm.jpg   Java and Eclipse for Total Beginners-screen-shot-2011-08-28-2.28.13-pm.jpg   Java and Eclipse for Total Beginners-screen-shot-2011-08-28-2.28.30-pm.jpg  

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default

    You didn't bother to return to the first thread you started: Where to begin...

    Can we expect better behavior second time round?

    db

  3. #3
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

    Default

    hello willgalaxy
    I couldn't read your attachments since the size and resolution are too small. perhaps this may help: right click your scrapbook file inside eclipse and choose properties. When the dialog box opens choose the tab "Scrapbook Runtime" and make sure the runtime is set properly. and attached an example.

    btw: I'm a great fan of mark dexter tutorials. i was able to understand all tutorials and also run the code successfully. so if you have further questions let me know.
    Attached Thumbnails Attached Thumbnails Java and Eclipse for Total Beginners-myscrapbook.jpg  
    Last edited by j2me64; 08-28-2011 at 09:57 AM.

  4. #4
    will.galaxy is offline Member
    Join Date
    Jul 2011
    Posts
    3
    Rep Power
    0

    Default

    I tried that but the problem is still the same :( I am inspecting in debug mode, could that be the problem?

  5. #5
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

    Default

    hello,
    ok, I will look at chapter 3 a little bit closer and let you know.

    i could inspect my code in my scrapbook in debug mode. i suggest to stay close as possible to the environment used in the tutorial.

    could you please send me your screenshots in a higher resolution via pn?
    Last edited by j2me64; 08-29-2011 at 10:00 AM.

  6. #6
    ninjaann is offline Member
    Join Date
    Jun 2012
    Posts
    1
    Rep Power
    0

    Default Re: Java and Eclipse for Total Beginners

    I have just started the tutorials with the latest release of Eclipse, and I am getting an error after changing the scrapbook environment from JavaSE-1.7 to JavaSE-1.6.

    Override cannot be resolved to a type
    Throwable cannot be resolved to a type
    Code snippet support cannot find the class java.lang.Class
    The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
    The type java.lang.Throwable cannot be resolved. It is indirectly referenced from required .class files
    The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class files

Similar Threads

  1. Java project for beginners/experienced
    By Si1ver in forum Jobs Offered
    Replies: 0
    Last Post: 04-12-2011, 11:09 PM
  2. Help for a total Java Newb
    By rsjac in forum New To Java
    Replies: 3
    Last Post: 02-21-2011, 04:30 AM
  3. Any ebooks available for java beginners?
    By Dev23 in forum New To Java
    Replies: 4
    Last Post: 02-13-2011, 12:02 PM
  4. A total beginners problem
    By mbezel in forum New To Java
    Replies: 1
    Last Post: 02-15-2010, 10:07 PM
  5. Replies: 3
    Last Post: 10-23-2008, 05:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •