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

Similar Messages

  • Building and Deploying Java applications in different platform (OS)

    Hi all,
    We currently have a J2EE based web services application that is built (compiled) and deployed on Windows 2000 Advanced server. But in future, we will be using WIndows 2000 server for development only and HP-UX for production.
    So, we are planning on executing the build (compilation) of our application on Windows 2000 server and deploy the same binaries (WAR) on HP-UX also. So, I wanted to know anyone has faced issues in the past by deploying an application on a different platform than the one on which it was compiled. Is it recommended by SUN to compile and build Java applications on the same platform on which the application is deployed.
    Note that in my case, the JVM versions between Windows server and HP-UX would be the same. But the JVM for Windows server has been provided by Sun and the JVM for HP-UX has been provided by HP-UX.
    Your inputs are greatly appreciated.

    Well, it's all Java, right? So what's the problem? Since the JVM for HP-UX isn't made by Sun, so there could be compatibility problems, but I would expect that would be minimal if a problem at all. But you can't know unless you run it.
    I don't know about building on the different systems. Java's supposed to be write once, run anywhere.... The byte code should be compatible no matter what. I've never heard of Sun saying "compile it on each platform". If the HP JVM isn't going to like bytecode compiled on Windows or another OS, then something isn't kosher with someone's JVM or compiler.

  • How do I start and suspend Java Application from say C++ program

    I want to start a Java application via C++ and on some condition i want to suspend the same program not terminate , but suspend

    Have you tried running the virtual machine from your C++ application ? You can start Java applications from your C++ application using JNI after starting the Virtual machine from within your C++ application. According to the Java documentation you can even now stop the virtual machine from within your C++ program.
    I haven't looked at the 'suspend' detail but I suppose it will not be a problem to call a method via JNI to set a flag to suspend a thread etc.
    There is a tutorial: 'Invoking the Java Virtual Machine' at the following URL: http://java.sun.com/docs/books/tutorial/native1.1/invoking/invo.html.
    This example seems to work only for version1.1 of the JDK. For JDK1.3, version 1.2, (I am not so sure whether I fully understand Sun's version numbers for Java yet) there is some updates on the JNI for starting the VM from C++. This article is called 'JNI Enhancements'. The URL for this article is:
    http://java.sun.com/j2se/1.3.0/docs/guide/jni/jni-12.html
    You have to set version to: JNI_VERSION_1_2
    There is only one problem. I get an error when calling JNI_CreateJavaVM from C++. I could not find any documentation that indicates how you can go about diagnosing what is causing the problem. Normally in Visual C++ you can just get the probable cause by inspecting GetLastError() or the function itself can return helpful diagnostic (error) codes.
    If you manage to start the VM correctly from within Visual C++ please let me know. My email address is [email protected]
    good luck
    Henko

  • Oracle 9.0.1 and Sun Java Application Server problem

    Hello
    I am gonna configure Oracle's (9.0.1) thin JDBC driver (only for JDK 1.3) on Sun Java Application Server 8
    I copied the class12.zip to domain1/lib/ext. I add the usr name and passwd in domain1/config/domain.xml.
    it looks like
    <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="oracle.jdbc.pool.OracleDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="OraclePool" pool-resize-quantity="2" res-type="javax.sql.DataSource" steady-pool-size="8">
    <property name="url" value="jdbc:oracle:thin:@localhost:1521:ora9i"/>
    <property name="Password" value="tiger"/>
    <property name="User" value="scott"/>
    It doesn't work though. Anybody know the problem?
    Thanks a lot

    You should use the oracle 9.0.3 ojdbc14.jar or a later version, not classes12.zip.
    The config looks like for me:
    <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="oracle.jdbc.pool.OracleDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="true" max-pool-size="32" max-wait-time-in-millis="60000" name="my-oracle-pool" pool-resize-quantity="2" res-type="javax.sql.DataSource" steady-pool-size="16">
    <property name="URL" value="jdbc:oracle:thin:@localhost:1521:mydb"/>
    <property name="user" value="user"/>
    <property name="password" value="mypass"/>
    </jdbc-connection-pool>
    You will also need to boot the server after adding the jar files to lib/ext

  • Packaging and Deploying Weblogic Application

    Hi,
    I am having trouble in deploying a Weblogic application. I made a Web
    application in Weblogic6.1 on Windows2000. The directory structure of my
    JSPs, Images and Servlets are as follows:
    JSPs - DefaultWebApp
    JavaBeans(not EJB)(these JavaBeans are used by the JSPs as well as the
    Servlet)
    - DefaultWebApp\Web-Inf\Classes\Servletspkg\Loginpkg,
    - DefaultWebApp\Web-Inf\Classes\Servletspkg\Workpkg, etc.
    HTML - DefaultWebApp
    Images - DefaultWebApp\Images
    Servlets - DefaultWebApp\Web-Inf\Classes\Servletspkg
    web.xml and weblogic.xml - DefaultWebApp\Web-Inf
    The Web application runs fine. Now I want to package the above Web
    application and deploy it under Solaris8 (Weblogic 6.1)( in another
    machine.) I am not able to do that. I would be grateful if you could let me
    know the steps involved in packaging and deploying.
    Thanks in advance.
    -Jaya

    Hi Michael,
    I deployed the webapp to the default webapp on solaris and it worked.
    Thanks!
    -Jaya
    "Michael Young" <[email protected]> wrote in message
    news:[email protected]...
    Hi.
    Hmm, hard to say.
    I notice in your deployment on Windows 2000 you deployed in the defaultwebapp,
    but on solaris you deploy in 'test' webapp. I suspect this is the root ofthe
    problem. Since you are having problems calling J2.jsp I wonder how youare
    calling it. When calling from the default webapp you don't need tospecify a
    webapp context in the url, but from test webapp you do (depending on howyou are
    calling it - full url vs relative url).
    So in summary consider 2 things:
    1. how are you calling J2.jsp that might be different than how you callthe
    servlet from J1.jsp?
    2. what happens if you deploy your webapp to the default webapp onsolaris? my
    guess is that this will work.
    Hope this helps,
    Michael
    Vikor wrote:
    Hi,
    I could finally deploy the web application on the Solaris machine. But I
    am
    not sure if I did the right thing. I followed the steps below:
    1.I created a folder "test" under "config/mydomain/applications"folder.
    2.I extracted the .war file in this folder which was successful.
    3.Then I tried to run the application with the URL
    http://localhost:7001/test
    4. I got "J1.jsp" (located in "test" folder) as I excpected. This pagecalls
    a servlet "ControllerServlet" located in folder
    "test/WEB-INF/classes/servletspkg"
    5. The servlet in turn calls another jsp page J2.jsp located in "test"
    folder. This call is failing. I am getting 404 file not found error.
    Please suggest what I should do.
    Thanks in advance,
    Best regards,
    Jaya
    "Michael Young" <[email protected]> wrote in message
    news:[email protected]...
    Hi.
    I need more detail here. When you say you can't deploy to solaris,
    what
    does
    that mean? Do you get any errors/exceptions while deploying? If soplease
    post the errors here. Or does it deploy ok but you can't access it?
    Michael
    Vikor wrote:
    Hi,
    I am having trouble in deploying a Weblogic application. I made a
    Web
    application in Weblogic6.1 on Windows2000. The directory structureof my
    JSPs, Images and Servlets are as follows:
    JSPs - DefaultWebApp
    JavaBeans(not EJB)(these JavaBeans are used by the JSPs as well asthe
    Servlet)
    - DefaultWebApp\Web-Inf\Classes\Servletspkg\Loginpkg,
    - DefaultWebApp\Web-Inf\Classes\Servletspkg\Workpkg,etc.
    >>>>
    HTML - DefaultWebApp
    Images - DefaultWebApp\Images
    Servlets - DefaultWebApp\Web-Inf\Classes\Servletspkg
    web.xml and weblogic.xml - DefaultWebApp\Web-Inf
    The Web application runs fine. Now I want to package the above Web
    application and deploy it under Solaris8 (Weblogic 6.1)( in another
    machine.) I am not able to do that. I would be grateful if you couldlet
    me
    know the steps involved in packaging and deploying.
    Thanks in advance.
    -Jaya--
    Michael Young
    Developer Relations Engineer
    BEA Support
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Blackberry and PDA Java Applications

    Is it possible to use JDeveloper to develop java applications for Blackberry and PDA devices?
    A colleague of mine has recently started developing a prototype application using the IDE that is available from www.blackberry.com but it is a "bit clunky" therefore I would like to know if JDeveloper can be used to develop and deploy applications to these devices.
    I'd appreciate your thoughts and suggestions, along with any additional resources that you could point me in the direction of that are related to this area.
    Thanks in advance for your help with this matter
    David

    Hi Shay,
    Thanks for your reply.
    I've had a look at the link that you posted. It appears that JDeveloper will only allow you to create applications for:
    Dell-Axim
    Siemens Sx56
    Hp-2220
    that are running specific operating systems.
    We are attempting to write applications for a variety of different blackberry devices, not palms.
    Have you or anyone got any further information/ideas?
    Thanks
    David

  • JCo and SSO and my Java application

    Hi all.
    I have java application that running under the Oracle Application Server and connect to SAP using user/password. I want use SSO ticket from SAP Portal for connet to SAP.
    How I can release next "use case":
    1.User connect to SAP Portal.
    2. User click on button (external iView) and start my application in separate browser.
    3. My application read sso ticket from cookies
    4. My application logon to SAP use sso ticket (via JCo)
    Thanks

    Hi Vyacheslav
    If you can elaborate your statement:
    'How I can release next "use case":'
    we are not sure what you wanted to ask
    Bhudev

  • Slow and laggy Java Applications in Yosemite

    I use Phpstorm IDE in my work, and after installing Yosemite and needed Java library (Java for OS X 2014-001) I've noticed that Phpstorm started to work very slow, scrolling is very laggy and with noticeable delay, even some weird rendering errors. I don't know what they have done to JAVA on Yosemite, but it's impossible to use Java based applications now.
    I've restored from Time Machine back to Mavericks.
    PS. Yosemite design *****, everything seems to be washed out, no contrast at all. Noticed that my eyes getting tired very fast with Yosemite design.

    Well, it's all Java, right? So what's the problem? Since the JVM for HP-UX isn't made by Sun, so there could be compatibility problems, but I would expect that would be minimal if a problem at all. But you can't know unless you run it.
    I don't know about building on the different systems. Java's supposed to be write once, run anywhere.... The byte code should be compatible no matter what. I've never heard of Sun saying "compile it on each platform". If the HP JVM isn't going to like bytecode compiled on Windows or another OS, then something isn't kosher with someone's JVM or compiler.

  • JIT and rerunning java applications

    When running a Java application in windows, if you re-run the application multiple times does the JIT compiler ever store data between executions to speed up further executions? Or is the JIT only doing its work during a single process run?
    Thanks

    The current Windows VM JIT does not store any info between runs of the VM.

  • Error stopping and undeploying java applications and View Log Messages link

    I was redirecting to this forum by instant chat JCS Support.
    Have a few issues with my JCS account:
    1) I am getting the following error when clicking View Log Messages hyperlink - Failed to get messages for service - java.
    2) Have 2 applications: Branding and Connectivity which I tried to stop or undeploy and getting errors for both.
    Could you help to resolve the both issues?

    Sorry, it was unfortunate that C2C could not help you. We had an issue last week with our console. Its now fixed, and you should not see this issue anymore. If you do continue to see an issue, post here and I will investigate.

  • IFS1.1 and Other Java Applications

    We have a swiftly growing set of Java web-based applications
    that we use for project execution. We also want to use the IFS
    and incorporate the strengths of both into the user experience.
    The question:
    When we have a document in our custom app system and want to
    then pass it to IFS for storage and retrieval (and set all of
    the folder, category and attribute values, etc.), how do we
    interface with the IFS system?
    I assume there must be some way to pass the document to IFS and
    set all of that information.
    Can anyone help??

    You might want to look at the
    [url=http://otn.oracle.com/docs/products/ifs/doc_library/901/Deve
    loper%20Reference/Output/toc.htm]Developer Reference.
    The URL is:
    http://otn.oracle.com/docs/products/ifs/doc_library/901/Developer
    %20Reference/Output/toc.htm
    Regards,
    -rh

  • JBI and Sun Java Application Server 9

    JBI provided with the App Server only provides SOAP Binding.
    Can we take the File Binding and JMS Binding and deploy these components to the JBI installation that is bundled in with the application server?
    TE

    We are trying to put together a tool to help you get started on writing components but it is still in the early stages. We will post a blog as soon as it is available. In the meantime, if you are running into any problems creating components, don't hesitate to post the issue on this forum. We will try to help you as much as possible.
    Suresh

  • Best way to package and run java in exe

    I've made a java program (using swing) and I want people to use it, obviously not every one will compile it so what is the best way to turn my code into a .exe for example? so that anyone can run it

    I've used JSmooth to make exe file from jar file, and it worked good. It was so along ago though I can't recall how to use it anymore.
    Here's an example how to make a jar file from command line
    http://forum.java.sun.com/thread.jspa?threadID=740310&messageID=4246794#4246794
    There are plenty of others that can be found by using the search.
    kari-matti
    Message was edited by:
    kari-matti

  • How to use  third party package in java application

    hi, i am a student , new to java world can any of u tell me how to import third party package in our java application.
    i want to know how CLI is done in java.
    i am going thru this link http://www.codezoo.com/pub/component/5574
    not able to get anything.
    please please help me

    There are two steps -
    1. Import the classes you need from the package(s) using the Java import statement in your classes that need access to them.
    2. include the 3rd part code (one or more .jar files and/or root directories holding the code's package tree and .class files) to your javac and java class path and optionaly to the class path found in your .jar's manifest file.

  • User and password for administering tools Sun Java Application Server

    I have installed Sun Java Enterprise Studio 8 and Sun Java Application Server. Which passowrd and user should I use to login as admin? Eventually wher can I that define?
    regards Bogdan

    Try adminadmin as password.

Maybe you are looking for

  • Notification Icon Problem

    I have a notification icon showing that I cannot get rid of. When I first looked it took me to a message about an app I deleted the message but the notification is still showing. Can anyone help with this? Matt Solved! Go to Solution.

  • I just changed to Mavericks and now can't e-mail photos from iPhoto

    Trying to open attached photos brings a response of "the file could not be opened because it is empty".

  • Lossless JPEG rotation

    Is there anything in 1.4.1's imageio package that will help me rotate a JEPG w/o changing the quality or messing up the Exif headers? Or, does anybody know of a good 3rd party lib? I've heard this can be done (assuming your image is a supported size

  • Where is my LINUX software?

    I find it amazing that it is impossible to find PC tools for my Nokia phone that works on Linux!!? Nokia: Are you sleeping in class? We want software for Linux PCs !

  • Problems synching music & playlists

    My ipad wipes the playlists from iTunes on my iMac (rather than the other way around) every time I try and sync them. When I tried to delete all the music from my iPad in iTunes, it automatically changes settings back mid-synch to my previous selecti