How do I download the JRE programmatically?

Hi,
I want to implement installJRE(), found in the Java Deployment Toolkit -- http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html#deplToolkit -- but for desktop applications. How can I download a specific JRE programmatically? Sun's site obfuscates the download URLs.
Thanks,
Gili

The current Web Start / JNLP will supposedly download and install a JRE even if there is none installed, and allows you to specify which version. Here is an older web page that you can test with. I believe it will only install the current JRE.
[http://www.java2s.com/Article/Java/Graphics-Desktop/Java_Web_Start_AutoInstall_Demo.htm]

Similar Messages

  • 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

  • I've updated to the most recent version of iTunes and I can no longer see any of my old music on my mac.  All the music is still available on my ipad.  How can i download the music on my mac?

    I've updated to the most recent version of iTunes and I can no longer see any of my old music on my mac.  All the music is still available on my ipad.  How can i download the music on my mac?

    First, are you positive it is really not there?  Have you looked in your iTunes folder in your Music folder, and in the media folders there? Do you see your media files?
    If your media are gone it is a lot easier to restore from a proper computer backup.  Your i-device was not designed for unique storage of your media. It is not a backup device and media transfer was planned with you maintaining a master copy of your media on a computer which is itself properly backed up against loss. Syncing is one way, computer to device, updating the device content to the content on the computer, not updating or restoring content on a computer. The exception is iTunes Store purchases which can be transferred to a computer.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer - http://support.apple.com/kb/HT1848 - only purchases from iTunes Store
    For transferring other items from an i-device to a computer you will have to use third party commercial software.  See this document by turingtest2: Recovering your iTunes library from your iPod or iOS device - https://discussions.apple.com/docs/DOC-3991

  • How can we download the Purchase order report?

    Hi,
    In my requirement i am displaying the PurchaseOrder details report to the Manager in the workitem he want to download the report (after execution of the workitem the manager approved the PO) in the form of EXCEL sheet.
    Can anybody give the solution for this?
    Early response is appriciable and rewardable?
    Regards,
    Chow

    Hi,
    No i am not using any portal to execute the work item.
    can you please tell what is this UWL(Portal)?
    With this how can we execute the Workitem?
    How can we download the report by using the UWL portal to execute the workitem?
    Early response is appriciable.
    Could you give the reply ASAP Please?
    Regards,
    Chow.

  • I just updated the OS to 10.6.8 but then i never get the app store that supposed to be included in the update. so now, how can i download the app store?

    i just updated the OS to 10.6.8 but then i never get the app store that supposed to be included in the update. so now, how can i download the app store?

    Hi,
    Have you tried a Restart since doing the Update...?
    If Yes and you still don't have it...
    Download and Install the 10 6 8 Combo Update from here
    http://support.apple.com/kb/DL1399
    Cheers,

  • I have icloud and downloaded new CDs on my 2nd computer.  How do I download the new music into my old computers itunes.

    I have icloud and downloaded new CDs on my 2nd computer.  How do I download the new music into my old computers iTunes using icloud.

    For your computer first get iTunes to see it by:
    iOS: Device not recognized in iTunes for Windows
    or
    iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X
    - The transfer iTunes purchases
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    - Or redownload them by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    - Transfer other music by using a third-party program like one of those discussed here:
    newer copy
    - Connect the iPod to your compute and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up
    - Restore the iPod from that backup
    Note that the backup that iTunes makes does not included synced media like apps and music.

  • How do i download the skype app on my macbook pro?

    how do i download the skype app to my macbook pro?

    http://www.skype.com/en/download-skype/skype-for-mac/

  • My computer crashed, how do i download the digital format of adobe photoshop elements (I have the cd

    my computer crashed, how do i download the digital format of adobe photoshop elements (I have the cd version, redemption code and serial #) to my new computer which does not have a cd drive

    if you follow all 7 steps you can dl a trial here:  http://prodesigntools.com/photoshop-elements-11-direct-download-links-pse-premiere-pre.htm l
    and activate with your serial.
    if you have a problem dl'g, you didn't follow all 7 steps.  the most common error involves failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com).

  • I have an ipod touch second gen, how can i download the facebook app if it says its not compatable with my current iOS?

    i have an ipod touch second gen, how can i download the facebook app if it says its not compatable with my current iOS?
    i had the facebook app but i could never upgrade it and i was ok with using the outdated version but when i reset the ipod so i could gift it to a friend it obviously got rid of the app and now i cant downloaded because it says its not compatable, how can i download the version i had before i reset it?

    Your only way is if you have the version that was compatible on your computer such as in the recycle bin/trash or in a computer file backup. In that case delete the current version that is in your iTunes App library and replace it with the older version. Then sync.
    Also see:
    Recover Older Versions of iPhone Apps After Updating — Apple News, Tips and Reviews

  • How do I specify the JRE i wish to use to Run an Application.

    Hi Everyone;
    Please bear with me if you read this before.
    I have installed java 1.3.1 and java 1.4.1 in that order.
    The JRE used by default is java 1.4.1
    How do I specify the JRE I wish to use to Run an Application from a command prompt.
    Example:
    Java -something org.jboss.Main
    help ??
    Stephen

    I was a lil embarrassed. I told my supervisor that the installation of java overwrites the JRE and that's that.
    My supervisor took 10 minutes and went through it and found java.exe in the System32 file.
    The java.exe file is found in guess where "C:/WINNT/System32/" folder how nice. C:/WINNT/System32/ is in the path. Not only that it's the first entry in the path. So when I execute java it is not using java.exe any one of the java files that I got from the java website.
    So I don't have any control over the version.
    Oh well;
    That's life. That's 1 for my supervisor.
    Stephen

  • How do I download the music from iTunes onto an old iPhone 3gs? I have reset the iPhone to factory settings and when I plug it in it wants to use the device name for my current iPhone 5 and I don't want to change anything on my old iPhone.

    How do I download the music from iTunes onto an old iPhone 3gs without affecting my iPhone 5? I have reset the iPhone to factory settings and when I plug it in it wants to use the device name for my current iPhone 5 and I don't want to change anything on my current iPhone. iTunes won't let me change the device name for the 3gs. I just want to use the old iPhone like an touch.

    Hi littlemansa,
    If I am understanding you correctly, it sounds like you are returning to an old iPhone that has been erased and you would like to set it up as a new device without restoring from a backup which would affect the name of your iPhone, as well as the contents therein. I have an article for you that can help you set up your iPhone as a new device, and that information can be found below:
    How to erase your iOS device and then set it up as a new device or restore it from backups - Apple Support
    http://support.apple.com/en-us/HT4137
    Basically, it seems like you may be stuck on a screen that is asking if you would like to restore your device from the backup that is filed under the name of your new iPhone, or if you would like to set up the device as a new device. I would suggest that you set it up as a new device to achieve your desired results. 
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • HT5704 My network connection is: HSDPA. I do not have a faster connection within 200km radius. Is there any way how I can download the iSO 6.1.3 to update my iPad?

    My network connection is: HSDPA. I do not have a faster connection within 200km radius. Is there any way how I can download the iSO 6.1.3 to update my iPad?

    Connect your iPad to iTunes on your computer.
    http://support.apple.com/kb/HT4623 - Scroll down to Update your device using iTunes

  • No windows 7 or 8 on my Dell PC just windows vista.  How do I download the free U2 cd with no icloud icon?  Site says it requires windows 7 or 8??

    No windows 7 or 8 on my Dell PC just windows vista.  How do I download the free U2 cd without having windows 7 or 8?  Site says icloud requires windows 7 or 8??? 

    iCloud is a different set of features from iTunes in the Cloud.
    To download your copy of the album go to iTunes Store > Quick Links > Purchased > Music > Not in my library. You should find the album there. Click the cloud symbol to download.
    tt2

  • I have purchased Adobe Acrobat and my order number is 281998924. My previous Sony computer which used to Windows 7 crashed. I purchased a new Toshiba computer with Windows 8. How can I download the Adobe acrobat? I assume I don't have to pay for the progr

    I have purchased Adobe Acrobat and my order number is 281998924. My previous Sony computer which used to Windows 7 crashed. I purchased a new Toshiba computer with Windows 8. How can I download the Adobe acrobat? I assume I don't have to pay for the program again? Thank you for all your help! Angelo.

    If you had purchased Acrobat Standard subscription.
    You need to download the application from below website :
    www.cloud.acrobat.com
    Sign in with Adobe ID and Password and once signed in click on Acrobat tab and download the application.
    Sign in - Adobe ID

  • I would like to send pics from my windows computer to my iPhone using bluetooth. I had it paired but somehow it cannot the download the software and is asking to usa a disk instead. Where or how can I download the software available for that, please reply

    I would like to send pics from my windows computer to my iPhone using bluetooth. I had it paired but somehow it cannot the download the software and is asking me to usa a disk instead. Where or how can I download the software available for that, please reply... thaks. (",)

    Bluetooth file transfer has never been supported with iOS devices.

Maybe you are looking for

  • Can anyone explain how to use user exit IPRM0002 ?

    pay attention please: my question is not for what it is and I have read all the available documentation. if you have an exmple of written code, that would help me a lot. thanks

  • Corruption of TM files on TC?

    I have a MBA and a MBP2 running TM accessing the appropriate image files on a TC. I've now had the MBA's back up image file corrupted three times while the MBP2's has been corrupted once. Disk Utility app cannot handle the file corruptions. And, of c

  • How can I create a horizontal scrollbar with a centered thumb that scrolls content from both sides?

    I am having trouble figuring out how to create a horizontal scrollbar component either by itself or nested inside a data list component that will have it's thumb centered in the track when running and reveal content from either the right or left side

  • Where's the OES2 SP1 documentation?

    Novell Documentation takes us to the documentation for OES2 SP2. This is now the current release (just released) of OES2. Since NOWS SBE2 2.5 is based on OES2 SP1, and has just been released, the OES2 SP1 documentation is still needed.

  • Need help with my Report Header

    Hi I have this report that I had to add a column to. which i did. but the problem is I can't find where the report getting its header information from so that I can shift it so that it apears correct format. Here is the code *& Report  ZSALES