Results 1 to 4 of 4

Thread: java

  1. #1
    madhuchanti is offline Member
    Join Date
    Jun 2014
    Posts
    2
    Rep Power
    0

    Question java

    sir java program compile then not run.the error is could not find or load main class first for cmd prompt .path setting is corret .plz tell me correct resson
    . .java,.class files are contain same directoty

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,397
    Rep Power
    25

    Default Re: java

    Please give some more details:
    package name
    folder where class files are located
    command line used
    folder where java command issued

    To copy the contents of the command prompt window:
    Click on Icon in upper left corner
    Select Edit
    Select 'Select All' - The selection will show
    Click in upper left again
    Select Edit and click 'Copy'

    Paste here.
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    madhuchanti is offline Member
    Join Date
    Jun 2014
    Posts
    2
    Rep Power
    0

    Default Re: java

    sir i cannot understand

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,397
    Rep Power
    25

    Default Re: java

    You need to give more details about what you are doing.
    If you don't understand my response, don't ignore it, ask a question.

Posting Permissions

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