How do you include the jre in your installs?

This is a fall back and punt question.
My organization develops desktop (Swing) Java apps. To deploy, we have an install program that first runs the JRE install that you download from Sun's web site, then we copy our own jars and data files and so on to the user system. This "two step" approach works, but it's clumsy and ugly.
How do others deploy the JRE? Do you have your customers run the JRE install themselves, automatically run it within your own install, or do you mix Sun's files in with your own and copy them all at one time? If the last, what do you do about registry entries? (As in, worrying about overwriting entries if the user has already installed a newer version of java, etc.) Are there other complications?
I guess I'll just try it and see what happens, but if anybody has some helpful hints I'd be anxious to hear them.

Instead of including the JRE install file and running it you could just include the JRE directory with your install program. (C:\Program Files\Java\j2re1.4.2_05 for example) This way you won't mess up any java installation that may already be on the target machine.
Simply start your app with a batch or .exe file using a relative path to the java/javaw command. I use the following free program along with any standard installer:
http://www.rolemaker.dk/nonRoleMaker/javalauncher/marner_java_launcher.htm

Similar Messages

  • How do you get the answers to your security questions in order to buy an app on iphone?

    How do you get the answers to your security questions in order to purchase an app on iphone?

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    (99852)

  • How do you transfer the data from your Ipad to a new pc?

    How do you transfer the data from your Ipad to a new pc?

    Sync with new computer
    http://discussions.apple.com/docs/DOC-3141

  • How do you see the size of your library now in iTunes 11?

    On iTunes 10 when you were looking at your song list, at the bottom everyone has seen the small informative text that tells you how many days it would take to listen to the songs that you currently have on the screen. Where is that information now??
    How do you see the size of your library, or is there an option in iTunes 11 that will allow you to enable a way to see that text again at the bottom of your screen?

    In the menu bar, open "view", and click "show status bar"
    (Or the shortcut to toggle it is CTRL + / )

  • HT201269 how do you change the name of your device?

    How do you change the name on your device?

    Hi Sexxy21,
    Thanks for visiting Apple Support Communities.
    You can change the name of your iOS device using the steps in this article:
    iTunes and iOS: Change the name of your iPhone, iPad, or iPod
    http://support.apple.com/kb/ht3965
    All the best,
    Jeremy

  • How do you view the size of your Ibook library? How do you view how many books are in your library?

    How do you view the size of your Ibook library? How do you view how many books are in your library?

    Open the iBooks app. All your iBooks should load there.
    You can see the file size for each iBook by clicking List from the menu bar top of the iBooks window.
    message edited by:  cs

  • How do you change the name of your nano in the new itunes

    How do you change the name of your nano in the new itunes

    In iTunes I don't know but when you open your finder you can see it on the left and rename it there.

  • How do you send the email to your backup email to reset your security questions?

    how do you send the email to your backup email to reset your security questions?  i need help i cant buy any songs because i dont remmeber my security questions and i dont know how to make new ones? HELP!!  thanks

    Forgotten Security Questions / Answers...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
    Or Email Here  >  Apple  Support  iTunes Store  Contact
    More Info >  Apple ID: All about Apple ID security questions
    Note:
    You can only set up and/or change a Rescue Email Before you forget the questions/answers.

  • How do you change the dates on your iphoto pictures?

    How do you change the dates on your iphoto pictures?

    You'd need an app that can edit EXIF data. You can't do that natively on an iPhone but there may be apps in the App Store that will let you do it. Take a look at Snapseed. I think it might.

  • How do you see the size of your hard drive

    I am new the the MAC world and I am trying to figure out some things.  How do you see the size remaining on your hardrive?

    If you have a folder open or dubble click on your hard drive you, can turn on the status bar which will show you available disc space:

  • HT1277 How do you change the "picture" on your e-mail header?

    How do you change the little picture that is on your e-mail header? Pretty basic, but I have no idea.

    You can change this in your listing in AddressBook.
    Bear in mind that the only person who ever sees it is you - it does not transfer to actual email messages.

  • How do you wipe the info from your old iPhone

    How do you wipe the info off of your old iPhone ?

    Before you erase your phone, you need to first delete the iCloud account, sign out of FaceTime & iMessage. If you don't, this phone will still be linked to your Apple ID. Once you do that: Settings>General>Reset>Erase All Content & Settings.
    But, delete iCloud & turn the other stuff off first...important you do this.

  • How do you see the contents of your "Domain" file?

    Thanks to this forum I have found out that the photo files on my Web site are stored in the Domain file under Application Support. How do you see the contents of this file? When I double-click on it, iWeb launches and I see the actual Web site.
    12" PowerBook   Mac OS X (10.4.8)   G4 1.5 GHz, 768 MB RAM

    i don't think it will work. because when you open up the domain file after you changed the size of the pictures, iWeb will probably save again while uploading - so the changes were for nothing. yet i haven't tried it.
    other way is to change them after you published. using graphic converter you just drag all at once in and change all the sizes at once.
    mp

  • How do you include the actual CLOB value as ASCII when writing XML?

    When using the XDK for PL/SQL ( creating XML from query ) and the table that you query has a CLOB column the value in the resulting XML document is
    written as:
    <column>(CLOB)</column>
    how do you get the api to write the actual CLOB data?

    That article is talking about choosing HOW to STORE an XML document.
    I want to know how to write the contents of a CLOB column along with the other columns in a table in a single XML document.
    I know how to store an XML doc as a clob I know how to store an XML doc object relationally.
    I I have a table with 5 varchar2 columns 5 number columns and 1 clob column and I create an xml document as a clob from a select * on that table. I then write that clob to the file system. What is the clob columns data going to look like?
    its gonna be <column>(CLOB)</column> THATS NOT WHAT I WANT. I want the actual data that was in that CLOB column.
    Thank you for all responses.

  • How can you fix the volume on your iphone

    I just recieved my new Iphone 4S and I have the volume on the side of the phone turned up, but I can hardly hear anyone I am talking to

    First, YOU STOP SHOUTING.  It's considered rude, and many people will not respond to screamers.
    By wipe, do you mean erase all songs in the iPod app on your phone?  If so, you sych the phone to your computer and uncheck the sych music tab.  Your music will synch off your phone.
    Since this is a very basic function of the phone, I suggest you read the User Guide.  The link to the UG is below.
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

Maybe you are looking for

  • Unable to use SQLJ OCI driver in weblogic 5.1

    Hi,I am trying to use SQLJ OCI driver instead of JDriver on solaries but always get an error "java.sql.SQLException: Error while trying to retrieve text for error ORA-12545" when connection pool is being created.The same works fine if I use JDriver.M

  • Blocked Order Value Increase Credit Exposure

    There is a requirement form the company that Blocked Sales Order should also be added to credit exposure. Are you aware of any companies using such process? Is it possible from technical point of view? Is it require whole SD redesign? Thanks for your

  • Logic symbols in math and philosophy (via keyboard app)

    Hello friends, I want a keyboard via an  app that allows me to input logic symbols. Like in math or philosophy. Symbols such as therefore, since, causation etc. what app would provide this? When I google this, I get logic pro or logic express for iPa

  • Data &message types,message interface, interface&message mapping

    hi I am very new to XI, i want to know about 1) Data Types 2)Message Types 3)message interface 4) interface mapping 5)message mapping i am totally confused with eachother, can you please give me the clear definitions for these things regards pradeep

  • FB news feed is blank

    My FB news feed is suddenly blank on my macbook pro. On my iphone it is there but not getting new feeds and says network error at the top.