Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Launching jar file

JörgApr 28 2012 — edited Apr 30 2012
Hello,

after updating to 7_04, I cannot lauch my jar files by simply clicking on them any more.
(WIN7. Console command java -jar ... works fine.) I had the same problem before under 7_03,
yet reinstalling the jdk was a solution. Now, after removing and reinstalling the jdk, I am prompted
to (either search the web or) choose a program from a list. This list seems already suspicous to me,
as there are two entries by the same name of "Java(TM) Platform SE binary". To not choose the
wrong one, I click the "Browse ..." button and pick javaw.exe from "Program Files/Java/jre7/bin".
But nothing happens.

I searched the registry for ".jar" and found two promising entries
HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Explorer/FileExts/.jar
HKEY_USERS/S-1-5-21-1845.../Software/Microsoft/Windows/CurrentVersion/Explorer/FileExts/.jar

Both look the same having two keys
OpenWithList
(Standard)	RG_SZ
a		RG_SZ	javaw.exe
MRUList	RG_SZ	a

OpenWithProgids
(Standard)	RG_SZ
jar_auto_file	REG_NONE	(Binary value of length null)
Does anybody know how to get this fixed?
(I post the question here and not in the JAR forum, as it is rather a Windows and not JAR problem.)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2012
Added on Apr 28 2012
8 comments
1,854 views