Installing Java Stand alone Application on other PCs

Dear All
I am very new user to Java programming. I have recently finished developing basic Java Application that interacts with MySQL Database. The application does pretty standard database tranctions.
Now i would like to install this finished appliction on other PCs as stand alone program (hope i am making myself clear here). Sort of I need to make an installation package that will install the Basic application and MySQL database on the the other PCS.
Please desparetly help needed on this matter. I appreciate all your inputs Thank you.

it would be much much easier if you weren't using MySQL to be honest. if you used a pure-java database such as Hypersonic, the database could just be bun dled as a bean with your application.

Similar Messages

  • Deploying Java stand alone application in Weblogic server

    Hi All,
    We have an java stand alone application which our client uses. Suddenly they came up with a requirement of using this application from web logic server.We have following directory structure for our application
    myapp
    - config -> contains all configuration files
    - logs -> contains log files
    - ssl -> ssl related files
    - samples ->contians stub's
    - myapp.jar
    How to deploy our standalone application in to weblogic server?.
    We tried putting whole myapp folder in WEB-INF folder , and from the servlet we are able to invoke an method in an class file( in myapp.jar say Test.getInstance()) but it couldnt find configuration files (in config folder ) and it is throwing an error. We have a class called Test in myapp.jar and when we call getInstance of the class it loads all config files - config file location is hardcoded as /config/myconfig.xml , and we are facing problem here because it couldnt find myconfig.xml.
    We also tried packaging whole myapp folder in to jar , but with that also we faced the same problem
    Please let us know are we proceeding in the right way and how to deploy our application in weblogic server.We dont prefer making changes to our code at this point of time.
    Any info on this will be very helpful to us.
    Regards,
    Suresh

    Hi René van Wijk,
    Thanks for quick reply. Link you mentioned gave a basic idea of application structure , but still i couldnt get deployment process.
    Am very much new to weblogic.Can you please let me know how to deploy our standalone application in to weblogic, with out making any changes to the code.
    Below is folder structure of my java stand alone application *( not webapplication)*
    myapp
    - config -> contains all configuration files , for ex:- myconfig.xml
    - logs -> contains log files
    - ssl -> ssl related files
    - samples ->contians stub's
    - myapp.jar
    We have logic to load configuration file (config/myconfig.xml) , in an class and we are not allowed to make any changes to this code, so we cant use Thread.currentThread().getContextClassLoader().getResource(...) .
    Regards,
    Suresh

  • Reading data in HTML page from a  Java Stand alone application

    hey,
    i ve read bout how to read html pages using the URL and how to parse them using HTMLeditorkit and stuff.. but i want to read the values tht are updated in the HTML page dynamically and then use them in my java application ... is tht possible .. then i also want to check the click here links and the working of them ...
    please reply ...

    well .. i did tht too ..
    public void handleStartTag(HTML.Tag tag,
       MutableAttributeSet attributes, int position) {
              try{
                   //if (tag==HTML.Tag.A)
                   System.out.println("tagged");
                   this.writeAttributes(attributes);
                   if(tag==HTML.Tag.INPUT)
                   System.out.println("input found");
              catch(IOException ex){
                   System.err.println(ex);
         }the <A> tag thing is working but it is not recognizing the <input> tag ....
    ne ideas why this is not working ...

  • How to deploy java stand alone applications

    I need to find information on how to deploy java classes to just run time clients.
    I appretiate any help on this.

    Probably yes. It is possible to write a lunch application. But what considerations do I have to take. Let's say, Since Forte for Java 4 does not use CLASSPATH environment variable, How do I tell the JRE where my classes are located? I tried running
    javaw c:\directory\classname.class
    ...but I receive a message saying that the main class was not found...
    Do you know why this could be?

  • How to invoke a pdf from the java  stand alone application

    I have a JFileChooser and i select a pdf through that . And i should be able to invoke the file in an acrobat reader.
    The acrobat application should be invoked on a click the button upon selection.
    Thanx in advance.

    Try to use Runtime.exec() method like this:
    String exePath = "path to acrobat reader executable";
    String filePath = "path to the file to execute";
    Runtime.getRuntime().exec(exePath+" "+filePath);

  • Problems building a stand alone application with LV 8.6.1.

    I'm having problems building  a stand alone application with LV8.6.1. I'm using a USB- 6008 DAQ and USB-6501 Digital device in the application. I already have an simple executable on the machine so the Run time Engine is already installed.  For the USB DAQ device, I assume I need to include the DAQmx8.8 as one of the installers. When I attempt to build the application, I'm prompted for several disk, one being a distribuition disk 1. I have the installation disk for the developer package. I did not  see a distribuiton disk as one of the installation disks. When I insert disk 1 I get an error that another application is trying to run. Could someone tell me which installers I need to include and where do I find the "distributor" disk.
    Thank you,

    are you building installer for the first time on this PC?...It usually asks for the drivers CDs and some toolkits if required.
    you just need to use drivers CDs (comes with LabVIEW) from which you installed on this PC. If you have ever upgraded drivers, then you have to use the latest CDs only.......
    another issue may be ...when u insert the driver disk, it has autorun, it will launch drivers installation wizard....close that and then try to build distribution......... 
    Message Edited by Anil Reddy on 09-25-2009 01:22 PM
    Anil Punnam
    CLD
    LV 2012, TestStand 4.2..........

  • I have trouble in building stand-alone application, "you must intall Labview run-time engine on any computer on which you want to run this application"

    I have installed the LabVIEW 7.0 run time engine and checked all in the advanced setup on the installer setup slide. but I still get such a message saying that the target computer needs to have LabVIEW 7.0 run-time engine. What I want is a real stand-alone application even without having labview ... I used to think that's due to my program contains MATLAB nodes. But this is not true, since even without Matlab, it's still wrong. Please help, thanks!!!

    As was stated elsewhere, you have the option of building the runtime engine into your application when you build it. However, you can also create a "runtime engine application" by simply opening the application builder and doing a build without adding any source code files. The result is a small program (named lvrt.exe) that can run any LabVIEW code--whether or not its built into an executable.
    Such an application can be helpful if you are wanting to install several LV-based applications on the same computer in that it reduces the amount of redundant code on disk. All you have to do is make sure that Windows on the target computer associates the llb and vi file extensions with the runtime engine program.
    It can also be helpful during testing to run test code that isn't built into an executable.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How to include dll into a stand-alone application

    Hi, I wrote a vi to process images from my camera, and I want to build a stand-alone application(exe), so I can share the application with my friends. I just do as wht's in  the Labview help, but when I run the exe file in other PC, it  tells me I haven't nivision.dll etc. My question is how to find out the dll files in my vi and include these files in the stand-alone application?  

    To be honest I am not sure. Its been a while since have used the vision run-time engine. Before I installed it on the target computer. I ddn't include it with my application build.
    Take a look at this http://digital.ni.com/public.nsf/allkb/1A9A18AA574ABEDF86256F780062C240 it might help. Also look at the documentation supplied with the vision deployment license.
    David

  • Windows Media Player ActiveX not playing image, but WMP stand alone application does. Why?

    I use my Windows Media Player v11 with additional codec to play mp4 files (mp4 are not supported by default with WMP 11, so I had to install a codec). It works fine in the stand alone application, but when I use the ActiveX control in NI, it does not use the codec and I get only the sound... no image. I thought the ActiveX was simply an interface to the same core application used by NI and the stand alone media player. And if it is the same core, it should use the same codec. What am I missing?
    Solved!
    Go to Solution.

    I have a tip for you. If you download Quicktime 7(QT), you may select the QT activex player(see picture). It plays mp4 and looks better. And QT is free so it should not any problem. Try and see if it do you any good
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)
    Attachments:
    sample.PNG ‏114 KB

  • T's possible to use the jsp to develop stand-alone application?????

    Hello everybody, I would like to know your considerations about this topics: It's possible to use jsp to develop stand-alone application that will be not run on the server but on the local machine?There are some negative aspects on make this? Thank you for your reply

    i don't think you could ever protect the jsp code and it wouldn't do you much good to bother anyway, since anyone with a browser can just "View Source" and see all the HTML on the page anyway.
    the only thing you would want to protect is your java source. you don't have to distribute the .java files with your application, just the .class's. you could try and obfuscate the .class files, but a determined person will always be able to reverse it back to a .java program and read it. it would take a bit of work and knowhow though, so figure out how smart the consumer is going to be and if they will be able to figure out how to reverse .class files back to .java

  • May I install a stand-alone Adapter engine for MI?

    I wonder if I can install a stand-alone Adapter engine (i.e. JAVA SE)  for MI?
    Points guaranteed. Thanks!

    Hi,
    no, that is not the usual way of handling data with MI.
    Well, MI exchanges data with the Middleware and the backend via SyncBO or Generic Sync. SyncBO is a data container that does the complete delta handling for example. The connection will be: XI receive data from an external system and stores that data in R/3. Then the SyncBO retrieves this data via GETLIST and GETDETAIL handlers and then the data comes down to the device with the next sync.
    BUT: the thing above is extremely drilled down - because of that it is only seen as a general answer. To discuss it more in depth, feel free to get in touch with me. The question I have in mind is till: what do you want to do with the XI connection.
    Regards,
    Oliver

  • Is it possible to have a user interface in a stand alone application without having LV

    Hi!
    I want to know if it's possible to build a stand-alone application in order to avoid purchasing LV and at the same time having a user interface to display data?
    I really want to know what are the advantages of the stand-alone applications and what are their limits of use?
    Thank u

    If you have the application builder (included in LabVIEW professional and above) you can make a LabVIEW application that can be distributed and run on machines that don't have LabVIEW installed. If you only have LabVIEW full, you can purchase it seperately.
    The target machine requires the LabVIEW runtime, which is freely downloadable from NI, or can be included with the installer of your application.
    Please have a look at the datasheet: http://www.ni.com/pdf/products/us/4msw55.pdf
    If still have more specific questions not mentioned in the above link, please ask.  
    Message Edited by altenbach on 10-01-2007 01:01 AM
    LabVIEW Champion . Do more with less code and in less time .

  • Stand alone application with VISA

    Hello,
     I build a stand alone installer application from my VI using LV 7.1 VI which contains some VISA serial communications with a standard RS232 port.  In build application wizard settings I checked the Serial Port Suport in Advanced settings in Installer .When I installed this stand-alone app on a new PC without LV installed the communication didn´t work: Error -1073807298 - Could not perform operation because of I/O error.
    I don't know if I have to install something else on the target machine. I have seen some topics in discussion forum about the VISA run machine. I imagined it would be included in the installation I had created. If someone could help me I would thank.
    Celia

    Hi Celia,
    You might check to make sure that the VISA Resource Name you are providing in your application is the same as the name the new machine is using.  If you build the application and it is looking for a specific resource that does not exist on the new machine, you might see an error similar to this one.
    Donovan

  • Drawing in a stand alone application

    Hey all:
    first of all I'd like to say that I'm fairly new to java programming, so if what I ask is dumb or newbie like please bare with me.
    Second, I'd like to say that I use visual J++ for compiling.
    I'm trying to make a graphic calculator application. Usually I would create a subclass of the Form class to create my user interfaces. The problem this time is that if I make my class extend a Form, I don't have the drawing possibilities from the awt. What I thought of doing is actually making my class extend Applet, but the problem with that is that I can't make a stand alone application out of it.
    Therefore I was wondering:
    1. if there is a way to make an applet a stand alone application.
    2. if there is a way to perhaps force or cast the Form subclass to beheave like an applet
    or
    3. if there is a third class that I might not be aware of to use instead of both Form and Applet and that would have that functionality I'm looking for.
    Thanks

    Don't use J++ for compiling. It's highly outdated and uses Microsoft proprietary extensions that only work with Microsoft's highly outdated JVM that is no longer in use.
    I don't know what the Form class is, but if it comes from a com.ms package you probably should stick with Frame, or better yet, JFrame from Swing. I suggest writing your application in Swing.
    import java.awt.*;
    import javax.swing.*;
    public class MyFrame extends JFrame
        public static void main(String[] args)
            MyFrame mf = new MyFrame();
            mf.setSize(100, 100);
            mf.setVisible(true);
    }will create a basic application in Java Swing. You can paint on a JFrame by accessing its "content pane".
    mf.getContentPane()

  • General: can the OAF work as a stand alone application

    hi...
    can the OAF work as a stand-alone application??
    please help

    Thanks.
    OAF provides Developers with templates that utilise Oracle EBusiness technologies, for security, session handling, etc so cannot
    be used outside the eBusiness environment.
    The JDev version for eBiz is a specific eBiz version, but if you have non-eBiz programming requirement, you can still use this JDeveloper environment to create non-eBiz integrated applications. Alternativel
    you can use a seperate install of JDeveloper/ADF

Maybe you are looking for

  • How do I activate captivate 8 for a user using a license purchased by the organisation he works for?

    Hi, The organization I work for recently purchased a license for Captivate for one of its users.  I have the license certificate, and the user has the trial software installed on his home machine. which is where it will be used   How do we activate t

  • Setting focus in TextArea using AWT

    I have looked at all the documentation for the TextArea in the API and cannot work out how to set the focus in a TextArea when a frame is loaded. Should it go in the constructor? the main method? the TextArea? I have tried to use hasFocus() but nothi

  • Archiving emails?

    I have a few queries regarding archiving emails from Mail. 1) If I use the drag & drop method I've seen mentioned, is that mailbox only ever recoverable on a Mac? 2) How would I go about archiving say any email from 2008? Could I just do a search for

  • How to lock iphone 4s automatically on doing call ?

    Hi guys, How  to automatically lock my iphone 4s as soon as I do any call . thanks in advance

  • [svn:osmf:] 10706: Adding readme file for the MAST sample.

    Revision: 10706 Author:   [email protected] Date:     2009-09-29 17:38:56 -0700 (Tue, 29 Sep 2009) Log Message: Adding readme file for the MAST sample. Added Paths:     osmf/trunk/apps/samples/plugins/MASTSample/readme.txt