Results 1 to 5 of 5

Thread: thread main

  1. #1
    elizabru is offline Member
    Join Date
    Aug 2008
    Posts
    2
    Rep Power
    0

    Default thread main

    Exception in thread "main" java.lang.

    The error came when i changed the java jdk version to 1.6.0 and my server is not running.
    Some 'Problem Occured' message window is coming

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

    Default

    Please post the full text of the error message.
    What command did you enter to get the error message?
    How is a server involved in this?

  3. #3
    elizabru is offline Member
    Join Date
    Aug 2008
    Posts
    2
    Rep Power
    0

    Red face main thread

    hai..
    thank u..
    I was developing a web application in eclipse europa IDE, as i had to get the NetworkInterface methods.. I changed my jre 1.5 to 1.6.. after that this error came. I mean i cannot run even my jsp pages.. Whenever i run the main class written in java it shows the thread which i mentioned.. 'Exception in thread "main" java.lang.'
    While i try to run the jsp.. it shows that 'Problem Occured' msg box details...jre installed...no further informations..
    Last edited by elizabru; 08-17-2008 at 06:17 AM.

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

    Default

    Whenever i run the main class written in java it shows the thread which i mentioned.. 'Exception in thread "main" java.lang.'
    Please post the FULL text of the error message along with the command you enter to get it.
    What server are you using?
    'Problem Occured' msg box details
    What are the details?

  5. #5
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Hi,
    i think its the problem with installation or classpath so first write a single class with one sysout and check it its running correctly.
    To finish sooner, take your own time....
    Nivedithaaaa

Similar Threads

  1. 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
  2. main thread question?
    By frejon26 in forum New To Java
    Replies: 1
    Last Post: 01-24-2008, 10:13 PM
  3. Replies: 1
    Last Post: 08-07-2007, 07:10 AM
  4. Replies: 1
    Last Post: 07-27-2007, 10:59 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
  •