Web Start running with other applications

I've been doing some research on Web Start and I was just wondering if someone could give me some clarity on a couple of questions.
1. If two applications require two different JREs (1.4 and 1.3) is it possible to run them simultaneously?
a. Both applictions running on Web Start simultaneously
Now I know you can specify a certain JRE to a certain product by specifying the href in the JNLP file ... will this solve that issue? Or am I going to need two seperate JVMs going through IE somehow (read a suggestion from another thread about using two JVMs)?
b. One running on Web Start and one not running on Web Start simultaneously
eg. If I open one application with web start (uses 1.4) and later try to open another application that requires another certain JRE (uses 1.3) to run that isn't using web start (eg. an .exe file) (or vice versa) ... what will I need to do ... (seperate JVMs ... or is it not possible?)
2. Also ... I've read a thread that when you use Web Start it doesn't make the JRE the default of the OS ... is this true?
I would appreciate any help with these questions ... thanks ahead of time.
-- Derek

The short answer to both of your questions is yes.
You can run two apps on the same box with different JREs , this is specified in the JNLP file with the j2se element in the file.
<j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
Also this will not affect any other JREs you have installed on your system, i.e. it doesnt screw up any of your path or classpath variables in the registry, the directory for the jre bin where javaws is at is determined at runtime from a cached version of your jnlp file.
not sure if you were looking for something more specfiic ...
R
S

Similar Messages

  • How can I communicate with other applications from my Java application?

    Hello,
    I need help about how can i communicate with other application(say textpad.exe/wordpad.exe/MS word.exe) from my Java program.
    More precisely, I need to know how i can get the current position of the cursor whether it is in any .txt/.doc files, then I may write some text in my java application and click a button and then my program will append the line(string) in that position of the file which is running under another appliction(Notepade.exe/MSword.exe).
    Please provide me some help.

    I may be wrong (and anyone, please correct me if so), but Java may not be the best tool for something such as this. I envision that you'd have to make some OS calls such as calls to the user32.dll, and while this can be done through the JNI, you'd still have to have a C or C++ program doing the dirty work.

  • While send/receive email, I have received an error message "Sending of password d"? However with same login details, I am able to login with other application.

    While send/receive email, I have received an error message "Sending of password d"?
    However with same login details, I am able to login with other application.
    I have changed password still the issue remains as it is.

    https://support.mozilla.org/en-US/kb/cannot-send-messages

  • Can i use Airplay with other applications different to iTunes on my Mac Pro?

    Hi,
    I bought a Mac Pro 13' Retina Display two weeks ago and today i bought a Bose SoundTouch 20 and i connected both to my home network by ethernet cord. when i try to use applications like iTunes to send the sound of a song from mac to bose it work perfect, but when i try to do the same with spottily (i downloaded the app for my mac) simply doesn't work and don't know why. Another issue is that either can't send the sound of the movies and videos from mac to bose (i already try this using this configuration: send by airplay the movie to apple tv and from apple tv send the sound to bose, all work perfect because all was connected with ethernet cord).
    So the question is, Anyone know why the Airplay function only work with iTunes and with other applications simply doesn't?

    AirPlay only works with iTunes for Mac OS, iOS devices, and Apple TV.
    Not third party (non Apple) apps such as Spotify
    If the Bose Sound Touch supports Bluetooth, you may be able to stream music to the Mac or Apple TV. That's for sound, not video.

  • MathScript Nugget #19: Sharing Data With Other Applications

    In MathScript Nugget #18, we looked at ways to transfer data between MathSript and the rest of LabVIEW. In today's nugget, we'll see some of the different ways that MathScript can share data with programs besides LabVIEW.
    The most common way to share data between programs is by reading and writing files. MathScript supports several file formats that are recognized by other programs. The ones we'll touch on in this nugget are MLV, MAT, CSV, TXT, TDM(S) and XLS.
    The easiest way to bring data into MathScript is with the 'load' function. The help topic for this function does a great job of explaining it. The load function will bring in a group of variables that have been saved to a file earlier. The most common formats that load supports are:
    MLV files created with MathScript save function
    MAT files created with  version 6.0 or earlier of The MathWorks, Inc. MATLAB® software
    TDM and TDMS binary measurement files created in LabVIEW or DIAdem
    The load and save functions are great for storing off a group of variables to be used again in a future session of MathScript. You can do the same thing using the Operate>>Load Data... and Operate>>Save Data... menu items in the MathScript Window. These support the same file formats as load and save.
    The best formats to use if you want to share data with other applications are TXT, CSV, and XLS. MathScript has special funcitons to read and write each of these formats. The functions, such as fread_csv and fwrite_xls, are all members of the support class.
    The last way to read and write data files with MathScript is to use a custom file format. MathScript supports common file operations like fread and fwrite. You can use these functions to create or import files of any binary or textual format.
    There's one last way to move data out of MathScript without using files. You can copy data from the MathScript Window or MathScript Probe as tab-delimited text to your OS clipboard. You can then paste this text to a text editor or spreadsheet program.
    Hopefully now you have an idea of the many ways to move data into and out of MathScript.
    MATLAB® is a registered trademark of The MathWorks, Inc.
    jattas
    LabVIEW MathScript R&D
    ps Check out more MathScript Nuggets!

    TDM and TDMS are also excellent file formats to share your data with other applications. National Instrumenst offers free libraries and add-ins to access TDM and TDMS files with e.g. Excel, OpenOffice Calc or The MathWorks, Inc. MATLAB® software. Have a look at this page to 
    Find Resources for Reading and Writing TDMS Files in Third-Party Products

  • Oracle Reports with Other Application Server

    Can Oracle Reports be run within other Application Server such as WebSphere?
    For example, I've created Oracle Reports and save it as RDF file. Is there a way to have my application which run inside WebSphere to initiate Oracle Reports to compile RDF file into HTML or PDF without having to make a command line call?
    Thank you in Advance

    Hi Fred Narthasilpa,
    I have searched thru some of the Oracle Manuals for the same and found that they will provide support to Websphere soon, to publish Oracle Reports.
    However, not sure whether the same is made avl. as of today.
    Have a nice day,
    Raja Angamuthu B

  • Using AirTunes with other applications

    What I want to do is to stream the audio output from the 2 laptops in my house (MacBooks with Leopard) wirelessly to a hi-fi. I know an AirPort Express will do this with iTunes, but I don't think it will work with other applications, which is what I want.
    Am I right, and is there any cost-effective way to do what I want to do (Apple solution or not)?
    Thanks in advance.

    World Of Ste wrote:
    What I want to do is to stream the audio output from the 2 laptops in my house (MacBooks with Leopard) wirelessly to a hi-fi. I know an AirPort Express will do this with iTunes, but I don't think it will work with other applications, which is what I want.
    Am I right, and is there any cost-effective way to do what I want to do (Apple solution or not)?
    You might try Airfoil:
    http://www.versiontracker.com/dyn/moreinfo/macosx/26038
    Note that I haven't tried it myself.

  • When I'm using a browser (like Safari) in Yosemite, how can I shrink it and share my desktop with other applications?

    I have an iMac, and after installing Yosemite (OS 10.10), all my browsers (like Safari) no longer share the screen with other applications, like Word or even Calculator.  How can I shrink Safari (or any browser) and share my desktop with other applications?

    When I'm using any browser (at the moment, it's Safari), I am unable to resize the window.  The browser BECOMES my entire desktop.  And if I open another application, suddenly the browser vanishes to the right, so I can only see the other app.  AND my dock disappears into a solid black space below the screen, which I can penetrate with my curser (after dragging the curser back and forth above and below the black space until the dock eventually reappears.  But if I select any app in the browser to open, then Safari vanishes instantly to the right of the screen.  I've tried to resize Safari (and Firefox and Chrome) by moving the curser to the bottom right of the browser, but that old standby doesn't seem to work anymore.  The browser takes up all of the screen, except for a small portion of the top, where my curser can reveal Safari's old menus, and the bottom of the screen, which is entirely black until I can locate my dock by dunking the curser up and down in the black ooze.
    I really want the old convenience of my Mac, where several programs can open side by side, but Yosemite seems to have precluded that possibility.  What can I do?

  • When I'm using a browser (like Safari), how can I shrink it and share my desktop with other applications?

    I have an iMac, and after installing Yosemite (OS 10.10), all my browsers (like Safari) no longer share the screen with other applications, like Word or even Calculator.  How can I shrink Safari (or any browser) and share my desktop with other applications?

    Yes, mission control threw everything across the screen (which is way beyond anything I could figure out), but the real answer I needed came from Apple Tech Support, which I finally called, and I learned about the two arrows in the top righthand corner, when I held the cursor there, which turned blue and resized and released the browser from total domination of the screen.  Those two, opposite-pointing arrows allowed me to shrink the browser and let other applications be seen on the desktop.  But thank you for extending a helpful tip, which I can use another time.

  • Opening a file with other applications

    Is there a way to open a file in Java with other applications automatically? For example, *.gif - Photoshop, *.txt - notepad.

    If you are using Windows, then yes there is.

  • After updating my Iphone 4 on iOS7, my microphone stopped working when someone is calling me(or when I call someone). But the mic works with other applications like Skype... Any ideas ? Thanks.

    After updating my Iphone 4 on iOS7, my microphone stopped working when someone is calling me(or when I call someone). But the mic works with other applications like Skype...
    Any ideas ? Thanks.

    Hi Anis289,
    Welcome to the Support Communities!
    As a first step, I would suggest restarting and/or resetting the iPhone:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    Here are some additional troubleshooting steps for sound on your iPhone:
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    Cheers,
    - Judy

  • 'Unable to Launch Application Error' - Java Web Start Running Under MS IIS.

    I am attempting to render the following .jnlp in MS IE:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File for LottoMadness Application -->
    <jnlp
       codebase="http://localhost/LottoMadness/"
       href="LottoMadness.jnlp">
       <information>
         <title>LottoMadness Application</title>
         <vendor>Rogers Cadenhead</vendor>
         <homepage href="http://localhost/LottoMadness/"/>
         <icon href="lottobigicon.gif"/>
       </information>
       <resources>
         <j2se version="1.5"/>
         <jar href="LottoMadness.jar"/>
       </resources>
       <application-desc main-class="LottoMadness"/>
    </jnlp>I've deployed the .jnlp, .gif, and .jar to MS IIS, running locally on my PC.
    When I attempt to render the .jnlp in IE I obtain an 'Application Error' window stating 'Unable to Launch Application'. Clicking details gives me:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost/LottoMadness/LottoMadness.jnlp
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)I have configured MS IIS for Web Start, by setting the Extension/Content Type fields to .jnlp and application/x-java-jnlp-file.
    (The .jnlp is basically from 'Programming with Java in 24 Hours', as this is the book I am learning Java from.)

    AndrewThompson64 wrote:
    I am not used to seeing references to a local server that do not include a port number.
    E.G. http://localhost:8080/LottoMadness/
    I have deployed the following HTML (HelpMe.html) to the web server:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    Help Me!
    </body>
    </html>When I attempt to render the URL in IE, I see the page just fine. The URL is use is:
    http://localhost/LottoMadness/HelpMe.htmlSo, I think my web server setup and usage is ok.
    >
    As an aside, what happens if (your MS IIS is running and) you click a direct link to..
    [http://localhost/LottoMadness/LottoMadness.jnlp|http://localhost/LottoMadness/LottoMadness.jnlp]
    When I click this link I get the error and exception I cited in my previous post.

  • My iTunes has started skipping when other applications run

    Songs are skipping/stuttering/static-filled when I open other applications, or do anything not in iTunes.. is this due to some virus maybe? Or is it an iTunes problem? Thanks in advance.

    Howdy jackEVNorman,
    It sounds like your iTunes playback is stopping when you switch to another program. I want to recommend starting iTunes in Safe Mode, and see if the symptoms persist.
    iTunes: Troubleshooting issues with third-party iTunes plug-ins
    http://support.apple.com/kb/ts3430
    If the issue is not resolved, I would try performing a Safe Boot on Mac OS X.
    Mac OS X: What is Safe Boot, Safe Mode?
    http://support.apple.com/kb/HT1564?viewlocale=en_US
    To start up into Safe Mode (to Safe Boot), follow these steps.
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key.
    The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple logo and the progress indicator (looks like a spinning gear).
    After the logo appears, you should see a progress bar during startup. This indicates that your computer is performing a directory check as part of Safe Mode.
    To leave Safe Mode, restart your computer without holding any keys during startup.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Java web start running on windows NT4 work station

    I have installed java web start on a windows NT4 work station (service pack 6) with a directx v5. I successfuly launch the sun applications such as swing set 2, but I have some troubles concerning our software which used another look and feel than the default one. A system error is raised saying that the library ddraw.dll could not be loaded.
    I have unistalled and re-installed directx v5 but the error is still raised.
    Does any one can help me to solve this problem ?.
    Thank you.

    Hello Sim085
    thanks for your reply.
    Perhaps it would be easier for us to continue the programming with any kind of VisualStudio Produkt ;-), although we dont't had to think about OOP yet!
    Because of our new Network-Technology (Terminal-Server) we have to discuss serveral possibilities.
    I've read about JSP and ASP.NET, and I want to know if JSP or any kind of JAVA Program will run on a Terminal-Server.
    Are there any special aspects I have to know when running JSP on a terminal server from Microsoft? Is it better to program applications in JAVA or in JSP? ...
    Thanks
    Rasming

  • Java Web Start running JasperReports

    The following is the exception that is thrown when trying to compile an .xml report template to a JasperReport object, from an app that has been deployed via the Java Web Start:
    dori.jasper.engine.JRException: Errors were encountered when compiling report expressions class file:
    C:\Program Files\mozilla.org\Mozilla\DailyReport.java:4: package dori.jasper.engine does not exist
    import dori.jasper.engine.*;
    * I have deployed the application properly via Java Web Start; however, when running the application it is not able to compile the xml file to a JasperReport object.
    * The .java file is created properly; but the app does not seem to be able to find the dori.jasper.engine.*; library.
    * I have signed and included the jasperreports-0.5.0.jar (and it's dependencies) with the app, and have put the path to all of it in the Class-Path of the manifest file.
    * NOTE: Just FYI, I am able to run this without any problems under netbeans.

    Dear Patrick,
    Recently I have used iReports for generating report through java & deploy it through java web start.
    I had taken all the measures you had mentioned in your previous replies. But I am not able to view the report. ( might be it is not compiliing)
    I am using new version of jasperreports-0.5.3.jar
    also through console it is running well.
    Also it is not giving any errors. can u have any idea about this.
    Might be it is silly mistake I have done.
    My code for report generation is :
    public class SReportA
         public SReportA()
         try
         JasperDesign jasperDesign = JasperManager.loadXmlDesign("/home/ora/iReport/RSENIORITYLIST-A.xml");
         dori.jasper.engine.design.JRBshCompiler theCompiler = new dori.jasper.engine.design.JRBshCompiler();
         JasperReport jasperReport = theCompiler.compileReport(jasperDesign);     
         Map parameters = new HashMap();
         parameters.put("uname","admin");               
         Connection con=null;
         try
              Class.forName("oracle.jdbc.driver.OracleDriver");
              con=DriverManager.getConnection("jdbc:oracle:thin:@158.144.71.219:1521:dbadp","acom","admin123");
         catch(Exception e)
              System.out.println("Exception in test.jsp "+ e);
         JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,parameters,con);
         JasperManager.printReportToPdfFile(jasperPrint,"ReportA.pdf");
         JasperViewer.viewReport(jasperPrint,false);
         catch(Exception e){ System.out.println("There is exception here"+ e); }

Maybe you are looking for

  • Set pages to be default program for *.doc files

    Is it possible to set pages to be the default program which my computer will ALWAYS use to open a MS word document? In windows i could set default programs for specific file types, e.g. .jpg, .mpg, mp3. I did not have to assign a program to open the

  • Qosmio F755-3d150 - Win 7 - no High definition on external display

    hello after instaling windows 7 and the nvidia driver, the external screen dosent display in HD like before, I tried to configer setting but no resolt, What driver do i need to install?

  • Component Out Malfunction on Qosmio G35

    Hey everybody, I'm really glad I found this forum. I have a G35 AV600 running Xp and my component out (tv Out) has just stopped working on me. The button works, I can see some change in the screen of the external monitor. And the Svideo works with th

  • How to do NAT on Solaris 10 ?

    Hello, I am sorry if asking a stupid question, I have two computers at home and I would like both of them connected to the internet. How do I setup DHCP, NAT and maybe a DNS cache or server on my Solaris computer ? What else do I need ? How do I inst

  • The frequency analyzer in my EQs is displaying a half second before the music plays through my monitors.

    I've fiddled with all of the latency settings, and enabled the low-latency button, but can't get the analyzer to line up with the played sound.  I know that logic shifts tracks back and forth in time to compensate for plugin latency, but I've tried w