Running of JAR file in Windows 7?
-
I have a "helloworld.jar" file. For running a JAR file I am using a command-line window and executing the following command: java -jar helloworld.jar By using this command I can execute the JAR file but instead of doing it in a command-line window, I want to execute the JAR file by double click. For this do I need to install any software? Can any one provide me help on this? Thanks in advance!!
-
Answer:
The Oracle Java tutorials has some information on how to do this. It's called the 'Java Web Start Application'. Here's a copy & paste of what it does: *** •Java Web Start applications - Java Web Start applications are launched via a browser the first time. They may subsequently be launched from a desktop shortcut. Once a Java Web Start application is downloaded and its security certificate has been accepted by the user, it behaves almost like a standalone application. *** I haven't taken the time to learn how to do it... Here's the link: http://docs.oracle.com/javase/tutorial/deployment/index.html
Hadi Sultani at Yahoo! Answers Visit the source
Other answers
Ok it sounds like you are writing software and compiling with JDK1.7 and you only have java 6 JRE installed (at least as far as windows is concerned.)
Jeff
You have to check the Jigga Bytes. They all have to be there for it to work..
Nick
PFFFT like i know...
Ryan
Related Q & A:
- How to upload .jar file in Wordpress?Best solution by WordPress
- How to create jar file with OpenCV in Eclipse?Best solution by Stack Overflow
- In Visual Studio 2012 or 2013, how can I register a DLL file on Windows 7 64-bit computer using a Custom Action command?Best solution by Stack Overflow
- Where is Windows Mail or Outlook Express in Windows 7?Best solution by Yahoo! Answers
- How to install tomcat 7 in windows 7?Best solution by ntu.edu.sg
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.