Results 1 to 2 of 2
  1. #1
    barney is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default Execute Jar file

    Hi, I've been reading about how to create JAR files from other website, but they just give examples of how to run a JAR file from the command line. What I've yet to see is whether a JAR file can be executed by clicking on it, like in Windows Explorer.
    Can it be done?
    Thanks.

  2. #2
    lenny is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default

    Yes, it can be done through the same means as when you associate any other file type with a chosen default application. I've also heard people say that the JRE will automatically steal the .jar file extension when you install it, but that hasn't happened to me the few times I've installed it so far.

Similar Threads

  1. cannot execute EJB application.
    By JavaEmpires in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 07-17-2008, 10:53 AM
  2. My application Will Not Execute
    By romina in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 06:16 AM
  3. problems when I try to execute a jsp page
    By christina in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 08-01-2007, 01:23 PM
  4. why does not execute this?
    By aleplgr in forum New To Java
    Replies: 6
    Last Post: 08-01-2007, 12:37 PM
  5. Execute a new program in java
    By mathias in forum Advanced Java
    Replies: 1
    Last Post: 07-31-2007, 06:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •