Scrapbook Inspection=ClassNotFoundException

j_andrew_h
2010-09-09
2013-04-09
  •  j_andrew_h
    j_andrew_h
    2010-09-09

    I'm working with:
    Eclipse SDK
    Version: 3.4.2

    I believe I have followed along exactly with the video.  I'm working through lesson 3, after setting up scrapbook.jpage when I click on Inspect under Run menu I get this message:

    2+2
    An exception occurred during evaluation:  java.lang.ClassNotFoundException

    The only thing I can see that deviates from dextercowley's video is that he has a thing called JRE System Library in the package explorer.  I don't have any thing that is titled JRE System Library in my package explorer.  That is the only difference I can spot

    Thanks 

     
  • Mark Dexter
    Mark Dexter
    2010-09-13

    Hi. There are different "distributions" of the JRE and JDK available. You could try installing the JDK (Java Development Kit) from Sun. Good luck. Mark

     
  •  j_andrew_h
    j_andrew_h
    2010-09-16

    Thanks, I'll do that.

     
  • sandeep
    sandeep
    2010-09-30

    Hello

    im using eclipse 3..5.2. i just fallow lesson3

    when im enter 2+2 in scrap book im getting message as (No explicit return value)

    please any help me whats the problem

    thank you

     
  • Denis Lozhkin
    Denis Lozhkin
    2010-10-18

    You should try first select the necessary statement by mouse, then hit "inspect"

     
  • Kev Man
    Kev Man
    2012-03-14

    I anyone going to address this?

     
  • Kev Man
    Kev Man
    2012-03-14

    How about half the time the inspect option is disabled?  Care to weigh in on that, preferably within 6 months.  Ill wait here.

     
  • Kev Man
    Kev Man
    2012-03-15

    The code has to be highlighted for it to inspect that code.
    Thanks to me, i got the answer.

    me: 1
    you: 0

     
  • Hi in the lesson3 when Inspect the code
    Person p = new Person();
    p
    I do not see the maximumBooks and name created

    also when I inspect

    p.setName("Fred");
    p

    it shows the following error:

    The method setName(String) is undefined for the type Person
    Person p = new Person();
    p.setName("Fred");
    p

    What should I do?
    A fast reply would be helpful.
    thanks