Results 1 to 5 of 5
  1. #1
    Ehundia is offline Member
    Join Date
    Apr 2010
    Posts
    3
    Rep Power
    0

    Question New to java, a few quastions if anyone can help

    Hi,
    Im a computer science student second year, this semester i took a course
    in java and the matirial is fairly diffrent from what we have learned so far considering the workspace and a few concepts.
    Im programing on Eclipse IDE for Java Developers.

    Quastions :

    1. Javadoc - Where do i download it ? since i dont have it available on the eclipse.. also my teacher said that i need to install java - isnt it automaticly installed with the eclipse?

    2. i have a few code samples, in class files. im not sure how do i add them to my existing project ? i cant just open them, and when i try to drag and drop them into the code it gives me a new slidebad with an error, and when i drag and drop it to the .java files on the left on the workbench slides - it does nothing.

    Lots of thanks heads up to whoever can help me :)

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

    Default

    Quote Originally Posted by Ehundia View Post
    Quastions :

    1. Javadoc - Where do i download it ? since i dont have it available on the eclipse.. also my teacher said that i need to install java - isnt it automaticly installed with the eclipse?

    2. i have a few code samples, in class files. im not sure how do i add them to my existing project ? i cant just open them, and when i try to drag and drop them into the code it gives me a new slidebad with an error, and when i drag and drop it to the .java files on the left on the workbench slides - it does nothing.

    hallo ethundia

    1. no, the jdk is not installed with eclipse. the eclipse documentation suggest to install the jdk before you install eclipse. you can download the jdk here Java SE Downloads - Sun Developer Network (SDN). if you need only the javadoc look here Javadoc Tool Home Page

    2. don't drag and drop your files in the workspace but import it in eclipse via file -> import.

  3. #3
    Ehundia is offline Member
    Join Date
    Apr 2010
    Posts
    3
    Rep Power
    0

    Default

    Thanks for the help, been very usefull!

    Have a nice day.

  4. #4
    Ehundia is offline Member
    Join Date
    Apr 2010
    Posts
    3
    Rep Power
    0

    Default

    One last question,

    After importing the class files to some workspace, when trying 2 open them it tells me that " Source not found " - there is no source file attached to the class file - file name - .

    Any way to actualy see the class code.. ?

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

    Default

    Quote Originally Posted by Ehundia View Post
    One last question,

    After importing the class files to some workspace, when trying 2 open them it tells me that " Source not found " - there is no source file attached to the class file - file name - .

    Any way to actualy see the class code.. ?

    you can try to start your class-files from the command line, but in eclipse you need the source code. there is a java decompiler called javap but i never used it.

Posting Permissions

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