Packaging and installing a java project

Hi everyone,
I have a java project which has been developed in Eclipse IDE. I would like to package the project so that i it can be installed and can be run as a stand alone product.
Any tools that would help me do packaging and installing a java project?
Thank you.

Easiest way to package a Java project is to create an executable jar for it. You probably should google for more information on the 'jar.exe' program (sry for window bias)
If you have external dependencies you should put those in separate jars and include them in the classpath in the jar manifest file.
The only other thing to worry about is getting java installed on other people's machines. In general it is best if possible to have them download java themselves as they will get the latest and greatest from this website. If that's not possible you may want to look into getting sun's permission to distribute Java with your app.

Similar Messages

  • How to find and install right java for ECC6 intstallation on AIX5.3

    Hello
    I wander how to find and install right java for ECC6 intstallation on AIX5.3. I went thruroughly thru note 723909 and underlying 716927, 1008311 and 1039948 notes but I still do not understand.
    I guess I should logon to IBM site http://www.ibm.com/developerworks/java/jdk/aix/service.html
    where I can choose :
    " Java 1.4.2 64-bit "
    and then :
    "64-bit SDK 1.4.2 base images (at 1.4.2.0 level; in installp format) "->"Base SDK (required)
    Java14_64.sdk.tar  ((50001920)
    then I assume (on AIX ) I should "tar xvf Java14_64.sdk.tar".
    then I get extracted "Java14_64.sdk"
    Is this ok?
    I know on Linux(
    from IBM site I downloaded "IBMJava2-amd64-142.rpm"
    then I issued
    "rpm -i IBMJava2-amd64-142.rpm "
    and finally issued
    "export JAVA_HOME=/opt/IBMJava2-amd64-142")
    What in case of AIX5.3? Could you help me?

    I was told to use smitty (just I am not familiar with it). furdermore i do not hace read.me file. the ziped files are:
    Java14_64.ext
    -rw-rr 1  202 bin    371712 Mar  2  2010 Java14_64.license
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.ja_JP
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.Ja_JP
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.ko_KR
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.zh_CN
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.Zh_CN
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.zh_TW
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.Zh_TW
    -rw-rr 1  202 bin   4888576 Mar  2  2010 Java14_64.samples
    -rw-r----- 1 root root 67190784 Oct  4 09:53 Java14_64.sdk
    -rw-rr 1 root root 77370639 Nov 20 19:36 Java14_64.sdk.tar.gz
    -rw-r----- 1 root root 12612608 Oct  4 09:53 Java14_64.source

  • Intslling Creative Cloud on my Desktop after i bought it (the $10/month package) and installed it on my Laptop?

    Intslling Creative Cloud on my Desktop after i bought it (the $10/month package) and installed it on my Laptop?
    So how can I install Creative Cloud on my DESKTOP after I bought it (the $10/month pack) and installed it on my LAPTOP.  I am assuming I don't need to buy it again!?

    Hi there
    Your membership allows you to activate the apps on 2 of your computers so you just need to follow the same process to install Creative Cloud on your desktop: http://helpx.adobe.com/creative-cloud/help/install-apps.html
    Thanks
    Bev

  • Can I package and call a java object in the swf? (on the client)

    Hello,
    Can I package and call/execute a java object within the
    swf/adobe flash player?
    I want to embed a java object in my swf, and then whne the
    swf executes have it call the java object......
    E.

    ..... there are few instances where it would be nice to
    develope a single java object that can be used on the server and
    the client..... let's say for the case of server side validation,
    that could also be used by the client application for validation,
    instead of having to maintain 2 sets of validation logic in two
    different languages (java and AS).....

  • After unistalling and installing new Java 8, can´t aktivate the plug-in needed

    Have tried both installing Java 8, unistalling it and a version of Java 7 uppd. 67 that doesn´t seem to exist, but still is there... I´ve tried restarting my computer, activating plug in for Java 8, but I still get the message that I Need a plug-in to be able to show content.

    With the last Firefox upgrade, some plugins are no longer
    enabled until you enable it.
    Type '''about:addons'''<Enter> in the address bar to open your Add-ons Manager.
    Hot key; '''<Control>''(Mac:<Command>)''<Shift> A)'''
    On the left side of the page, select '''Plugins.'''
    BTW; At the top right is a link to check your plugins.
    '''[http://java.com/en/download/installed.jsp Verify Java and Find Out-of-Date Versions]''' {web link}

  • I just updated my Mac OSX to Yosemite. I'm using PS5.1 extended. I've dl'd and installed the Java update, as recommended, but Photoshop still refuses to open. HELP!

    I just updated my Mac OS to Yosemite. Every other program is working fine, but not Photoshop. I've tried everything mentioned in the forums, including updating the JAVA program, a restart and still PS will not open, giving me a "An unexpected and unrecoverable problem has just occurred. Photoshop will now exit." warning.  HELP! I rely very heavily on this program and my attempts to obtain help from Adobe have been utterly futile.

    Reinstall Photoshop CS5 to replace the files damaged by the MacOS 10.10 installer.

  • Can't use the jai package after installing it

    when i downloaded the package it was an exe file that extracts the package and instals it.
    the default path for installation was c:/jbuilderx/jdk1.4.1 so i kept it like that and i got 3 files,
    jai_core ( i think this is the main package ) in the path C:\JBuilderX\jdk1.4\jre\lib\ext ,
    jai_codec in the same path ,
    mlibwrapper_jai in the same path ,
    but in my project when i write 'import' i can't find it anywhere so plz tell me what to do
    thanx in advance.

    take the JAI files and put them in the corresponding folders of your current Java installation, there isn't any classpath to them, so you cannot see them.

  • Automated packaging and deploying of WebCenter Spaces/Portal

    Hey,
    I'm using WebCenter PS5 (11.1.1.6) and was wondering if anyone has setup package and deployment scripts for use in Continuous Integration (CI) for Webcenter Portal and Spaces using Ant. From the documents online I can see that there is limited support for this:
    WebCenter Portal
    You can use the 'New...' wizard to generate an ant build which will build a .war for your Portal.jpr project. What I can't find is something that will generate an .ear for the entire .jws. Is there a way to do this through ant, wlst or other without doing a 'right-click' option in JDeveloper? It looks like the .ear generation adds a bit of extra stuff like the metadata archive and so couldn't fudge it through a normal <ear> task to wrap the .war.
    WebCenter Spaces
    So it looks like extending spaces requires quite a few different artifacts. The first being the extend.spaces.webapp.war, which is simple enough since the DesignWebCenterSpaces\WebCenterSpacesExtensionLibrary comes with an ant to do packaging and deployment. However it still leaves question marks for all the .ear files that contain Resources. It would seem you only have 2 choices here - right click deploy from JDeveloper or export as EAR from JDeveloper and then manually install. Are there any ojdeploy tasks etc for the individual spaces resources that could package and install into spaces?
    It looks like the only thing I can really properly automate at the moment is the extend.spaces.webapp.war deployment, and all the rest I will have to generate an EAR from within JDeveloper. I really want to avoid generating from JDeveloper as that means you have to check-in archives into source control which isn't good practice.
    Responses on this topic are next to none so I would really appreciate an answer if anyone has tried or done this.
    Cheers,
    Ross

    So I managed to find a way to build the EAR using ant/ojdeploy for the WebCenter Portal Application. See the following text section which is found in the given link:
    http://one-size-doesnt-fit-all.blogspot.com.au/2010/11/using-ojdeploy-and-ant-for-creating-adf.html
    Entirely separately to generating ADF libraries, if you wish to use the ojdeploy utility to create an EAR via the workspace, you do this by dropping the project option leaving the workspace, profile and outputfile options. If you do this under JDev 11.1.1.2.0 specifically you'll see the error message "Missing <workspace>, <project> or <profile> parameter in <deploy> element", caused by a bug in the ojdeploy utility, of which there is a patch available.
    So basically just drop the <ora:parameter name="project" value="${oracle.jdeveloper.project.name}"/> line in your ant script and it will use the .jws instead to build your project.

  • How to install previous Java version?

    SL comes with Java SE 6 (32 and 64 bit). Is there a way to install previous version of Java? I am looking for J2SE 1.4.2.
    Any idea?
    Thanks

    It's not supported by Apple, but here's what was posted on another site. The user name is the same as yours, but since you're asking I'm presuming that it wasn't you. Note that I'm quoting; I haven't tried it myself; as with any such hack, unexpected consequences may arise:
    xsi wrote:I was able to get Java 1.4.2 working with Safari in Snow Leopard >tonight. Here's how to do it.
    1. Install Java 1.4.2 as outlined in this link:
    http://wiki.oneswarm.org/index.php/OSX_10.6_SnowLeopard
    Alternatively, extract Java 1.4.2 from the Java For Mac OS X 10.5 Update 4 installation package, and install it in a similar manner:
    http://support.apple.com/downloads/Javafor_Mac_OS_X_10_5_Update4
    2. Make sure that Java 1.4.2 is the first 32-bit application in the list. Under Java Preferences, my list reads:
    Java SE 6 64-bit
    J2SE 1.4.2 32-bit
    Java SE 6 32-bit
    3. Open Safari in 32-bit mode via the Get Info window for Safari. This is where I was getting screwed up. It finally occurred to me that Java 1.4.2 is a 32-bit application, but if Safari was opening in 64-bit mode, it wouldn't use the 32-bit Java apps.
    Once I opened Safari in 32-bit mode, Safari was able to use Java 1.4.2.
    Hope that helps.
    Message was edited by: Dave Sawyer

  • Package and deploy Photoshop presets with Configurator panels ?

    Hi,
    is there any functionality available in either Configurator or the Extension Manager that might allow me to package and install some Photoshop presets (brushes, shapes, scripts etc) when I create a ZXP file ?.
    I work as an educator, and really like the idea that the Panels can be deployed so easily by novice users. It would be particularly useful if I could also add some content to the presets folder at the same time as installing a Panel.
    Thanks

    An example on how to configure the mxi file for installing  your personal items ( as an example i use burshes) :
    1-Create a new folder inside the directory :   Adobe Extension Manager/Samples/  and call it Photoshop
    2-go to Adobe Extension Manager/Samples/Dreamweaver/
    copy the DreamweaverBlank.mxi file, past it in the Photoshop folder you Have created and rename it PhotoshopBlank.mxi
    You will keep this file as a template.
    3-open the file you renamed with a text editor
    make the modifications  you see below and save it with a nameyoulike.mxi   (without spaces)
    <macromedia-extension
    name="name you want"
    version="number you want"
    The description above will appear in extension manager
    type="command">
    <!-- Describe the author -->
    <author name="your name" />
    <!-- List the required/compatible products -->
    <products>
    <product name="Photoshop" version="version" primary="true" />
    </products>
    instead of dreamweaver write Photoshop, and change also the version
    ( for example Photoshop CS4 is version 11.0,  CS5 is version 12.0)
    That will  target photoshop as program where to install your brush
    <!-- Describe the extension -->
    <description>
    <![CDATA[
    write a description  of the presets you are installing, this will appear in Extension Manager.
    ]]>
    </description>
    <!-- Describe where the extension shows in the UI of the product -->
    <ui-access>
    <![CDATA[
    write a description  of where the  presets you are delivering will be installed in PS.
    ]]>
    </ui-access>
    <!-- Describe the files that comprise the extension -->
    <files>
    <file name="Your brushes' name.abr" destination="$presetsfolder/brushes" />
    <file name="Your brushes' name2.abr" destination="$presetsfolder/brushes" />
    <file name="Your brushes' name3.abr" destination="$presetsfolder/brushes" />
    </files>
    describe the file that will be packaged and the path destination folder
    <!-- Describe the changes to the configuration -->
    <configuration-changes>
    </configuration-changes>
    </macromedia-extension>
    4- place your Your brushes' name.abr /Your brushes' name2.abr /Your brushes' name3.abr
    near the mxi file you have edited and personalized with the same brushes'name
    5- launch Extension Manager CSxx , go to File>Package Extension and go to  Adobe Extension Manager/Samples/ Photoshop and choose your nameyoulike.mxi
    If you want to target a different folder than Presets where to install your item see attribute in the pdf link 
    NOTE:
    if you want to install your items  (  the brushes in this example)   toghether the the installation of your panel  you have to edit   the  .mxi panel file and adding only the part that " Describe the files that comprise the extension":
    <file name="Your brushes' name.abr" destination="$presetsfolder/brushes" />
    May be you can now deploy your panel and items  immediately and have time to read more in the pdf when you'll have time

  • Package & deployment wizard for java

    how to make a java application program as a package.
    like visual studio there is a package and deployment, for java , which tool is used to make a package..
    please clarify my doubt, i will very grate ful to u.
    yours truely,
    kareem

    Ah, the good old microsoft philosophy of providing a Wizard to tie your shoelaces.
    Your Java IDE almost certainly provides something similar. Failing that, you could read the tooldocs to see how to JAR an application up.

  • Java-JSP working with packages and classes

    Hi everybody,
    I'm bearly new on Java-JSP developping and I wanted to know how Tomcat (for example) manage the imported packages and classes.
    The fact is I'm working on a project ('/bob') which use some packages that I don't see in the '/bob' directory. So, is that possible that '/bob' is downloading packages and classes from Internet to '/bob/download' virtual repertory and use it? If it is true, is it possible to override this download by making '/bob' project using local packages or classes (example : com.boblibrary.classes.util in '/bob/WEB-INF/classes/com/boblibrary/classes/util') instead of downloading it?
    Therefore, the '/bob' project is using bugged classes (that I think it downloads from Internet) which I can't correct.
    Thanks for your help.
    - Renaud

    Thank you for your answer, but I can't imagine where is physicaly the class that my project use and show me as http://localhost:8080/atlassian-jira-3.13.2/download/ressources/br.com.ecore.jira.plugin.projectViewPlugin:ProjectViewTabPanel/js/projectviewtabpanel.js. Where is that Javascript file suppose to be on my hard drive? Or where is that class 'br.com.ecore.jira.plugin.projectViewPlugin' suppose to be on my hard drive? If it is not dowloaded from the Internet.
    I have no trace of that class on 'atlassian-jira-3.13.2/', neither on 'jdk1.6.0_18/', 'jre6/' or 'apache-tomcat-5.5.28/common/classes/'.
    Thanks.

  • Organizing java projects, packages

    I'm making an application that has about 50 classes. I am using the project to learn how to do a lot of things, but one is how to use packages. I would like to get your comments on what I've done, since I've never done this before.
    I set up a directory called /java/classes/package_name/ for all my .class files.
    Likewise, /java/src/package_name/ has the source files.
    Now, I'd like to be able to build all the source files and put them into the appropriate class path directory. Is there a standard way of doing this? Do you use make? I like make, but is there a better tool? I like simple things.
    I have several classes in my package that have mutual dependencies. I think this is a bad thing, but it's because some of them are input dialogs and such, so I couldn't think of any way to handle buttons and input fields other than to have some mutual dependencies.
    I can't compile them at all because they depend on each other (or so I think). Is there a standard way to organize the GUI files like this? Do they not even belong in a package?
    If they don't belong in the package, where do they belong?
    I also want to be able to package this up nicely in a jar file or something so I can give it to friends to run (it's a game with some 2D graphics). I would have to include the class files in package_name package, but how do i related them to the main class when I jar them up?
    There are actually two programs that use all most of the files, and there could be more later.
    Thanks very much ahead of time; I appreciate all your info and tips.

    I am not opposed to learning to use Eclipse for Java type things,Good, good, good... also download and play with Netbeans, among others... use the one which suits you most... I use several IDE's for different jobs.
    but I'd rather learn to do it manually first. Otherwise I will by as mystified as ever when things go wrong.You'll go far. A BIG downside of the modern IDE's automatic build-and-deploy features is they hide all the "plumbing", which is great as long as it works, but leaves the user (esp noobs) totally at a loss when something goes wrong, coz the user doesn't even what should be happening... let alone what's not happening, or why, or what to do about it.
    Resolving dependencies like you suggested works fine when you don't have mutual dependencies.AFAIK the Java compiler doesn't have a problem building classes with "mutual dependencies"... for instance if class A uses class B which uses class A the compiler doesn't require a definition of type B (trusting that such will be forthcoming) when it compiles A... it then compiles B... and the picture is complete.
    An experiment to dis/prove the above notion
    package forums;
    public class A {
      public final String message = "A";
      public static void main(String[] args) {
        A a = new A();
        System.out.println(new B(a).message);
    class B {
      final String message;
      B (A a) {
        this.message = a.message + "B";
    }This works, so I don't get the whole "Resolving dependencies" problem. Do you know something that I don't?
    Javac "follows" dependendencies automatically, as long as the files are in the expected place.
    Me thinks you're just having classpath issues... you're directory structure must EXACTLY match your package structure... and remember that Java is cAsE sEnSiTiVe, even if the underlying operating system is not... ie: I think the "circular dependencies" problem is a furphy.
    Read that classpath article... of you're still stuck give us a yell and we'll work through compiling and running the above program.
    Cheers. Keith.

  • Packaging and Delpoying Java Application

    I have a java application that i want to package and deploy. I have used JSmooth to wrap my jar file into an exe file. However I was wondering if there are any applications that could be used to install this program like other installers do (ask path, create shortcut, etc).

    There are several packages available that let you create an installer which lets the customer select where to install your app, creates a native executable to launch your java app, adds desktop icons, menus, etc.
    Here's a list of some of apps available:
    http://www.javalobby.org/articles/java2exe/#setup

  • Since I downloaded Apple's latest operating system, whenever I try to open Illustrator I get a message that I need to install legacy Java SE6 runtime and to click "more info" to do this. When I click "more info" I get a blank window. What should I do

    Since I downloaded Apple's latest operating system, whenever I try to open Illustrator I get a message that I need to install legacy Java SE6 runtime and to click "more info" to do this. When I click "more info" I get a blank window. What should I do

    Hi,
    I had the same problem after upgrading to Yosemite. Illustrator CS6 wouldn't open. I got a message saying I should 'install legacy Java SE6 runtime'.
    The link didn't work - it lead to a blank page.
    So I downloaded Java8 (latest version) from Oracle but didn't install it. Something told me this was not the right way to go (the problem was with Java SE6, not 8). I then called Apple (in the Netherlands, were I live) for help. I got none. The best they could do was blaming Adobe for the problem or me, for not having the latest Adobe CC app. Rubbish.
    And then, magic. I tried to open Illustrator again, got the pop up message but this time the link worked. It took me to an official Apple page, with a link to download Java for OS X 2014-001. The problem is now solved.
    If curious, this is the explanation Apple gives for the problem:
    'Java for OS X 2014-001 includes installation improvements, and supersedes all previous versions of Java for OS X. This package installs the same version of Java 6 included in Java for OS X 2013-005. On systems that have not already installed Java for OS X 2012-006 or later, this update disables the Java SE 6 applet plug-in. To use applets on a web page, click on the region labeled 'missing plug-in' to download the latest version of the Java applet plug-in from Oracle.'
    See http://support.apple.com/kb/HT6133 for more details about this update.
    See http://support.apple.com/kb/HT1222 for information about the security content of this update.

Maybe you are looking for

  • 10.4.8 Killed my Mac

    I downloaded 10.4.8 via software update. Approximately 18 seconds after the login screen appears I get the blasted rainbow cursor and all I can do is move the cursor so I have to forcibly shutdown my PowerMac dual G5 and try to reboot. But each time

  • CUPS: Printer always waits for more data, and finally times out.

    I apologise if this should be categorised as" system administration" rather than "installation". The reason why I chose this category was that the error happened right after installing and setting up cups, so it should not have to do with fine-tuning

  • Create a View with two BEx Queries in BEx

    Hi Experts, I have got a scenario where in I have to create a single view on two BEx queries. Can any one give me the necessary steps to create the View? Awaiting for your reply, Thanks in advance, With kind regards, Shreeem

  • Is it possible to calling another stored procedure in another database?

    Hello all, I hope you can help me out. I need to call another stored procedure in another database? Is it possible? I know you can call another stored procedure in the same package: Var_SQL :='call SP_Tes (''' || Var_1 || ''',''' || Var_2 ||''')' ; E

  • Setting database in ARCHIVELOG and duplicating with RMAN

    Hi. I've tried to duplicate a Oracle 11g database that wasn't in ARCHIVELOG mode without success. Here are the steps I followed: - Put original database in archivelog (SID: originaldb, startup mount, alter database archivelog, alter database open). -