473,659 Members | 3,082 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How To Deploy Java Desktop Application Under Windows and Linux

9 New Member
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 7025
r035198x
13,262 MVP
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
sezanawa
9 New Member
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
2586
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 coping files in a user defined directory. I want to make the interface in java swing.Do i need to have java installed on the intended machine or it could somehow run from the installer CD iself. I am totally new to linux.can anybdy help?...
383
12072
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 poor man's DBMS, a broken email server and various other /application/ servers to try and crack the Internet and IS markets. In the case where they didn't spend their own money to get companies to
11
9243
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 C++. I find my self sometimes, trying Object app = Object(); Object *app = Object(); Object app = new Object();
4
4802
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 straightforward as Java for the desktop. Even finding a JRE for the PDA is a nightmare. The PC came with Jeode, a version of PersonalJava. PersonalJava is no longer supported by SUN.
4
3728
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 database for other application is SQL-SERVER. they have 12 users.
5
2312
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 Peter Yared, CEO of software maker ActiveGrid, spent a critical chapter of his career steeped in Java, the programming language developed by Sun Microsystems (SUNW). In the late 1990s, Yared was chief technology officer
1
1464
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 ctrl buttons on the right side of the space bar - or press shift +F10). How do I specify deployment to that menu rather than to the desktop or program menu?
6
10950
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 issue once in vs 2005 and one the problem just went away. Well now its back. If I build the app 20 times it may work once. I did find that if I remove this as a required dll that I can get my program to run. I can't seem to find any info about...
0
8335
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8747
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8528
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7356
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6179
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2752
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.