1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

cant open java program for windows

Discussion in 'Windows - Software discussion' started by dvr, Sep 24, 2007.

  1. dvr

    dvr Member

    Joined:
    Oct 31, 2004
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    16
    it is a .jar file and it used to open and work in xp but now in vista it says an error message

    could not find main class program will exit

    how do i run it? thanks
     
  2. muslim

    muslim Guest

    hmm .jar (java archive) can be opened by winrar you can download it from: http://www.rarlab.com but to be honest i dont know if its vista compitabe so check it before installing :)
     
  3. dvr

    dvr Member

    Joined:
    Oct 31, 2004
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    16
    i dont want to extract the files inside i want to open it as a program
     
  4. gozilla

    gozilla Regular member

    Joined:
    Oct 16, 2003
    Messages:
    466
    Likes Received:
    0
    Trophy Points:
    26
    do you have the latest Java VM installed (and it's libraries)?
     
    Last edited: Sep 25, 2007
  5. muslim

    muslim Guest

    Hi, exectuting jar files using double click requires java jdk installation, it associates jar files with java so that double clicking the jar file runs it. Although, some softwares like winzip or winrar change the association. Just go to the settings of these softwares and disable the jar association and re-associate jar files to be opened by java.

    To download Visit :http://java.com/en/download/index.jsp

    excuse my english i got confused between open (run) and open (extract).
     
  6. dvr

    dvr Member

    Joined:
    Oct 31, 2004
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    16
    i checked the associations and everything i installed java from the main site but when i run it it says

    "could not find main class program will exit"
     

Share This Page