Results 1 to 4 of 4

Thread: Class ?

  1. #1
    GabWit is offline Member
    Join Date
    Jan 2009
    Posts
    11
    Rep Power
    0

    Default Class ?

    When I save I don't get a class is this because I haven't compiled it yet error free? or is there another problem

  2. #2
    CJSLMAN's Avatar
    CJSLMAN is offline Moderator
    Join Date
    Oct 2008
    Location
    Mexico
    Posts
    1,159
    Rep Power
    8

    Default Huh?

    You have to be more specific...
    • Are you using an IDE? My experience is that just saving a file doesn't compile it
    • If not:
    • javac myProgram.java-> this creates myProgram.class
    • java myProgram -> this runs the program


  3. CJSL
Chris S.
Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.
Reply With Quote Reply With Quote

  • #3
    GabWit is offline Member
    Join Date
    Jan 2009
    Posts
    11
    Rep Power
    0

    Default

    I figured it out
    Last edited by GabWit; 01-25-2009 at 12:16 AM.

  • #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    I believe that you won't get a class file until the Java file compiles properly. Why would you want an error-producing class file anyway?

  • Similar Threads

    1. Calling a method on original class from created class
      By kpedersen in forum Advanced Java
      Replies: 4
      Last Post: 08-20-2008, 12:25 AM
    2. Replies: 0
      Last Post: 05-13-2008, 06:16 AM
    3. Class Reflection: Finding super class names
      By Java Tip in forum java.lang
      Replies: 0
      Last Post: 04-23-2008, 08:12 PM
    4. Class Reflection: Finding class modifiers
      By Java Tip in forum java.lang
      Replies: 0
      Last Post: 04-23-2008, 08:11 PM
    5. Replies: 0
      Last Post: 04-02-2008, 07:04 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
    •