Results 1 to 6 of 6
- 04-09-2012, 09:39 PM #1
Member
- Join Date
- Apr 2012
- Posts
- 2
- Rep Power
- 0
.jar not executing after java update failed
I have been successfully using a .jar file along with Microfocus Cobol for several months. I recently got a "Java update is available" message and clicked okay to do the update. After several hours it failed. The .jar file would no longer execute when I doubleclicked on it. I uninstalled all the JRE and client software and reinstalled successfully. The .jar file still does not run. When I doubleclick, it does not execute and I don't see it in my Windows Task manager as attempting to execute. Any suggestions to getting my .jar file to execute would be greatly appreciated.
Thanks
Rita
- 04-09-2012, 09:48 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
Re: .jar not executing after java update failed
Can you execute your .jar manually? i.e.
If it succeeds, I bet the file association is broken.Java Code:java -jar <your_jar_file>
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 04-09-2012, 09:52 PM #3
Member
- Join Date
- Oct 2011
- Posts
- 6
- Rep Power
- 0
Re: .jar not executing after java update failed
Sounds like the association to the .jar extension got removed, or the new install is in a different folder.
Open Windows Explorer, go to Tools > Folder Options > File Types
Scroll down to the .JAR extension
Click Advanced
Select the 'open' action
Click Edit
Verify that the path to javaw.exe is correct
If the .JAR extension isn't even there, you'll have to re-add it.
Mine is configured like...
Action: open
Application used to perform action: "C:\Program Files\Java\jre6\bin\javaw.exe" -jar "%1" %*
Use DDE: Checked
DDE Message: <blank>
Application: javaw
DDE Application Not Running: <blank>
Topic: System
However, I never double-click .jar's, so it may not work anyway...
- 04-09-2012, 10:04 PM #4
Member
- Join Date
- Apr 2012
- Posts
- 2
- Rep Power
- 0
Re: .jar not executing after java update failed
I have "C:\Program Files\Java\jre6\bin\javaw.exe" -jar "%1" %* and all the options like you specified. When I try to run it manually from the command prompt I get the message "unable to access jarfile pdc1.jar"
Any other ideas?
- 04-09-2012, 10:08 PM #5
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
- 04-09-2012, 10:32 PM #6
Similar Threads
-
Error: java.lang.Exception: Failed to get cmi entry
By Faisal Saddique in forum New To JavaReplies: 7Last Post: 02-14-2012, 05:31 PM -
Java Applet failed to run
By gonzo6524 in forum Java AppletsReplies: 5Last Post: 08-12-2011, 03:34 PM -
java.net.SocketException: Permission denied: listen failed
By vitaliy in forum NetworkingReplies: 3Last Post: 05-22-2011, 03:16 PM -
urgent help -java mail authorization failed exception
By ravinder.kadiyan in forum Advanced JavaReplies: 2Last Post: 04-30-2008, 11:27 AM -
Java failed to reach to a PC in local LAN
By JavaEmpires in forum NetworkingReplies: 1Last Post: 01-24-2008, 06:30 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks