Solved

how to prepare a deployable jar from eclipse

Posted on 2003-11-06
5
364 Views
Last Modified: 2008-03-04
Hi,
 
    I am using eclipse on windows 2000, had created java clases and using some property files, folders to read and write files, log4.jar for maintaining log.

   Now i want to deploy on a solaris system as a single jar (or couple of jar's and property files for editing) and would like to run some of the main programs like java <program> <arguments> on a solaris system. What are the steps i need to fallow to achive this. Using export in Eclipse to a jar file will do this. How to run the programs. I have more than one main program.

  I am basically looking at deploying the things and my application is developed using core java. Pls provide some detail information on how to do this.

thanks,
H
0
Comment
Question by:hyder
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 125 total points
Comment Utility
Ant will give you a way of doing this sort of thing:

http://ant.apache.org/manual/CoreTasks/jar.html
0
 
LVL 92

Assisted Solution

by:objects
objects earned 125 total points
Comment Utility
Assuming you already have Java installed on the Solaris system you just need to copy the jars generated by Eclipse to the 'ext' directory of the JRE installation on the solaris system.

You will then be able to run the apps from the command line as you do on W2K.
Or you can create shell scripts to run the required command.
0
 
LVL 86

Expert Comment

by:CEHJ
Comment Utility
:-)
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
This video teaches viewers about errors in exception handling.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now