简体   繁体   English

无法打开安装了JRE的JAR文件?

[英]Can't open JAR files with JRE installed?

I have several JAR files that I was able to run several days ago; 我有几个JAR文件,我几天前就可以运行了; however, now my Mac changed them to be opened with the Unarchiver program. 但是,现在我的Mac将它们改为使用Unarchiver程序打开。 I don't see any options for opening the file with the Java Runtime. 我没有看到使用Java Runtime打开文件的任何选项。 I installed the latest update with no avail. 我安装了最新的更新但没有用。 I tried contacting Apple support. 我试过联系Apple支持。 Nothing. 没有。

Any help would be appreciated it. 任何帮助将不胜感激。

PS: I run OSX 10.9 PS:我运行OSX 10.9

Click on the jar and use ⌘+I On the dialog you get there's a "Open with..." option: 单击jar并使用⌘+ I在对话框中,您将看到“打开方式...”选项:

在此输入图像描述

open it and select the "Jar launcher" (on my mac, this application is located at /System/Library/CoreServices/Jar\\ Launcher.app ) for "open with" and click modify all, that should do it. 打开它并选择“Jar启动器”(在我的Mac上,此应用程序位于/System/Library/CoreServices/Jar\\ Launcher.app )以“打开方式”并单击“全部修改”,应该执行此操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM