Forum Stats

  • 3,839,332 Users
  • 2,262,484 Discussions
  • 7,900,936 Comments

Discussions

exe file for java swing application

919081
919081 Member Posts: 10
edited Jun 3, 2012 2:59AM in Java Desktop Applications
Hi,

Is there any launcher / bootstrap to launch a swing application ,where the jars need to be import to the local machine from remote repository if the version of the jar is updated the invoke the main method in the jar.

I tried with maven / apache avalon framework. But it is not working.
Tagged:

Best Answer

  • EJP
    EJP Member Posts: 32,920 Gold Crown
    edited Jun 3, 2012 1:29AM Answer ✓
    I think you did not get my question.
    On the contrary, it is you who did not get my answer. JWS does exactly what you have described. If you don't agree, please state in what respects JWS does not meet your requirement.

Answers

  • EJP
    EJP Member Posts: 32,920 Gold Crown
    You have just described Java Web Start, which is bundled with the JDK.
    EJP
  • 919081
    919081 Member Posts: 10
    Dear EJP,

    I think you did nt get my question.


    Current system.
    I am using ant build tool to build my client side jar.
    The main method in the ABC.class is invoked to launch the application.
    Jar will be generated in the local machine and the jar name is included in the class path to launch the application.


    My requirement.

    The newly built jar will be kept at a centralized location . I need launcher which will check the version of the jar in the centralized location with the jar in the local location and import the latest one to the local if updated and will invoke the main method of ABC.class to invoke the application of the imported jar.Otherwise it will invoke the main method from the OLD jar.

    I need this because the jar is to copied to the users' machine manually whenever a change is implemented.
  • EJP
    EJP Member Posts: 32,920 Gold Crown
    edited Jun 3, 2012 1:29AM Answer ✓
    I think you did not get my question.
    On the contrary, it is you who did not get my answer. JWS does exactly what you have described. If you don't agree, please state in what respects JWS does not meet your requirement.
  • 919081
    919081 Member Posts: 10
    Hey.....

    Sorry i dint get your point earlier...


    THANKS A LOT BUDDY......
  • EJP
    EJP Member Posts: 32,920 Gold Crown
    edited Jun 3, 2012 2:59AM
    Thank you. Another time when you are given exactly the right answer perhaps you won't be so trigger-happy.
This discussion has been closed.