How to packaging javaFX without jre runtime?

When I packaging javaFX application to native application, I found the package will include binary jre folder, and ubuntu developer has gave me feedback about I must have a hard copy of license agreement before I publish my software.  So my question as title.

Look at the output from the javafxpackager call - it prints all kinds of helpful messages that tell you how to customize (search for the word icon). On Mac it told me to put add the image: package/macosx/MyApp.icns. On windows it told me to add the image package/windows/MyApp.ico. I don't know about linux.
I've been running javafxpackager from the command line - I find that the package directory needs to be in the same directory I run from (though maybe I just need to set the -classpath arg).

Similar Messages

  • How to package JavaFX 2 without boundle JRE

    Hi
    As the title, it's very useful to package java application as native installer. But the problem is, the package size is more than 50MB even my code is only 3 lines.
    If I already installed jre or jdk in my OS, can I choose to package without JRE?
    Regards,
    Hua Jie

    Wang, apparently you can create a native installer without a packaged Java runtime.
    I've never tried it, so you would have to try it and see.  (some of the items on the JavaFX deployment blog either weren't implemented or took a long time to implement).  Definitely use a recent JavaFX version if you try this (either the latest Java 7 release or - if that doesn't work - the most recent Java 8 pre-release).
    From Igor's blog post:
    Self-Contained Applications: Create Package without Java Runtime
    This may sound a bit puzzling at first glance. Package without embedded Java Runtime is not really self-contained and obviously will not help with:
    Deployment on fresh systems. JRE need to be installed separately (and this step will require admin permissions).
    Possible compatibility issues due to updates of system runtime.
    However, these packages are much much smaller in size. If download size matters and you are confident that user have recommended system JRE installed then this may be good option to consider if you want to improve user experience for install and launch.
    Technically, this is implemented as an extension of previous feature. Pass empty string as value for 'basedir' attribute and this will be treated as request to not bundle Java runtime, e.g.
    <fx:platform basedir=""/>
    https://blogs.oracle.com/talkingjavadeployment/entry/packaging_improvements_in_jdk_7#2

  • How to packaging javaFX with ICON

    Hi
    I have successfully generated native application for javaFX, however I don't know how to package application ICON to native package.
    I already able to see icon when I run it in netbeans.
    Regards,
    Hua Jie

    Look at the output from the javafxpackager call - it prints all kinds of helpful messages that tell you how to customize (search for the word icon). On Mac it told me to put add the image: package/macosx/MyApp.icns. On windows it told me to add the image package/windows/MyApp.ico. I don't know about linux.
    I've been running javafxpackager from the command line - I find that the package directory needs to be in the same directory I run from (though maybe I just need to set the -classpath arg).

  • Urgent - How to Run Applet without JRE installation

    I am creating an applet which displays information using JTree. This applet needs to be deployed in 'n' systems which may or may not contain JRE. Is there any way where in i can deploy in all the systems without any error.

    You could provide swing.jar and have the applet load that. It is
    slow though.

  • How to run JavaFX Jar with JRE 7 on MAC OS Lion 10.7.5 ?

    I had java 1.6 installed on my MAC OSX Lion 10.7.5. When I am trying to run that JavaFX application jar
    java -jar application.jar
    It always shows a dialog "The application require a newer version of Java Run-time" with download link. Even I have downloaded and successfully installed it on my MAC machine but it still shows me the same window.
    It installed jre-7u10-macosx-x64.dmg but java -version is always point to 1.6.
    Then I searched for Java Preferences to point the current JRE 1.7 but I could find Java Preferences at Applications -> Utilities -> Java -> Java Preferences.
    I found an Java Icon on System Preference. When I am trying to open that widow it's showing me error -- the java control panel opens in a separate window and nothing happens when we click on Re-open the Java Control Panel.
    http://avats.s3.amazonaws.com/JavaRunningError.txt
    I would like to know -- how to run JavaFX jar with JRE7 on MAC OS Loin 10.7.5? Is their any other way to run the JavaFX application JAR with JRE7?

    To find a copy of LP7 you would need to look for a copy on eBay.. However, the protection method used with LP7 no longer functions so you cannot register it and therefore you cannot use it. unless you have already registered LP7 yourself in the past using the security key dongle provided
    Any version of LP7 from a torrent would be an illegal (and most likely non working) version due to the protection that was used at that time... and so posting about it here, was not be wise.
    So.. thats why my previous answer was so brief... Simply put, you cannot use LP7 unless you already have a validated and registered security dongle... even if you found a copy of LP7 somewhere
    The only practical solution is to find some kind soul who already has a working version of LP7 installed, that you can send the projects to... for them to do the conversion for you.
    I would, but I no longer have LP7 installed here on any of my testbed Macs...

  • How to search ONLY in package names, without descriptions?

    Hello!
    I would like to know how I can search with pacman only in the package names, without searching descriptions?
    For example, searching for the rar package (pacman -Ss rar) gives me tons of results with hundreds of packages, where "library" occurs in the description.
    I have already read the pacman manual page, but I couldn't find anything suitable.
    Greets, Horst

    perl -e '$search = "rar";$output=`pacman -Ss $search`;while($output=~/^(\S.*?\Q$search\E.*?\n(?:\s.*\n)*)/mgi){print $1}'
    This does the normal "pacman -Ss whatever" search, but then it checks that the search term is in the package name. Just replace "rar" in "$search = "rar" with whatever you want to search for.
    I tried to make it work with grep using -P, but I still don't know how to make it case-insensitive then ("-i" doesn't seem to work with perl regexes). Here it is anyway though:
    pacman -Ss rar | grep -P "^\S.*?rar(?:.*|\n)*?(?=\n\S)"
    Aside from being case-sensitive, you also have to replace both instances of "rar" with your search term.
    Here's a script version that you can run from the command line:
    #!/usr/bin/perl
    use strict;
    use warnings;
    my $search = "@ARGV";
    my $output = '';
    open(my $pipe,'-|',"pacman -Ss $search") or die "Unable to create pipe to pacman: $!\n";
    while (defined(my $line=<$pipe>)){$output.=$line;}
    close $pipe;
    while($output=~/^(\S.*?\Q$search\E.*?\n(?:\s.*\n)*)/mgi){print $1};
    Save it as "search_pkgnames", make it executable, then invoke it with your search term: search_pkgnames rar
    Hope this helps.

  • How to package and deploy Acrobat Standard without a Serial Number?

    Hello,
    In our environment we package applications without Serial Numbers depending on what it is.  We do this so we can actively manage applications and we don't need to buy a licence for each and every user.  If you never run the app, you don't need a licence, if you leave the firm we know what licenced apps you have and so can redeploy to someone who needs it.
    How can we deploy Acrobat Standard to some of our users without a S/N attached?  I've deployed Acrobat Pro using the trial software, when the user fires up Pro they have to enter a Serial Number before they can move on.  Is there such a feature for Standard?
    We really don't want to have to do a manual install for 60+ machines it would be a massive waste of time.
    Any thoughts on the best way to proceed here?
    Thanks
    Mark

    Those numbers should be on the internet. Apologies if my answers are confusing. I'll try again:
    You can't deploy without a serial number.
    You need a volume license.
    Use the Wizard to customize the installer.
    The Wizard allows you to preserialize the installer.
    Updates don't need to be serialized. Just chain the latest update with the base install as described in the Admin Guide. Alternatively, you can do it later.
    As far as adding seats, I don't know the answer. The Admin Guide links to licensing FAQs, but you can also try the Licensing Web Site, support, or your sale's person. You could also try creating another thread with the "add seat" question in the title.
    hth,
    Ben

  • How to code/compile/package MDB without Sun IDE?

    Hi
    I am using Eclipse 3.01 so not able to levelage the native support from Sun's IDE.
    Can anyone please point me to some useful materials? I want to know:
    1. How to compile? What are the jars required and where to find them.
    2. How to package and deploy to SunOne 7.
    3. How to run simple JMS producer and consumer as a standalone java client.
    Thanks,
    Jirong

    Does SunOne 7 comes with a deployment tool like the
    one with J2EESDK 1.4? Can I use that one to package
    the web and ejb applications?Yes, Sun One has a deploytool for this purpose. Take a look into the J2EE tutorial available on the site, and you will find deplytool used everywhere.
    $ Carol.

  • How to run JavaFX jar with JRE7 on MAC OS Lion 10.7.5 ?

    I have created a bundled JavaFX application jar with ANT on Windows 8 O.S. , 64 bit machine. I have JavaFx2.0 and Java 1.7.0_09 installed on my Window O.S.
    <target name="CreatingJars" depends="Compiling" description="generate the distribution" >
                        <taskdef resource="com/sun/javafx/tools/ant/antlib.xml"     
                                 uri="javafx:com.sun.javafx.tools.ant" classpath="${env.JAVA_HOME}/lib/ant-javafx.jar"/>
                              <mkdir dir="${WorkingFolder}/temp/libs"/>
                             <copy todir="${WorkingFolder}/temp/libs">
                             <fileset file="${WorkingFolder}/CustomJars/ProjectLib.jar">
                             </fileset>
                             </copy>
                             <copy todir="${WorkingFolder}/temp/libs">
                             <fileset dir="${WorkingFolder}/libs">
                             </fileset>
                        </copy>
                        <fx:jar destfile="${WorkingFolder}/${app.name}.jar">
                        <fx:application mainClass="${main.class}"/>
                        <fx:resources>
                             <fx:fileset dir="${WorkingFolder}/temp/"/>
                        </fx:resources>
                        <fileset dir="${WorkingFolder}/build"/>
                        <fileset dir="${WorkingFolder}/resources"/>
                        </fx:jar>
         </target> When I am trying to run that JavaFX application jar on MAC OS Lion 10.7.5 using
    java -jar application.jar
    It always shows a dialog "The application require a newer version of Java Run-time" with download link. Even I have downloaded and successfully installed it on my MAC machine but it still shows me the same window.
    java -version is always point to 1.6.
    Then I searched for Java Preferences to point the current JRE 1.7 but I could find Java Preferences at Applications -> Utilities -> Java -> Java Preferences.
    I would like to know -- how to run JavaFX jar with JRE7 on MAC OS Lion 10.7.5? Is their any other way to run the JavaFX application JAR with JRE7?

    Do I need to download the whole JAVA 1.7 on MAC to run the JAR? No
    Can not I run the Jar file with Jre7?Yes, you can.
    This may be because I have downloaded the JRE 1.7Yep, that's correct, the java_home command only works for jdk's - sorry for the confusion.
    For jre7+ versions, only a single Oracle jre version is allowed to be installed on the machine at a time - making a tool like java_home redundant for jre checking.
    Weirdly, jre7u10 does not supplant the Apple Java on the command line path by default. If you just type java -v, then the Apple java version will displayed if you have an old Java 6 from Apple and a new Oracle jre7+.
    The Oracle jre is always located under (also somewhat strangely):
    /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/javaTo test jar launching, I used the willow JavaFX browser pre-release jar available here:
    http://code.google.com/p/willow-browser/downloads/detail?name=Willow-0.1-prerelease.jar
    Then I launched the jar from the command line using:
    /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -jar Willow-0.1-prerelease.jar The JavaFX jar ran fine on jre7 with the above machine.
    The test machine was running Mac OS X 8 with Oracle jre7u10 installed as well as the Apple Java 6 runtime, but no Oracle jdk7+ installed.

  • Creating and compiling JavaFX objects at runtime

    I am interested in the possibility of creating JavaFX objects at runtime where their definition is not know until runtime and am unsure about how to do this. Clearly I will need the JavaFX Script compiler at runtime which I guess is not that much of a problem but I am looking to accomplish this within the browser context so it would mean that I need the compiler to be available as part of the standard JRE much in the same way as the JavaFX Script interpreter is to obviate the need for it to be downloaded.
    Does anyone know if the JavaFX Script compiler is available as a built-in component within the latest versions of the JRE? If not, is it planned to include it in the future (JSE 7 perhaps)?
    Thanks,
    The Gibbon

    Perhaps the thread [Dynamic Scripting, how?|http://forums.sun.com/thread.jspa?threadID=5379268] can help.

  • How can I create a Forms9i Runtime for client distribution

    Currently we have an application developed in Forms 5.0.6.8.0 our Database has been upgraded to 9i DB. The application is working fine with this combination but we want to upgrade Forms in order to get Oracle Support. We just get the Developer Suite 9i package and we're trying to test our application with this software.
    How can I create the client runtime for Forms 9i?
    My application will work with Win 95 and 98?
    Thanks.

    Oracle9i Forms is web-only. Forms 6i is the last release of Forms to have client/server and character mode.
    You can test Forms from the Builder by installing iDS. To deploy Forms using iAS follow the documentation. It's all there in the deployment guide.
    iAS and Forms doco can be found on OTN.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • How do I install a JRE?, how do I install a JRE?

    I'm trying to use my MBA, Mountain Lion, and Safari to access Defense Travel System (DTS). It is a CAC-enabled website. Here is the message I receive when trying to login:
    Loading Applet ...
    You have reached this page because you want to use DTS. Before DTS can be used, JRE 1.5+ must be installed and applet support must be configured in the web browsers.
    If you would like to get more details, select DBsign installation link
    DBsign installation
    How do I install a JRE? Apprarently my system has a version of java. I found this using "terminal" and the commande "java -version"
    java version "1.6.0_33"
    Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
    Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
    Anyone solved this problem?
    Thanks in advance,
    dj

    If "Java -version" indicates you have Java installed (which it does), then it's properly installed.
    Go to Safari's preferences, Security tab, and ensure that "Enable Java" is checked.

  • Just bought photoshop elements 12 and premiere elements 12 bundle for my MacBook Air, how do I download without a CD drive?

    I bought the bundle with adobe photoshop elements 12 and adobe premiere elements 12 for my new MacBook Air. I was told that not having a CD drive wouldn't be a problem for the download, but I can't figure out how to download them without being able to use the CDs from the package. I was told I can download Photoshop and enter the product key but its not working for me since I have no idea what I should be doing, please help!
    Thanks!

    Hi,
    Please download Photoshop & Premiere Elements Trial from this LINK:
    http://www.adobe.com/downloads.html
    after installation activate products with the respective serial number.
    Thanks

  • Can I legally remove packages from a JRE bundled with my Application

    Can anyone help me get clarification on whether or not I can remove packages from a JRE that I am bundling with my Java Desktop Application. The full JRE is 90+ megs, my application does not require all of that. It was my understanding that I could modify the JRE as long I left the copyright notifications in place and did not try to represent the JRE as something I created. The license agreement is vague, at best. I was looking for direction or legal statement that allows me to trim out unnecessary packages from a JRE that is bundled with my application.
    Thank you in advance for any input.

    The license agreement is vague, at best.http://java.sun.com/j2se/1.5.0/jre/README
    Java(TM) 2 Platform Standard Edition
    Runtime Environment
    Version 5.0
    =======================================================================
    Redistribution of the J2SE Runtime Environment
    =======================================================================
    NOTE - The license for this software does not allow the
    redistribution of beta and other pre-release versions.
    Subject to the terms and conditions of the Software License
    Agreement and the obligations, restrictions, and exceptions set
    forth below, You may reproduce and distribute the Software (and
    also portions of Software identified below as Redistributable),
    provided that:
    (a) you distribute the Software complete and unmodified and only
    bundled as part of Your applets and applications ("Programs"),

  • How to kill a workflow in runtime?

    Friends plz let me know how to kill a workflow in runtime?.

    Hi,
    You can use SAP_WAPI_SET_WORKITEM_STATUS to logically delete the work Items. Just pass the status as "CANCELLED" to this function module.
    Logically delete means workitem will be deleted from the table but with archiving.
    Report RSWWWIDE (txn SWWL) deletes work items from tables without archiving, I mean work item will be deleted permanently.Therefore, this report should not be used in a production system.
    Thanks
    Yogesh Sharma

Maybe you are looking for

  • "This computer is already associated with an Apple ID" - meaning of "Transfer"?

    Hello everybody I have two iTunes accounts and Match connected to one of them. When I got my new Macbook I connected it to the iTunes account that does not have Match connected. Nevertheless, I am able to log in to the account with Match connected, b

  • Itunes library on an IPad

    This may be a silly question but I've never uses my IPad2 for music but would like to start. I have an IMac that I use with my IPod Touch. Is there away to transfer the music from my IPod Touch Itunes Library from my computer to my IPad2? I have play

  • Getting error while creating SOA-MDS connection

    Hi, I am getting below error when trying to create SOA-MDS connection using jdeveloper in OIM 11g. Performing action Refresh[ from oracle.jdevimpl.rescat2.dockable.RepositoriesView ] Uncaught exception java.lang.NoSuchMethodError: oracle.adf.rc.core.

  • HT201077 How do I get my shared photo streams from my ipad to my iPhone?

    How do I get my photo streams from my ipad to sync to my iphone?

  • Saving a document in Pages

    I purchased and installed Pages, Keynote and Numbers on my iPad yesterday. I created a document in Pages and have spent the past 30 frustrating minutes trying to figure out how to save without success. Can anyone help me please???? Pierre