Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2010
    Posts
    40
    Rep Power
    0

    Default Somebody please help me! You must know how! This has been plauging me for months!

    I have had this problem for a year or so and I have spent so long trying to fix it I feel like I am going to fucking cry.

    I have the latest java and JDK. I can not run any .jar files. I can play stuff that uses java through my browser but cannot run a program off my hard drive. I am using vista.

    Let me explain it in a simple form:

    1. Father downloaded new java I think and maybe something else like windows update.
    2. When I try to run my .jar files it says it doesnt know what to open it with.
    3. Ages trying to fix it.
    4. .jar files open a black command prompt box with text for a split second then it closes instantly.
    5. uninstalled all my java staff again.
    6. Reinstalled the newest Java and JDK.
    7. See step 4.

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    5

    Default

    jar files might be executable, but are not graphical gui clients.
    instead of double clicking on them in the windows explorer, are you able to open a command console, cd into the folder where this jar file is, and type "java -jar thejarfile.jar"

    the stuff it spits out on the console will then stay there, if it is an error message you will be able to see what the error is.

  3. #3
    Join Date
    Dec 2010
    Posts
    40
    Rep Power
    0

    Default

    http://i197.photobucket.com/albums/a...nableTojar.png
    ^Thats what happens if I try to open a .jar with command. It would seem to say that the problem is that it cannot acess jarffile.
    I happen to know there are two registry keys I cannot acess, delete, change permission, etc called .jar and jarfile.

    and I used to be able to execute the .jar files with a double click.
    Last edited by I Want To Kill Java; 12-29-2010 at 06:32 AM.

Similar Threads

  1. Need SCJP 5 Voucher with 1 or 2 months validity
    By rajeshtech in forum Java Certification
    Replies: 0
    Last Post: 10-21-2009, 07:12 AM
  2. Need SCJP voucher with 6 Months Validity
    By nphariharan in forum Java Certification
    Replies: 2
    Last Post: 07-29-2009, 07:11 PM
  3. Displaying 12 calendar months?
    By jaydubya in forum New To Java
    Replies: 3
    Last Post: 09-16-2008, 06:28 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
  •