472,373 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,373 software developers and data experts.

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 6917
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

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

Similar topics

3
by: anks | last post by:
I have got a software that is meant to work on linux plateform.I need to make a installer for it,so that it checks for the presence of java on the system first then depending on its existance start...
383
by: John Bailo | last post by:
The war of the OSes was won a long time ago. Unix has always been, and will continue to be, the Server OS in the form of Linux. Microsoft struggled mightily to win that battle -- creating a...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
4
by: David Moss | last post by:
I was given a Compaq pocket PC with windows mobile 2002. I immediately began looking into how to program it and Java seemed initially to be a good choice. To my surprise I found it wasn't as...
4
by: Elhanan | last post by:
hi.. all a client of ours is considering to move from a dos application to windows desktop application. the application is for traveling agency, the database is rather large. their current...
5
by: TZESENG | last post by:
DECEMBER 13, 2005 . Editions: N. America | Europe | Asia | Edition Preference News Analysis By Steve Hamm Source: http://www.businessweek.com/technology/content/dec2005/tc20051213_042973.htm...
1
by: | last post by:
Hi I have written an application that I would like to deploy to the context menu in xp. That is the menu that appears when you press the secondary windows button (generally between the alt and...
6
by: =?Utf-8?B?QW5kcmV3X2QxMjM=?= | last post by:
Here is my problem. I have an app that has over 9 web services. For years I had not issues with clickonce but now it looks like the build is missing XmlSerializers.dll.deploy. I did have this...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
1
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web server and have made sure to enable curl. I get a...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand. Background colors can be used to highlight important...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.