If I want to set -Xbootclasspath , how to do it in jnlp file

if I want to set -Xbootclasspath to let jvm know my classpath, how to do it in jnlp file. or have other way to do it.

If I want to orb, (now I am using openOrb) , I had to
let jvm load Orb which I want to use. Did you put those Orb classes into jars and list them in the jnlp file of your Web Start app?
Regards,
Marc

Similar Messages

  • How to set property "java.util.Arrays.useLegacyMergeSort" in jnlp-file?

    Hi,
    I have a problem in a web start application with java 7 and the new sort behavior (exception: comparison method violates its general contract).
    So I like to go back to previous behavior and tried to put the new java 7 system property "java.util.Arrays.useLegacyMergeSort" in the generated jnlp-File:
    <property name="java.util.Arrays.useLegacyMergeSort" value="true"/>.
    Now I can read the property value in java code with System.getProperty("java.util.Arrays.useLegacyMergeSort"), and guess the property was successful set, but the exception still appears?!
    The system property works with command line "javaws -J-Djava.util.Arrays.useLegacyMergeSort=true file.jnlp", but not via doubleclick on the jnlp-file or url and browser.
    Any ideas?
    Cheers,
    Dan

    Only "trusted" set of properties can be set in the JNLP file by unsigned applications.
    List of properties is revised from time to time but it usually takes time for new properties to be added to it (if there is strong demand for it as every property should undergo security audit).
    You can specify arbitrary property if you sign your application and JNLP file.

  • How to enable IPV4 in JNLP file

    I need to use this flag -Djava.net.preferIPv4Stack=true when running with JWS. Does anyone know how to specified this flag through JNLP file?
    Thanks,
    Paul

    JNLP will not allow Java Web Start to set arbitrary properties w/o knowing them to be secure.
    The built in list of known secure properties dosn't include this one.
    On a given client machine you can set a property in the deployment.properties file to allow this property in ther jnlp file:
    (in 1.5, or 1.4.2): deployment.javaws.secure.properties=java.net.preferIPv4Stack
    This will only help you out for the given client machine
    One way you might work around this is to create a small Extension Installer that adds this line to the clients deployment.properties file., but you'll have to sign the extension installer.
    /Dietz

  • How can I download two jnlp files by sequence?

    Hi,
    I want to download two jnlp files by sequence.
    When I click a link,first download a file,finish the operation.
    then download another.
    How can I do this?
    Thanks.

    Why do you want to do this ?
    I don't think that could work that way... But it is possible to reference others JNLP files inside a JNLP file.
    Example in my own jnlp file:
    <jar href="jte4.jar" main="true"/>
    <extension name="JTDS JDBC Driver" href="jtds.jnlp"/>

  • How to customize automatically generated jnlp file

    hi !
    i am using sun application server 9.0.
    i have written an application client, and deployed it to the server.
    when i start the client via web-start, the application cannot load all classes, because there are some jars missing.
    my question: is there a way to customize the jnlp file generated by the server.
    especially to add some additional jars / extension packages ?
    thanks
    wolfgang

    JNLP will not allow Java Web Start to set arbitrary properties w/o knowing them to be secure.
    The built in list of known secure properties dosn't include this one.
    On a given client machine you can set a property in the deployment.properties file to allow this property in ther jnlp file:
    (in 1.5, or 1.4.2): deployment.javaws.secure.properties=java.net.preferIPv4Stack
    This will only help you out for the given client machine
    One way you might work around this is to create a small Extension Installer that adds this line to the clients deployment.properties file., but you'll have to sign the extension installer.
    /Dietz

  • How can I set up company ipads with preloaded apps and files?

    I want to set up multiple ipads with preloaded apps and files before handing them out to employees.  We intendend the employee to be able to install their own content on the device using their own itunes account.  When I attempted to connected to a pc using a personal account my the content obtained by the company account was prompted to be removed.  Was this done incorrectly?  Is there a way I can set up company ipads with preloaded apps and files so that they don't get removed when the user connects them to another computer with another itunes account?
    Right now we are looking to have the employee use their own itunes account and reimburse the expense for the needed apps, but this could be an issue if they leave the company and the device is reassigned.

    Yes this is possible. I've been using Apple Configurator to do this (you could also use iTunes to restore backups). The trick is, you need to tell the end user not to sync apps within his/her iTunes on his/her computer. You will need to instruct the end user to download apps OTA using the App Store on the iPad rather than with iTunes on his/her computer. If the user tries to sync apps on his/her computer, it will wipe out apps that you installed. However if the user downloads apps OTA, your apps and the user downloaded apps will both stay on the iPad.
    When you hand the iPad to the user, be sure to log out of your company Apple ID on the iPad at Settings -> Store and have them sign in with their personal Apple ID. That way it is all set for them to download apps under their own Apple ID.
    ~Joe

  • When I´m editing a pallete - be it the controls palette or the function one - How can I edit a .mnu file, so that it shows the picture I want?

    When one decide to edit controls or functions palletes, one of the options available is the insertion of a submenu and, when it´s done, the user is prompted to select which menu file - a file with a .mnu extension - he wants to use. All I want to know is how I can create a .mnu file so that it shows a picture I want - if instead of choosing a existent .mnu file I choose one that doesn´t exist, it will be created and a default picture will be shown. I went through the LabVIEW help without avail, so ...any help would be deeply appreciated !

    If you wish to change the default submenu Icon to yours, simply right-click on the submenu Icon and select "Edit Submenu Icon..."
    Is that what you wanna do?
    Cheers!
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com

  • How to embed jnlp file into html page using object tag

    hi everyone,
    i have written one jnlp file like this.
    <?xml version="1.0" encoding="utf-8" ?>
    <!-- JNLP file for Demo applicaion -->
    <jnlp spec="1.0+" codebase="http://localhost:9080/base/" href="SampleExample.jnlp">
         <information>
              <title>Demo Application</title>
              <vendor> </vendor>
              <description>Sample Demo Application</description>
              <offline-allowed/>
         </information>
         <security/>
         <resources>
              <j2se version="1.3+" />
              <jar href="common.jar" main="true" download="eager" />
              <jar href="classes12.jar" download="eager" />
              <jar href="toplink.jar" download="eager"/>
              <package name="com.applet.*" part="applet" recursive="true"/>
         </resources>
         <applet-desc name="grid" main-class="com.applet.PriceGrid" width="1000" height="300"/>
    </jnlp>
    i am trying embed that jnlp file using object tag like
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">     
    <PARAM NAME="jnlp" VALUE="http://localhost:9080/base/SampleExample.jnlp">
    </OBJECT>
    but i am not able to load the applet using Web Start.
    Can anyone please help me. This is very Urgent for me.
    Thanks & Regards,
    Shiva.

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • How to load .jar files when not specified in the .jnlp file

    Hello,
    We are deploying an application with JWS but due to the nature of this app, we need to download additional jar file only when the user has been authenticated. The jar file(s) we need to download can hardly be predicted (in term of name) and thus cannot be all listed as lazzy resource in the .jnlp file.
    However, we would like to take advantage of the various JWS features relateed to .jar download and cache and would prefer not to reinvent the wheel by implementing our on stuff (i.e. URLClassLoader with caching etc.).
    Any idea, suggestion?
    Thanks in advance.
    Fred.

    How about writing a second jnlp file with the optional jar listed in it and running it only if your user is authenticated?

  • How to run dynamically created jnlp?

    Hi,
    I'm learning how to run a dynamic jnlp file create by a cgi program.
    I have a jnlp file, which can be executed by the in the
    HTML file. Then my experiment is to write a perl script to print
    exactly the same content as the jnlp file, and then the href is
    re-directed to the cgi. But Then I got an error complaining
    the first line:
    Bad header = <?xml version="1.0+" .... ?>Is there anything else I should add in the header?
    Thanks.

    To be more specific about my question, here is the perl script I used
    to generate the jnlp file. What should I add to it?
    Thanks.
    #!/usr/bin/perl
    use CGI;
    ## Read parameters
    $query = new CGI;
    $SecID    = $query->param("SECID");
    $PlayName = $query->param("PlayName");
    $PlayFile = $query->param("PlayFile");
    $PlayFrom = $query->param("PlayFrom");
    $PlayTo   = $query->param("PlayTo");
    $CodeBase = $query->param("CodeBase");
    # Generating jnlp
    print "Content-Type: application/x-java-jnlp-file \n";
    #print '<%page contentType="application/x-java-jnlp-file" %>'."\n";
    print '<?xml version="1.0" encoding="utf-8"?>'."\n";
    print "<jnlp spec=\"1.0+\"  codebase= \"$CodeBase\" />\n";
    print "  <information> \n";
    print "    <title> $PlayName </title> ";
    print "    <vender>  </vender> \n";
    print "    <description> </description>
    print "    <offline-allowed/>
    print "  </information> \n";
    print "  <security>\n";
    print "     <all-permissions> \n";
    print "  </security>\n";
    print "  <resource>\n";
    print '     <jar href="Java/Piano/MidiBox.jar" />'."\n";
    print '     <j2se version="1.2+"
    href="http://java.sun.com/products/autodl/j2se"/> '."\n";
    print "  </resource>\n";
    print '  <application-desc main-class="eng.midi.MidiBoxGUI">'."\n";
    print "     <argument>-px</argument> \n";
    print "     <argument>-Ud</argument> \n";
    print "     <argument>$PlayFile</argument> \n";
    if ($PlayFrom)
    print "     <argument>-from $PlayFrom </argument> \n";
    if ($playTo)
    print "     <argument>-to $PlayTo </argument> \n";
    print "  </application-desc> \n";
    print "</jnlp> \n";

  • I want to set up the Time Machine and I would love to use the Time  Capsule but since I already have a wireless router I need suggestions on  what other external disks Apple could recommend to use with the Time Machine and  how to configure that disk

    I want to set up the Time Machine and I would love to use the Time
    Capsule but since I already have a wireless router I need suggestions on
    what other
    external disks Apple could recommend to use with the Time Machine and
    how to configure that disk.
    A complication that I need to resolve is the fact that I am using Vmware
    Fusion to be able to use Windows on my Mac. Now it seems that Time
    Machine is not backing up my files
    on that virtual Windows without additional configuration and my question
    is whether you can advise me here or whether this is only a matter for
    the Fusion virtual machine.

    If you want to use Time Capsule you can.. you simply bridge it and plug it into the existing router.. wireless can be either turned off or used to reinforce the existing wireless.. eg use 5ghz in the TC which is much faster than your 2.4ghz.
    You can also use a NAS.. many brands available but the top brands are synology, qnap and netgear readynas  series. These will all do Time Machine backups although how well always depends on Apple sticking to a standard. There are cheaper ones.. I bought a single disk zyxel which was rebadged and sold through my local supermarket. It actually works very well for TM at least on Snow Leopard. Major changes were made in Lion and again ML so do not instantly think it will work on later versions. I haven't tried it yet with those versions.
    Any external drive can be plugged into the mac. Use the one with the fastest connection or cheapest price according to your budget. USB2 drives are cheap and plentiful. But no where near as fast as USB3 or FW800. So just pick whichever suits the ports on your Mac. Interesting Apple finally moved to USB3 on their latest computers.
    TM should exclude the VM partition file.. it is useless backing it up from Mac OS side.. and will slow TM as it needs to backup that partition everyday for no purpose.. TM cannot see the files inside it to backup just the changes.
    You need to backup windows from windows. Use MSbackup to external drive.. if you have pro or ultimate versions you can backup to network drive. But MSbackup is a dog.. at least until the latest version it cannot restore the partition without first loading windows. There are about a zillion backup software versions for windows.. look up reviews and buy one which works for you. I use a free one Macrium Reflect which does full disk backups and is easy to restore.. to do incremental backups though you have to pay for it.

  • Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files but still have them on the TC for future reference..

    Okay so I set up my Time Capsule already and is now backing up 2 of my iMacs. Works great. What I want to know is how to use the TC to directly store files? I want to do this to delete some files on iMac 20inch but still have them on the TC for future reference..eg some movies on iTunes. I want to directly save them on the drive so I can delete them from iTunes and gain some storage. (Ps on iMac 20 inch (it's almost full - 320 GB) when I enter time machine, a tab comes up on finder which reads "Time Machine backups" it's able to be ejected like a disc or a connected device. On the iMac 20 inch, I dragged some files onto there as if using it like a hard drive. Is this the correct method? Then I went to my 27inch iMac and saw the "Time Machine Backups" hoping to see the files I dragged from the 20inch iMac. But the files were not there except a folder that said "Backups.backupdb". Can someone help me?

    It's not a good idea to use a network disk for both Time Machine backups and other things.  By design Time Machine will eventually consume all the space on its output disk, which will then cause problem for your other files.  I'd store those other files on an external disk connected to the Time Capsule.  The problem with that is that Time Machine will only back up files that are local to your Mac.  That means that you'll only have one copy of the files on or attached to your Time Capsule.
    By the way, you've been misled by poor field labeling on this forum into typing a large part of your message into the field intended for the subject.  In the future just type a short summary of your post into that field and type the whole message into the field below that.

  • I have an Apple ID with a single  e mail address. I want to set multiple addresses in the same ID. Can I? If so how?

    I have an Apple ID with a single  e mail address. I want to set multiple addresses in the same ID. Can I? If so how?

    Howdy there johnzcarp,
    As I understand it you want to have more than 1 email address under your Apple ID. You can have what are called Alternate Email addresses associated with your Apple ID and this article will help you get those setup:
    Manage your Apple ID primary, rescue, alternate, and notification email addresses
    Alternate email address
    You can add one or more alternate email addresses for use with Apple services such as Game Center, FaceTime, Find My Friends, iMessage, and OS X notifications.
    Go to My Apple ID (appleid.apple.com).
    Select “Manage your Apple ID” and sign in.
    Add an alternate address:
    Select Add Email Address, then enter your alternate address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Edit an alternate address:
    Select Edit next to the address, then enter the new address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Delete an alternate address: Select Delete next to the address.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • HT4436 I want to set up an icloud account for work, separate from our personal accounts.  We all have iPad 2.  How do I do that?

    I want to set up an icloud account for work, separate from our personal accounts.  We all have iPad 2.  How do I do that?

    You can set up a second ("secondary") iCloud account on your device by going to Settings>Mail,Contacts,Calendars>Add Account>iCloud.  Secondary accounts do have limitations. Only the primary account can be used for Photo Stream, Bookmarks, Documents, iCloud Backup and Find My Device.  Push mail only works for the primary account; secondary account mail is fetch.

  • My apple tv 2 says I can't stream music from my iTunes library on my iMac without settng up iTunes Match. I don't want to set up iTunes match. How can I get back to the pre-Match system which let me just use home sharing to stream music from computer to A

    When I click on the Music tab on my Apple TV 2, a message tells me I have to set up iTunes Match to stream music from my iTunes library on my iMac. I don't want to set up and pay for iTunes Match. How can I get back to the pre-Match system which let me just use home sharing to stream music from computer to Aple TV

    Ditto.
    You need to look for your itunes library under Computers and select it, then music.
    Music column is for web based content not local content, just to confuse everyone.
    AC

Maybe you are looking for

  • FI Validation for Payment term in Purchase Order

    Hi All, Please help me with this if we could have some validation Client want to restrict the payment term to (2-3 options) selection at the time of PO and invoice entry Example:if we set up a merch vendor with 75 day terms the buyer can't choose any

  • CSS rounded corner problem

    Another question regarding my site which I'm working on. I have used a tutorial on a css corners website and put the code on the tutorial on my site to test it out. The url is http://www.lindendesign.co.uk/test/templates/header2.html In the bit under

  • Reg checkbox value

    HI 1. i have a scenario in which i have a list of chk boxes , the next chk box is enabled only when the previuos chk box is checked.. i have mapped the chk boxes to DB values from table which is a char(1) field. i used 1 for checked and 0 for un chen

  • How do i import photos from my iPhone to my macbook air in os x Yosemite

    Im trying to get photos from my phone to my macbook air and no option to do that has come up in the new os x yosemite.

  • Partitioning went wront, lost 32GB on my HDD

    Hi, Today I tried using Boot Camp assistent to partition my HDD on my iMac. During this process I got a Kernel Panic. The partitioning went wrong, and now I lost 32GB of my HDD space. Any idea how I can get it back? In Boot Camp assistent I can't rec