Results 1 to 3 of 3
  1. #1
    Miami is offline Member
    Join Date
    Aug 2014
    Posts
    1
    Rep Power
    0

    Default Java Exception has occured-Unable to open jar file

    This works for some people and doesn't work for the other people, I don't know the cause because I just want a jar client that works with everyone! Whenever I jar my client, it works for me and my friend also some other people that try it. Theres also another handful of people where when they try to open the jar file they get an error like this:


    I have sent a cmd batch to my friend to see what the error is and it said
    "C:\Program files(x86)\skype\phone\java - jar testing.jar
    Unable to access jarfile testing.jar
    Press any key to continue...."
    Now I sent it to my dads computer and got a different message
    "C:\Users\User\Desktop>java -jar Test.jar
    'java' is not recognized as an internal or external command,
    operable program or batch file.
    Press any key to continue . . ."
    Also sent it to ANOTHER person and got a DIFFERENT error:


    I HAVE ALREADY TRIED JARING IT WITH ECLIPSE. So please don't give me the option to jar with eclipse since the client works for some and doesn't for others..does anyone know how to fix this. I really need testers for my server and only got 50% players out of 100%....
    Last edited by Miami; 08-11-2014 at 06:54 AM.

  2. #2
    RamyaSivakanth's Avatar
    RamyaSivakanth is offline Senior Member
    Join Date
    Apr 2009
    Location
    Chennai
    Posts
    878
    Rep Power
    11

    Default Re: Java Exception has occured-Unable to open jar file

    javac path should be added for your above screenshot.

    for running ur jar might be version problem or got corrupted.
    Ramya:cool:

  3. #3
    AlexGraal is offline Señor Member
    Join Date
    Jan 2014
    Posts
    184
    Rep Power
    0

    Default Re: Java Exception has occured-Unable to open jar file

    Let me google that for you

    It looks like there are plenty of solutions.

Similar Threads

  1. A Java Exception Has Occured [Error]
    By Zacckron in forum New To Java
    Replies: 9
    Last Post: 07-30-2014, 10:08 AM
  2. Replies: 5
    Last Post: 07-06-2014, 12:05 AM
  3. A Java Exception Has Occured
    By supervegito in forum New To Java
    Replies: 9
    Last Post: 03-25-2013, 04:11 PM
  4. Java Exception Has Occured
    By EdenC in forum Eclipse
    Replies: 9
    Last Post: 08-30-2011, 05:40 PM
  5. Java Exception Has Occured
    By EdenC in forum New To Java
    Replies: 12
    Last Post: 08-29-2011, 05:20 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
  •