Results 1 to 10 of 10
  1. #1
    javawi is offline Member
    Join Date
    May 2011
    Posts
    3
    Rep Power
    0

    Question cold not find the main class: jnidemo.JNIDemo programme will exite

    hi everbody , can you help me , i don't know how this error it be came in my computer , always when a start :confused::confused:

  2. #2
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    When are you getting this error? When you start your compiler? Or when you try to compile and run?
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

  3. #3
    javawi is offline Member
    Join Date
    May 2011
    Posts
    3
    Rep Power
    0

    Default

    i get this error always when a start my computer

  4. #4
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,365
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by javawi View Post
    i get this error always when a start my computer
    Check your 'startup' folder in your 'start' menu; your computer probably wants to start a jniDemo that isn't there anymore. Remove it from you startup folder. (this all applies to an MS Windows box only).

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  5. #5
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    However, this isn't really a Java question.
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

  6. #6
    javawi is offline Member
    Join Date
    May 2011
    Posts
    3
    Rep Power
    0

    Default

    ok thank you , but it's a really prrobleme of java , and i don't find the solution , i will unistal java

  7. #7
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,365
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by javawi View Post
    ok thank you , but it's a really prrobleme of java , and i don't find the solution , i will unistal java
    Before you do that, reread my reply #4.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  8. #8
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    I doubt uninstalling java will take care of it.
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

  9. #9
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,365
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Dark View Post
    I doubt uninstalling java will take care of it.
    If the question was actually Java related, removing Java would certainly change the error message ;-)

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  10. #10
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    I guess if its a part of the java package then yes, but if its not directly tied into the JDK/JRE I sincerely doubt uninstalling it will do anything.
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

Similar Threads

  1. Could not find main class
    By Karenthian in forum New To Java
    Replies: 7
    Last Post: 03-30-2011, 03:02 PM
  2. Could not find main class
    By yetty4ever in forum New To Java
    Replies: 7
    Last Post: 02-16-2011, 07:38 PM
  3. Could Not Find Main Class (again)
    By illjavathat in forum New To Java
    Replies: 25
    Last Post: 11-23-2010, 09:49 AM
  4. could not find main class?
    By deathnote202 in forum New To Java
    Replies: 6
    Last Post: 05-10-2010, 08:57 PM
  5. JVM Could not find main class
    By banduskank in forum Advanced Java
    Replies: 2
    Last Post: 06-24-2008, 08:05 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
  •