How to Include JRE with our Setup Package

please help me,
i have created one swing application.i successfully created setup.exe using installsheild 11.It is working in my machine.when i run this in another machine .it is not working.iam using some external jar also in the appln.i put that jars into the jre/lib/ext in destination machine's directory then it works.
i want to include JRE with my setup package(first the setup should find whether the jre is installed or not ,if not it must insall JRE and put my external jar files into jre/lib/ext directory in destination machine then only my appln should insall).please give me a solution for this

What?!! It isn't considered legal to access a
root-level class from a higher level package?Well it's not now because your code won't compile, but
prior to 1.4 you could. I think the JLS has been
updated to say you can't import from the unnamed
namespace.Hmm! I must have missed that bit (not that I read it in any great detail, anyway!). I suppose it forces you to use packages, which is a good thing, IMHO.
What I was wondering about was, is the directory structure of classes strictly necessary, given that a class contains information on its package anyway? I know some IDEs don't require the source files to be in the right directory - they will check on the package statement, and locate the class file accordingly - but is it absolutely necessary for class files to be located according to their directory structure? I know the JLS says they have to be, but could the JLS be relaxed on this point, without breaking anything?
RObin

Similar Messages

  • How to detect JRE with Javascript and without any help of class file

    Please tell me how to detect JRE with using the Applet file. Is it possible to detect only through Javascript

    It is possible to detect the Sun JRE using only Javascript without any class file.
    However, it is rather complicated due to difficulties with Internet Explorer.
    http://forum.java.sun.com/thread.jspa?threadID=5177843&tstart=15
    http://www.pinlady.net/test/PluginDetect.htm

  • [Solved] How to include examples for an AUR package

    Hi,
    I read the wiki pages how to create packages for the AUR,
    but I am not sure how to include examples which should be placed
    in /usr/share/doc/<package>/examples/ after the package was installed.
    Should all files be mentioned in the "sources" variable of the PKGBUILD
    or is it better to copy them via the .install file?
    Last edited by fana (2012-01-22 17:38:41)

    fana wrote:Ah, I see. So a good way would be just providing a tarball with all the examples and add that tarball to the source array
    Yup, I don't see how are these are examples different [1] from the other files.
    [1] Well, apart from stuff like https://bugs.archlinux.org/task/25998 ;P

  • How to include columns with a space in name in clientcontext load method in JSOM

    Hi Gurus,
    I have a situation where I need to read a list that has a column 'Repositary Name'.
    While I am reading the list in my JSOM I need to load this column in the clientcontext.load method.
    My code likes this below.
    this.collListItem = list.getItems(camlQuery);
        ctx.load(collListItem, 'Include(Title, 'Repositary Name')')
    The Issue is I can not load this 'Repositary Name' column. I tried with its internal name, removing the space, putting the name in single quote but nothing works.
    Please advice how to include a column in clientcontext.load method that has a space in its name .
    Changing the column is not a option and I have to have call it before I use it my Async Methods.

    Hi,
    If I am getting your issue correctly, I think you should put _x0020_ in place of space in your column name. In your case try Repositary_x0020_Name.
    ***If my post is answer for your query please mark as answer***
    ***If my answer is helpful please vote***

  • How to include class files in no package?

    hi,
    I have a class file in a package called
    pack.Test
    and a class file not in a package called
    Library
    When I try to use Library from within pack.Test, it says theres no such class. I have my classpath setup correctly, and the files in the correct directories.
    ie. on windows if %DIR% is the base directory then
    %DIR%\Library.java
    %DIR%\pack\Test.java
    is how they are layed out.
    Is there a way to get Library imported to pack.Test?
    thanks,
    asjf

    What?!! It isn't considered legal to access a
    root-level class from a higher level package?Well it's not now because your code won't compile, but
    prior to 1.4 you could. I think the JLS has been
    updated to say you can't import from the unnamed
    namespace.Hmm! I must have missed that bit (not that I read it in any great detail, anyway!). I suppose it forces you to use packages, which is a good thing, IMHO.
    What I was wondering about was, is the directory structure of classes strictly necessary, given that a class contains information on its package anyway? I know some IDEs don't require the source files to be in the right directory - they will check on the package statement, and locate the class file accordingly - but is it absolutely necessary for class files to be located according to their directory structure? I know the JLS says they have to be, but could the JLS be relaxed on this point, without breaking anything?
    RObin

  • How to include jre and program in an installer?

    Hi,
    I need to make a complete package where latest jre and my program jar file will be within.
    How to pack those in an installer?
    Thanks in advance.

    Hi Suresh,
        Executing the program RSAQR3TR or directly using the Transport option from SQ02 is the same.
        Please help me out on this requirement.
    Thanks & Regards,
    S.Lakshmi

  • How to include assets with Flash Builder?

    with the flash IDE i can add additional assets in the iPhone OS Settings under "Included File"
    how do I do the same with the Flash Builder?

    Ah - stupid me. It's so simple - just give the filenames of all the files to be included as additional parameters to the adt tool

  • Help with our setup and output to Excel

    OK, I work for the EPA Office of Research and Development (ORD) here in Cincinnati.  We are working on this big project that is coming to an end.  Basically, we have four different carts going.  We have one ultra filtration cart (UF), one reservoir cart, one ion-exchange cart, and one RO cart.  The UF, reservoir, and RO carts will all be hooked up to the computer via DASYlab.
    Currently, we think that we have our DASYlab setup correctly.  We want to graph everything over time and we want to export everything out to Excel so the data can be analysed later.  I have been in contact with DASYlab help but this really isn't there job.  I was wondering if someone could look at our DASYlab file (or give me idiot proof instuctions) into making sure that data is collected once every 2 seconds, the graphs are updated once every 2 seconds, and that the charts that will be output to Excel are updated once every 2 seconds.  We are working on a P-M 1.8GHz notebook with a 100GB hard drive and 2GB of RAM so it can definately handle the flow of data.
    No one in our project (or TTEB branch) has any experience with DASYlab.  The last person to have this type of experience was working with Strawberry Tree back in the early 90's on a old 286 PC via DOS.  It was actually the job of the contractors who built our equipment to get everything setup.  However, they fell through as they didn't have any previous experience with DASYlab and they just didn't feal like reading through the 100's of pages of text.  This assignment was handed over to me just last week and I think I have everything setup correctly.  I just don't have to the time to fully read the manual.
    I would appreciate any help.  If someone can help then feal free to PM me and I can e-mail them the two necessary files.
    Thanks

    Well I'm still pretty clueless about this, but for anyone who is looking at this and wondering, here's what I've gleaned:
    1.  After Effects, especially CS6, makes much more and better use of graphics cards than does Premiere Pro.  I'm guessing that PP will, in future versions, make better use of them.  For now, no need to spend more than a couple hundred bucks on one.
    2.  Update the software.  PP and AE both performed substantially better after installing the .01 update from adobe.  After you install the update, be sure to re-do the CUDA hack, if necessary.
    3.  As it stands, money for a PP system is best spent on a processor, as in the newest Intel (currently Ivy Bridge), and overclocked.  This is where performance happens.  I'd say on a 2012 system, 16 GB RAM should be considered a minimum for video editing, and 24 or 32 if you can afford it.  More than that probably won't be utilized.  Hard disks can affect performance, but I don't think it's a bottleneck unless you're doing something that requires VERY fast/large reads and writes (4k source?).  Most people who have high-end editing stations also have a bunch of drives in RAID, but if you look at the performance chart, the SECOND highest scoring tester did not use RAID (though did use a presumably fast and large SSD).
    Keep in mind that all of this has to do with RENDER speeds.  I still don't know what the bottleneck is for PREVIEWS, but I'm just going to assume it's the same.

  • How to include attachments with e-mail and to verify that they have been sent.

    When I try to attach a document or photo to an e-mail and use "browse" to find the attachment, then click it. The only option is open. When I click that there is no evidence or indication that the attachment has been made. How can I attach photos or documents to e-mail messages? Then, how can I verify that the attachments have really been sent with the message?

    * Outgoing (SMTP) server: you need to use your ISP (Internet Service Provider) SMTP server. Call your ISP to know your SMTP (mail sending) server. In case you are unable to get SMTP server, you can use WebMail for email sending.
    For OUTGOING MAIL SERVER I am required to add the following:
    HOST NAME
    (usually looks like smtp.example.com - Since I have Comcast as my it would look like smtp.comcast.net)
    USER NAME optional
    PASSWORDptional
    Since you use comcast, you have comcast e-mail. You need to ask them what the correct settings are to set up your comcast e-mail account on a mobile device and plug in the same information for the outgoing (SMTP) server for the account you're trying to set up.
    Warning: I'll predict now that a lot of your e-mail will get filtered as spam on the receiving end because the domain name in your email address is NOT going to match the domain name of the server it's originating from.
    You might want to look into a mail service provider that actually provides their own outgoing mail servers.

  • How to include objects of a z* package into a single request

    Hi Gurus,
    The requirement is I need to include all the objects in a z*package into one single request.One way is I find out latest version of each program and include it in request.But there are some 200 objects in the package.Is there any simple way to do it , I mean is there any option wherein I type the package name and all programs get included in the request..........
    Helpful answers will be rewarded
    Regards,
    Raghu.

    Please try this ..
    Goto SE09 ..
    Create a transport request ...
    Delete the sub-task ..
    Now place cursor on main task(request)
    click on Include objects(Ctrl+F11)
    In the popup check 'Freely selected objects' radio button .. click Ok
    Enter the package name  ... and any other parameters .. and F8 ..
    This will include all the objects in the particular package selected ..
    Then release the task ...

  • How to include content with MyFaces?

    Hi.
    I have what must be a common problem: I wish to include HTML content from a source file in a JSF file. I am using MyFaces, but I think the problem is more general.
    I currently can include static content trivially, with a jsp:include tag:
    <f:subview id="content">
      <f:verbatim>
        <jsp:include page="home.html" />
      </f:verbatim>
    </f:subview>The problem occurs when I want to choose the content file dynamically, based on a value from the backing bean. This fails:
    <f:subview id="content">
      <f:verbatim>
        <jsp:include page="#{backingBean.currentContent}" />
      </f:verbatim>
    </f:subview>I understand why this fails: the JSP EL does not recognize the Faces value. I have tried various ways to circumvent this including trying to use various types of includes, using iframe tags (with and without the htmlTag tag), etc. But all these have failed. I know the HTML content itself needs to be wrapped in verbatim tags, but I can easily place those in the content files if needed.
    What is the right way to include simple HTML source files from Faces? Searching various forums and documentation, I could not find any clear instructions that worked.
    Thanks.
    + Richard

    You could try using <c:import> instead of <jsp:include> (and remove the verbatims, of course). I haven't tried that with simple html though, but I think it should work.
    jimbo

  • How to include link with parameter in marketing emails?

    Hi, my client wants to send out personalized marketing emails to customers with a link back to the BC site that have a parameter on the end that passes the customer's email address the message was sent to. Then the landing page can parse that email off the end of the URL and insert it into the web form on the page where the customer can update his info, insuring he is using the same email that BC sent the message to rather than supplying a different one.
    If you insert a BC tag like {tag_recipientemail} into the body of the message it will replace that tag with the customer's email, but it doesn't work to use that BC tag within the HTML link in the email like this:
    <a href="https://mysite.worldsecuresystems.com/birthday?{tag_recipientemail}" > Click Here </a>
    That renders the TAG code {tag_recipientemail}on the end of the URL, not the email address.
    Anyone found a work around?
    If this was a web page I could use javascript to fix this, but of course email clients receiving messages don't allow javascript to run inside them, so this has to be fixed server side by BC.

    I suspect the same. That should work in the real campaign. I believe that it doesn't work in the e-mail me functionality because the user you are logged in is not connected to the CRM table, which is where that tag is pulling the info from.
    Cheers,
    -mario

  • Can I include jre with application?

    Hi
    As the title. Do you need any license or permission from oracle to ship a ire with my application?
    Regards,
    Hua Jie

    Hi
    As the title. Do you need any license or permission from oracle to ship a ire with my application?
    Regards,
    Hua Jie

  • How do I jar with the full package info inside the jar file?

    I want to jar so the jar tvf shows
    dir.path.x.y.z.filename.class, or
    dir\path\x\y\z\filename.class
    What is the command for this? Thanks

    Got it, see also
    http://forum.java.sun.com/thread.jsp?forum=31&thread=351405
    1. Go to higher path
    2. jar TargetJarName.jar dir.tree.x.y.z\*.class
    3. java -classpath dir.tree.x.y.z -jar TargetJarName.jar <arg>
    BTW, dir.tree.x.y.z excludes a.b.c where full DOS path =
    a.b.c.dir.tree.x.y.z

  • How to include IHREP package?

    Hi Experts,
          The package IHREP is not available in our server. How to include that package?
    Regards
    K Arasu

    Hi
    Since this is a Std Package and the IW37N is a Std transaction, it should by default will come along with the std software?
    Which version of SAP are you working?
    In ECC6.0 it is there? may be you are working in Lower version of SAP?
    Chek whether IW37 is there or not? I think it will be there.
    Check with the Basis person for this..
    Regards
    Anji

Maybe you are looking for