Re-Enabling the Opening of Executable jar files Directly(Windows)
Page 1 of 1
Re-Enabling the Opening of Executable jar files Directly(Windows)
There are some of you who installed nokia pc suite, or some other softwares, and all the jar files are now associated with those softwares.
now when you make your executable jar file and then double click on it, it tries to.. well.. do unncessary things like trying to install the jar in your nokia mobile.
Now, if you want to open the file by double clicking, here is what you need to do.
Make a bat file which will execute:
now, go to your JRE/JDK directory, where the java exes are located.
make a new text file, and then open it.
Write:
now, right click on the jar file, and click on open with.
select the jaropener.bat in the predefined location, and then use it to open the executable jar file you just made.
Enjoy!
now when you make your executable jar file and then double click on it, it tries to.. well.. do unncessary things like trying to install the jar in your nokia mobile.
Now, if you want to open the file by double clicking, here is what you need to do.
Make a bat file which will execute:
- Code:
java -jar "filename".jar
now, go to your JRE/JDK directory, where the java exes are located.
make a new text file, and then open it.
Write:
- Code:
@java -jar %1
now, right click on the jar file, and click on open with.
select the jaropener.bat in the predefined location, and then use it to open the executable jar file you just made.
Enjoy!
Similar topics
» Enabling Help file viewer in Windows 7
» Fix double click opening in windows
» How to manage manually transformed .lnk and .exe files(only for windows 7 and vista)
» Shortcut for Windows xp,Windows 7,Windows Vista
» Problem creating executable jar file in java
» Fix double click opening in windows
» How to manage manually transformed .lnk and .exe files(only for windows 7 and vista)
» Shortcut for Windows xp,Windows 7,Windows Vista
» Problem creating executable jar file in java
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Tue Sep 29, 2015 2:45 pm by Sophiawood
» Cisco EHWIC SFP/GE WAN Card
Mon Sep 07, 2015 11:08 am by Sophiawood
» Huawei S1700-28GFR-4P-AC Price
Thu Jun 25, 2015 2:31 pm by Sophiawood
» teach yourself C++ / Herbert Schildt Solutions
Wed Jun 03, 2015 1:52 pm by Abdullah Al Noman
» teach yourself c by herbert schildt pdf
Wed May 13, 2015 11:01 pm by Raquib Ridwan
» ASA 5506X With Firepower ASA5506-K9
Fri Apr 10, 2015 4:31 pm by Sophiawood
» New Trends in Deal Business
Tue Feb 03, 2015 9:38 pm by nersoa
» PoE Power Allocation for WS-C2960S-24PS-L
Wed Nov 05, 2014 11:12 am by Sophiawood
» How to cure back pain
Fri Oct 31, 2014 7:15 pm by Bergen Guildford