468,134 Members | 1,268 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,134 developers. It's quick & easy.

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
Sep 30 '07 #1
2 6699
r035198x
13,262 8TB
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.
Oct 1 '07 #2
Get Sun's Java tutorial and read the Jar files section.
Hi,

Thanks, I gonna read Java Tutorial.

Thanks again

best regards
Oct 1 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by anks | last post: by
4 posts views Thread by David Moss | last post: by
5 posts views Thread by TZESENG | last post: by
1 post views Thread by | last post: by
6 posts views Thread by =?Utf-8?B?QW5kcmV3X2QxMjM=?= | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.