Cannot open my Java file

5 pts.
Tags:
Java
Mac
OSX
Recently I completely reset my Mac and downloaded a new OSX. But ever since I did that whenever I try to open a .jar file it says this:
"The Java JAR file "Add file name here" could not be launched. Check the console for possible error messages."
Also, I know I can just open the .jar file with "Archive Utility" but that won't achieve what I need to do. Mac OSX Yosemite Version 10.10.5

Software/Hardware used:
Mac OSX Yosemite Version 10.10.5 Java

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    Is this a single jar file/you wanted to run a game or something like that which shows this error? Check necessary software (jdk/jre) installed properly as this is a new OS installation. You can try to run the same file from terminal like java -jar yourfile.jar . Or try to install WinRAR which can help to solve this issue.
    118,290 pointsBadges:
    report
  • ToddN2000
    What are you trying to do then? If you can open with the archive utility and not with the method you are trying.
    113,530 pointsBadges:
    report
  • Subhendu Sen
    Also, if this is a new installation, please link here for download Java: https://support.apple.com/kb/DL1572?locale=en_US&viewlocale=en_US

    and install the software. Or if you have already installed it, you can check for update, open the Apple menu, click System Preferences > Java. Next click the Update tab and again click Update Now.

    118,290 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: