How To Deploy Java Desktop Application Under Windows and Linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sezanawa
    New Member
    • Sep 2007
    • 9

    #1

    How To Deploy Java Desktop Application Under Windows and Linux

    Hi Guys,

    I am new to java deployment things. Specially for desktop applications. I used to work with J2EE and i did deployment only for web projects.

    Now i have developed a small desktop application. Its based on java swing. My application gonna serve on windows and linux systems. Now i want to deploy my application along with all libraries etc.

    Simply i dont know how to do that. I googled for such a thing but no success. Can i pack my whole application in a single jar file. I mean my application with all depending libraries.

    what should i do for different OS. is a single deployment ok for all OS?
    As much i know Java is platform independent and because of this reason i choose java for development.I think one deployment should ok with all os?

    Should i need to make a start batch file where i give class path, java home and main containing class (start class)?

    How would i know on which path is java installed on any pc? I mean, on different pc,s java is installed on different locations.

    Is there any way to get Java Home path dynamically from system?

    i know these are too many questions. Thats why sorry for inconsistencies .

    Please send me any tutorial or your own answer regarding to my questions.

    Thanking you in advance

    Best regards
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by sezanawa
    Hi Guys,

    I am new to java deployment things. Specially for desktop applications. I used to work with J2EE and i did deployment only for web projects.

    Now i have developed a small desktop application. Its based on java swing. My application gonna serve on windows and linux systems. Now i want to deploy my application along with all libraries etc.

    Simply i dont know how to do that. I googled for such a thing but no success. Can i pack my whole application in a single jar file. I mean my application with all depending libraries.

    what should i do for different OS. is a single deployment ok for all OS?
    As much i know Java is platform independent and because of this reason i choose java for development.I think one deployment should ok with all os?

    Should i need to make a start batch file where i give class path, java home and main containing class (start class)?

    How would i know on which path is java installed on any pc? I mean, on different pc,s java is installed on different locations.

    Is there any way to get Java Home path dynamically from system?

    i know these are too many questions. Thats why sorry for inconsistencies .

    Please send me any tutorial or your own answer regarding to my questions.

    Thanking you in advance

    Best regards
    Get Sun's Java tutorial and read the Jar files section.

    Comment

    • sezanawa
      New Member
      • Sep 2007
      • 9

      #3
      Originally posted by r035198x
      Get Sun's Java tutorial and read the Jar files section.
      Hi,

      Thanks, I gonna read Java Tutorial.

      Thanks again

      best regards

      Comment

      Working...