Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

Double-Clicking on .jar files in Windows #27

Closed
NTICompass opened this issue Dec 22, 2015 · 2 comments
Closed

Double-Clicking on .jar files in Windows #27

NTICompass opened this issue Dec 22, 2015 · 2 comments

Comments

@NTICompass
Copy link

I installed OpenJDK x64 on Windows 10 Pro (64-bit). When I double-clicked on a .jar file, Windows asked me to find a program to open it.

Can this registry key be added to the installer?

P.S. I managed to fix it by running the following in an Administrator command prompt:

$ assoc .jar=jarfile
$ ftype jarfile="C:\OpenJDK\jre\bin\javaw.exe" -jar "%1" %*
@alexkasko
Copy link
Owner

Hi,

On 12/22/2015 05:23 PM, Eric Siegel (Rocket Hazmat) wrote:

I installed OpenJDK x64 on Windows 10 Pro (64-bit) When I double-clicked on a jar file, Windows asked me to find a program to open it

Can this registry key be added to the installer?

Installer supports registry keys when running "As Administrator". Please
see this issue for details -
#26

PS I managed to fix it by running the following in an Administrator command prompt:

$ assoc jar=jarfile
$ ftype jarfile="C:\OpenJDK\jre\bin\javawexe" -jar "%1" %*

Reply to this email directly or view it on GitHub:
#27

-Alex

@alexkasko
Copy link
Owner

openjdk-unofficial-builds project is discontinued, closing the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants