Results 1 to 15 of 15
  1. #1
    anurag.25 is offline Member
    Join Date
    Feb 2009
    Posts
    8
    Rep Power
    0

    Default help needed in runnin java project

    i need help in running a java project..i have a project on e-mail system application containing many java files but m not able to understand how to run this project..please help...

  2. #2
    mathansj is offline Member
    Join Date
    Feb 2009
    Posts
    9
    Rep Power
    0

    Default

    Hi

    do u have main method in that project

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

    Default java vs class

    What do you mean by
    Im not able to understand how to run this project..
    • Do you know how to run a java class?
    • Do you know which java class contains the main method?
    • Do you have the JRE installed?


    we need some more infromation...

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  4. #4
    anurag.25 is offline Member
    Join Date
    Feb 2009
    Posts
    8
    Rep Power
    0

    Default

    these files are there in the project....all files r compiling but when i run these files there is exception error...plzzz help guyzzz...i'll b very thankful 2u...

    ClientHandler.java, CreateUserGUI.java, Email.java, EMailClient.java, EMailServer.java, FontChange.java, InboxList.java, LoginWindowGUI.java, MainFunctionMenuGUI.java, MainLoginMenuGUI.java, ReadMailWindowGUI.java, RecipientList.java, SendMailWindowGUI.java, User.java, ViewGraphicsAttachment.java, ViewMediaAttachment.java, ViewTextAttachment.java

  5. #5
    anurag.25 is offline Member
    Join Date
    Feb 2009
    Posts
    8
    Rep Power
    0

    Default

    n 1more thing it has some .gif images also with these java files.....

  6. #6
    anurag.25 is offline Member
    Join Date
    Feb 2009
    Posts
    8
    Rep Power
    0

    Default

    the same prblm is with another project having account.java, ATM.java and bank.java files but m not able to run this project....plz help as early as possible....thanks in advance...

  7. #7
    mathansj is offline Member
    Join Date
    Feb 2009
    Posts
    9
    Rep Power
    0

    Default

    Give the exact error details

    and also the same thing

    * Do you know how to run a java class?
    * Do you know which java class contains the main method?
    * Do you have the JRE installed?

    Please specify the line which is getting error ....


    Thanks
    Mathan.S

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

    Default

    have you gone through the intro to java tutorials at the Sun Java tutorial site?

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

    Default

    hhhmmm... interesting... you list files that end in .java, which means that you have access to the source files (code).
    How come you don't know what to do with these files? Please explain (including answering my questions from my previous post).

    Luck,
    CJSL
    Chris S.
    Difficult? This is Mission Impossible, not Mission Difficult. Difficult should be easy.

  10. #10
    anurag.25 is offline Member
    Join Date
    Feb 2009
    Posts
    8
    Rep Power
    0

    Default

    i knw how to run java files dnt knw how to run java class....is dat diffrnt frm running a java file??? i knw which file has main function....nd JRE is installed on ma PC....

  11. #11
    anurag.25 is offline Member
    Join Date
    Feb 2009
    Posts
    8
    Rep Power
    0

    Default

    i have the source files (coding)...which was given to me by ma frnd who has nw shifted to japan nd i dnt hav his no. and i hav 2submit ma final yr project...

  12. #12
    anurag.25 is offline Member
    Join Date
    Feb 2009
    Posts
    8
    Rep Power
    0

    Default

    java.lang.NoSuchMethodError: main
    Exception in thread "main"

    this is the error wen i run the file....i tried runnin every file....bt the same error occurs...

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

    Default

    One word of unasked for advice: Please avoid unnecessary abbreviations in your posts here. I recommend this for several reasons:

    1) Programming is an exercise in precision. When you communicate here (or anywhere) about programming issues and questions, you want this communication to be as clear as possible to avoid any chance for ambiguity. I'd say at least half the answers here are requests for clarification. Let's avoid that.

    2) For many here, English is not their first (or second or third) language. It's hard enough for them to understand what people are posting here much less if it's couched in obscure and non-standard abbreviations.

    3) Extra letters don't cost anything here, so you might as well use them.

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

    Default

    Quote Originally Posted by anurag.25 View Post
    i knw how to run java files dnt knw how to run java class....is dat diffrnt frm running a java file??? i knw which file has main function....nd JRE is installed on ma PC....
    Please go to the Sun Java tutorials and start from the beginning, here:

    Trail: Getting Started (The Java™ Tutorials)

    You've much to learn, so good luck!

  15. #15
    anurag.25 is offline Member
    Join Date
    Feb 2009
    Posts
    8
    Rep Power
    0

    Unhappy

    fine Fubarable i will not use any abbreviations..but if i have to study that material i would have read it long before..actually i dont have time to read all these things at this time when i am having my exams..i know u all r intelligent guyz thats why i came here..anyways thanks for reading all this and ur suggestions..i'll try to find out some other easy project which i can run myself..
    bbye n tc...god bless all the programmers:):(

Similar Threads

  1. Replies: 0
    Last Post: 02-01-2009, 08:43 AM
  2. help needed with project
    By Ice_Angel in forum JDBC
    Replies: 1
    Last Post: 06-22-2008, 08:00 PM
  3. data from the main/GUI thread to another runnin thread...
    By cornercuttin in forum Threads and Synchronization
    Replies: 2
    Last Post: 04-23-2008, 10:30 PM
  4. Java experts needed- 30 minute online Java projects
    By michelle in forum Jobs Offered
    Replies: 0
    Last Post: 03-05-2008, 11:47 PM
  5. Uni Project - GUI - Help Needed
    By deeadeed in forum New To Java
    Replies: 0
    Last Post: 12-03-2007, 11:10 PM

Posting Permissions

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