Native bundle & Netbeans7.3

I was able to create a native bundle for deployment using NB7.2 following the instructions in the FX deployment tutorial. For various reasons, I upgraded to NB7.3 with some hassle relating to library files.
But now the Native packing doesn't work. There is a checkbox in the Deployment dialog but checking it doesn't cause the bundle to be created. I have tried doing a clean & build to no avail.
I have looked at the build.xml file but it bears little resemblance to the 7.2 version.
Does anyone know how to create a native bundle using NB7.3?
Thanks for your help
Alex

Hi,
Can't speak for Leopard users but Battery 3 works fine with Logic Pro 8 and Tiger. It was already on my system when I upgraded and Logic 8 found it immediately. I've had no Battery-related crashes with either 7 or 8. In fact I've had more problems with Ultrabeat.

Similar Messages

  • Build native bundle for mac (.app/.dmg) has no file right to access files....

    Hi,
    today I build my first native bundle (.dmg) for Mac.
    Everything works very well except that my running app has no access to local files. The files are shown but the app does not have the right to read.
    The windows version has no problem to access local files.
    Any ideas what i have to add for Mac.
    Thanks
    Michael
    Buildscript:
    <project name="JavaFXSample" default="build and deploy" basedir="."
             xmlns:fx="javafx:com.sun.javafx.tools.ant">
        <target name="build and deploy">
            <property name="applet.width" value="500"/>
            <property name="applet.height" value="500"/>
            <property name="application.title" value="ZP_Prototype2"/>
            <property name="application.vendor" value="TestVendor"/>
            <property name="build.classes.dir" value="/Users/mb_ta_michi/NetBeansProjects/ZP_Prototype2/build/classes/"/>
            <property name="basedir" value="/Users/mb_ta_michi/NetBeansProjects/ZP_Prototype2/"/>
            <property name="dist.dir" value="/Users/mb_ta_michi/NetBeansProjects/ZP_Prototype2_BUNDLE/"/>
            <property name="javafx.lib.ant-javafx.jar" value="/Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/lib/ant-javafx.jar"/>
            <taskdef resource="com/sun/javafx/tools/ant/antlib.xml"     
                    uri="javafx:com.sun.javafx.tools.ant"
                    classpath="${javafx.lib.ant-javafx.jar}"/>
            <fx:application id="zpAppID"
                    name="ZP_Prototype2"
                    mainClass="zp_prototype2.ZP_Prototype2"
                    />
            <fx:resources id="appRes">
                <fx:fileset dir="./../misc/libs2add" includes="*.jar"/>
                <fx:fileset dir="${dist.dir}" includes="*.jar"/>
            </fx:resources>
            <fx:jar destfile="${dist.dir}/ZP_Prototype2.jar">
                    <fx:application refid="zpAppID"/>
                    <fx:resources refid="appRes"/>
                    <manifest>
                        <attribute name="Implementation-Vendor"
                                value="${application.vendor}"/>
                        <attribute name="Implementation-Title"
                                value="${application.title}"/>
                        <attribute name="Implementation-Version" value="1.0"/>
                    </manifest>
                    <fileset dir="${build.classes.dir}"/>
            </fx:jar>
            <fx:deploy width="${applet.width}" height="${applet.height}"
                    outdir="${dist.dir}"
                    embedJNLP="false"
                    outfile="${application.title}"
                    nativeBundles="all"
                    >
                <fx:application refId="zpAppID"/>
                <fx:resources refid="appRes"/>           
                <fx:info title="${application.title}"
                        vendor="${application.vendor}"/>
                 <!-- Custom JVM setup for application -->
                <fx:platform>
                    <fx:jvmarg value="-Xmx512m"/>
                    <fx:jvmarg value="-Xms512m"/>
                    <property name="my.property" value="something"/>
                </fx:platform>
            </fx:deploy>
        </target>
    </project>

    Exact same problem here, and no workaround.
    Windows Phone 8.1; WindowsPhone.app 3.1.1, iTunes 11.2.2, OSX 10.8.5
    The following solution doesn't work on my Mac:
    http://forums.wpcentral.com/mac-os-x/223845-window​s-phone-app-not-syncing-itunes.html

  • SOUNDTOYS Native bundle anyone had experience with these plug ins?

    I am considering purchasing the native bundle and wondered what experiences anyone has had with them good and bad - level of support - good company like UAD? or Poor like Native Instruments?

    Awesome...
    "If only one can remain"... Soundtoys

  • Failed to launch JavaFX application with native bundle exe

    Hi,
    I have created a JavaFX application, and created its native bundle using Ant. When I am trying to launch application using Jar from bundle created with double click, it successfully launching my application. But when I am trying double click on MyApplication.exe (say), it throwing JavaFX Launcher Error *"Exception while running Application"*.
    I have searched about this issue, I found about jre, so I did replace jre from *"C:\Program Files\Java\jdk1.7.0_10\jre"* to my application bundle folder -- *\bundles\MyApplication\runtime\jre*, then I tried to launch exe with double click, it successfully launched.
    I have compared both jre, there are many missing jar, exe, dll and some properties files I found.
    I have these environment settings -
    JAVA_HOME -- C:\Program Files\Java\jdk1.7.0_10
    JREFX_HOME -- C:\Program Files\Oracle\JavaFX 2.2 Runtime
    Path contains an entry of C:\Program Files\Java\jdk1.7.0_10\bin JAVA_HOME and JREFX_HOME are used as in my build.xml to take ant-javafx.jar and jfxrt.jar --
    ${env.JAVA_HOME}/lib/ant-javafx.jar
    ${env.JREFX_HOME}/lib/jfxrt.jarMy steps to create bundle are -
    <target name="CreatingExe" depends="SignedJar">
                 <fx:deploy width="800" height="600" nativeBundles="all" outdir="${OutputPath}" outfile="${app.name}">
                          <fx:info title="${app.title}"/>
                          <fx:application name="${app.title}" mainClass="${main.class}"/>
                          <fx:resources>
                               <fx:fileset dir="${OutputPath}" includes="*.jar"/>
                         <fx:fileset dir="${WorkingFolder}/temp"/>
                   </fx:resources>
               </fx:deploy>
    </target>What more needed in build.xml so that application launch correctly with exe ?
    Thanks

    You code is not dealing with the DACL access to Winsta0\Default.  Only the LocalSystem account will have full access and the interactively logged on user which is why regedit is not displaying properly.  You'll need to grant access to your user. 
    You also need to deal with UAC since that code is going to give you a non-elevated token via LogonUser().  You need to get the full token via a call to GetTokenInformation() + TokenLinkedToken.
    thanks
    Frank K [MSFT]
    Follow us on Twitter, www.twitter.com/WindowsSDK.

  • Custom native bundle icon

    I am using the following tutorial as a guide:
    http://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm#
    I have added the <fx:deploy> task to my build.xml as instructed, and am getting a working native (Mac) bundle, but am unable to change the icon for it.
    I have added the verbose attribute and the output contains the following:
    Using default package resource [icon] (add package/macosx/Game_Jumpman.icns to the class path to customize)
    According to the tutorial, I should not have to change my classpath as I am using NetBeans 7.2.
    I have added the requested file to my root project folder, to my src folder, to my build folder but it just doesn't get picked up.
    The output still says the default is used.
    Does anyone have any idea what I'm doing wrong here ?

    Igor, I have copied ant-javafx.jar over from 7u10, but still nothing.
    Ant says the following:
    Launching <fx:jar> task from /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/lib/ant-javafx.jar
    Launching <fx:deploy> task from /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/lib/ant-javafx.jarThis is the file I replaced with the version from 7u10.
    My build.xml contains the following:
    <target name="-post-jfx-deploy">
        <fx:deploy verbose="true" width="${javafx.run.width}" height="${javafx.run.height}" nativeBundles="all" outdir="${basedir}/${dist.dir}" outfile="${application.title}">
            <fx:application name="${application.title}" mainClass="${javafx.main.class}"/>
            <fx:resources>
                <fx:fileset dir="${basedir}/${dist.dir}" includes="*.jar"/>
            </fx:resources>
            <fx:info title="${application.title}" vendor="${application.vendor}" >
                <fx:icon href="package/macosx/Game_Jumpman.icns"/>
            </fx:info>
        </fx:deploy>         
    </target>The href attribute is relative to build.xml I assume ?
    If so, the file is at the correct location.
    But still no custom icon.

  • Waves Platinum Native Bundle and 8.0.2?

    Anybody using waves platinum native in 8.0.2? I'm curious on how its running. Any problems?

    I'm using some Rennaissance plugins (Ren Comp, Ren Vox, Ren EQ, Doubler, Supertap) without problems.

  • The "ext" folder is missing in bundle jre

    i develop one javafx application.
    And i deploy that application with the help of javafx-maven-pluging provided by com.zenjava.
    First i create jar(mvn jfx:jar) and then i create native bundle that is .msi(mvn jfx:native) on windows.
    In native bundle the private copy of jre is present but it does not contain "ext" folder which is come up with regular jre7.
    the jar present in "ext" folder required for the cryptography purpose and need it in my application
    so how i can include the "ext" in jre at the time of creating bundle?

    Thanks
    I could not imagine this.  I blame my low IQ for this.  Thanks for a very quick reply
    Svanur

  • Native library & JAR

    Is it possible to add native library into JAR?
    Archive: JarTest.jar
    META-INF/
    META-INF/MANIFEST.MF
    test/
    test/Hello.class
    test/Native.class
    libtestnative.so
    MANIFEST.MF
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.5
    Created-By: 1.5.0_06-b05 (Sun Microsystems Inc.)
    Main-Class: test.Native
    Bundle-NativeCode: /libtestnative.so;  osname=Linux,       processor=i386This command works perfectly:
    java -Djava.library.path=./lib_native -cp bin test.Native
    but if I use JAR:
    $ java -cp JarTest.jar test.Native
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no testnative in java.library.path
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
            at java.lang.Runtime.loadLibrary0(Runtime.java:822)
            at java.lang.System.loadLibrary(System.java:992)
            at test.Native.<clinit>(Native.java:13)
    I have also tryied:
    java -Djava.library.path=./jar/JarTest.jar -cp ./jar/JarTest.jar test.Native
    java -Djava.library.path=./ -cp ./jar/JarTest.jar test.Native
    With the same result.
    Any help would be realy appreciated.

    One way would be to create a helper class that:
    1- Verifies that the native library is already located in a specific folder (could be the one specified by the user.home system property).
    If so then go to step -3-.
    2- Extracts the native library from the jar (with the Class.getResourceAsStream() method for instance) to the specific folder.
    3- Loads the native library with the System.load() method which requires a complete path name.
    Regards

  • Besides native waves what can i get?

    I was interested in native waves either the gold, diamond, or platinum editions. Alas no luck finding one at the usual places...So onto the bigger question at hand..what are some sound shaping plug in's you recommend for logic express? I have a few of my own that I have brought over from my other recording software..either reasonably priced or shareware stuff.

    Well I wanted native bundles but in my experiences in the past, after i buy something i find out there is something better abound. I'm looking for more of rich sound, that crisp ending sound of studio quality. I have experimented with waves in the past on a windows platform ages ago. The overall goal is to get as close to proper compression thru a plug in as I can. Its hard for me to explain in ways, I guess i'm looking to go from sounding limited thru my home hardware defiencies to a more life in the vocals and a better way to blend everything together.

  • JavaFX Native Packaging

    The JavaFX team has implemented a major new feature for JavaFX 2.2.
    Native Packaging uses JavaFX packaging tools to create native bundles for executables, installers and zip files of JavaFX applications (including Java + JavaFX runtimes).
    Igor has written a blog on how to use the new feature:
    https://blogs.oracle.com/talkingjavadeployment/entry/native_packaging_for_javafx
    Give the new feature a spin and log any issues: http://javafx-jira.kenai.com
    Not sure of the best way to communicate feedback and suggestions, but you can do that via either this thread or the openjfx mailing list:
    http://mail.openjdk.java.net/mailman/listinfo/openjfx-dev

    There is information on embedding JavaFX in NetBeans as a NetBeans module in this blog post:
    https://blogs.oracle.com/geertjan/entry/javafx_browser_as_a_ready
    The official name for Native Packaging is now Self Contained Application.
    I do not know how to set a NetBeans application up as a self contained application as I have little experience with NetBeans.
    My guess, from your post, is that NetBeans has it's own packaging system for constructing distribution bundles of applications built on the NetBeans platform. Perhaps in this case, rather than packaging primarily with the javafx tools, the packaging should performed by a version of the existing NetBeans packaging system which has been enhanced to support JavaFX modules built on the NetBeans platform. This seems to be the approach you are taking already, but I cannot provide pointers on what changes you would need to make to the NetBeans packager.
    Perhaps posts on NetBeans developer forums may yield better answers.

  • How to update stylesheets at runtime?

    Strangely the style does'nt change if i manually change the css class rules in one of the css document and switch between the 2 files.
      @Override
      public void initialize(URL url, ResourceBundle rb) {
        final String cssUrl1 = getClass().getResource("/tracker/view/fxmlgui1.css").toExternalForm();
        final String cssUrl2 = getClass().getResource("/tracker/view/fxmlgui2.css").toExternalForm();
        rootPane.getStylesheets().add(cssUrl1);
        rootPane.addEventHandler(KeyEvent.KEY_PRESSED, new EventHandler<KeyEvent>() {
          @Override
          public void handle(KeyEvent keyEvent) {
            if (keyEvent.getCode().equals(KeyCode.DIGIT1)) {
              rootPane.getStylesheets().clear();
              rootPane.getStylesheets().add(cssUrl1);
              msgLabel.setText("Css1 selected.");
            } else if (keyEvent.getCode().equals(KeyCode.DIGIT2)) {
              rootPane.getStylesheets().clear();
              rootPane.getStylesheets().add(cssUrl2);
              msgLabel.setText("Css2 selected.");
    The event occurs and the style change from css1 and css2 as they was at the time of stage rendering, but if then i change one of the rules in the sylesheets after the stage is layed out, the style does'nt change anymore.
    So wich is the general way to change the style of nodes changing the css document at runtime?
    It's as the initial stylesheets in the css documents are someway cached and does'nt update at any switch.

    The controller's initialize() method is invoked during the call to FXMLLoader.load(...). Your application almost certainly has a structure like this:
    Parent root = FXMLLoader.load(...);
    Scene scene = new Scene(root);
    stage.setScene(scene);
    So at the point the initialize(...) method is called the root pane hasn't actually been attached to a Scene; thus the call to getScene() returns null.
    However, when your handler methods are called, the root will have been attached to a Scene and the Scene placed in a Stage, so at that point it is safe to call getScene() and getWindow() on the result.
    I would actually manipulate the stylesheets on the Scene, rather than the Stage, so the call to getWindow() is probably not needed.
    So I would try:
      @Override
      public void initialize(URL url, ResourceBundle rb) {
        final String cssUrl1 = getClass().getResource("/tracker/view/fxmlgui1.css").toExternalForm();
        final String cssUrl2 = getClass().getResource("/tracker/view/fxmlgui2.css").toExternalForm();
        rootPane.addEventHandler(KeyEvent.KEY_PRESSED, new EventHandler<KeyEvent>() {
          @Override
          public void handle(KeyEvent keyEvent) {
            if (keyEvent.getCode().equals(KeyCode.DIGIT1)) {
              rootPane.getScene().getStylesheets().clear();
              rootPane.getScene().getStylesheets().add(cssUrl1);
              msgLabel.setText("Css1 selected.");
            } else if (keyEvent.getCode().equals(KeyCode.DIGIT2)) {
              rootPane.getScene().getStylesheets().clear();
              rootPane.getScene().getStylesheets().add(cssUrl2);
              msgLabel.setText("Css2 selected.");
    The only issue now is that the initial stylesheet isn't set on the Scene. If you really want to do this from the controller, you need to listen for changes to the sceneProperty on the root pane. This gets a little ugly, but you can do something like this in your initialize method:
    rootPane.sceneProperty().addListener(new ChangeListener<Scene>() {
         @Override
         public void changed(ObservableVale<? extends Scene> observable, Scene oldScene, Scene newScene) {
              if (newScene != null) {
                   newScene.getStylesheets().add(cssUrl1);
                   rootPane.sceneProperty().removeListener(this);
    If you wanted to hold a reference to the Scene in the controller, you could use this same ChangeListener to do so, but there's no real benefit to doing that and the code is less readable, imo.
    Do you think i can use jdk8 as a stable jvm or it's yet for testing only as it's an early release?
    It depends to a certain extent what you're doing, but generally I would recommend using it for testing only. I was just suggesting trying your code against it to see if the issues were caused by a bug that had been fixed, which would rule out the possibility that there was something still wrong in your code that we weren't seeing. I can see two use cases for using JavaFX 8 right now other than just for testing. One (which I'm actually doing in one project right now) is if you have a release date suitably far ahead (ours is summer 2014) that you can reasonably expect JDK8 to be in a stable public release at that time. (You'd also probably want either to be able to control the JRE version for your client machines or be planning on a "native bundle" release.) The other is if you had a non-critical application that was going to be deployed in-house for a very limited number of users, and you wanted to take advantage of some new JDK/JavaFX 8 features.

  • Unable to calculate a request signature: Algorithm HmacSHA1 not available

    I develop one javaFx application.
    which upload the files on amazon s3 server.
    The application work fine when the executable jar of the application is made.
    But when the native packaging of the application is done. The .msi file is created and after installing this .msi the application started correctly but at the time of uploading file on s3 the "Unable to calculate a request signature: Algorithm HmacSHA1 not available" error occur in log file and files are not uploaded.
    The creation of the jar and native application is done by the com.zenjava maven plugin.

    Got the solution.After creating native bundle the bundle have its own private copy of jre this private jre does not contain "ext" folder which is present in regular jre.
    This causes the problem of cryptography which is the reason for above problem.

  • Code Signing for MacOS 10.8+

    Anyone have a sample build setup for signing the .app file before creating the DMG? How to make this part of the build process?
    I have an Apple developer id, but wondering how to integrate signing in the JavaFX build process (native bundles)

    I have something like this which gives me a signed app bundle (.app). I then manually create a DMG using DMG Canvas.
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <project name="testMacOSXBuild"
                  default="default"
               basedir="."
               xmlns:fx="javafx:com.sun.javafx.tools.ant">
        <target name="default">
         <fx:jar destfile="${dist.dir}/${out.jar}">
         </fx:jar>
         <fx:deploy width="${applet.width}"
                      height="${applet.height}"    
                      verbose="true">
         </fx:deploy>
             <!-- code signing. -->
             <exec executable="/bin/bash">
                  <arg value="scripts/mac/code_sign.sh"/>
             </exec>
        </target>
    </project>

  • Does Java 7 run on only x64 bit MAC OS X?

    I want to deliver self-contained application packages on Windows, Linux and Mac so I have build my JavaFX application on all three platforms. I will allow my users to download these native bundles from my application's download web page but I have a confusion regarding MAC users because For Linux and Windows, JDK/JRE 7 comes in two download options
    1. for x86
    2. for x64.
    but for MAC we have only option for x64.
    Java Download Page shows Java/Jre is not available for 32 bit MAC OSX to run JavaFX application. Does it mean JavaFX will run on only x64 bit MAC OSX?
    If it is so, then my issue has been solved, as I have already bundled my Javafx application as a "Self-Contained Application Packages" after run custom build.xml script on x64 MAC OSX but if it is not so, the user can also run JavaFX application on x86 MAC OSX but in that case my "Self-Contained Application Packages" for mac would not run on x86 MAC OSX.
    So I am planning to give an additional zip file that either contains app (without copy of jre) or a plain self executable jar. But I'm bit worried regrading - what exactly I need to bundle into that zip file with self executable JAR so requirements must be met to be able to run my JavaFX application in following conditions?
    conditions are : -
    1. If user has x86 MAC OSX.
    2. If java is already installed on user's system. And he would not like to download the "Self-Contained Application Packages" from our download page.
    3. Big download size.
    So what among the following two options suits if user have x86 MAC OSX or if he has already installed java on his system or he would not like to download "Self-Contained Application Packages" from download page due to big download size?
    Option are -
    1. APP ( without inbuilt copy of JRE)
    2. Or only a self executable jar.
    I am not sure that Mac OS X 10.7.3 (Lion) or later version can run on x86 system.So in case of #1 option the user may have trouble if he is using x86 system. Then he may need to change info plist file and replace the JavaAplicationStub.
    In case of #2 option I think is better as the user need to download the JRE only and the JAR should run using "java -jar" command.
    Please suggest which option is better in case if JavaFX application can run on x86 bit MAC OS X?

    JavaFX will run on only x64 bit MAC OSX?Yes. There is no 32 bit JavaFX 2.x+ build for OS X.

  • JavaFx in Java7 update 6 with NetBeans 7.1.1

    NetBeans 7.1.1 is not able to locate the JavaFx libraries.
    Any workaround ?
    Edited by: neilghoshidc on Jul 15, 2012 12:59 AM

    Thanks, NB 7.2 RC supported the latest jdk 7 update 6 which includes JavaFX 2.2 SDK
    Actually I wanted the native bundle feature , so have to use this bleeding edge versions, I hope the production version comes soon and my program can run on it.

Maybe you are looking for

  • Adobe Reader 9 Displaying Issue

    Hi All, Right now I am using Adobe Reader 9 to display on the web page. While displaying the dynamic contents, its displaying Vertically. Note : 1 . The page I have designed with Adobe Acrobat  9 Pro. 2 . The page is portrait format. 3 . When I click

  • I am having problems downloading itunes to Windows 8.

    It says iTunes installer completed. Then it says "the installer encountered errors before iTunes could be configured. Errors occured during installation. Your system has not been modified. Please run the installer again, ot click finish to exit". I h

  • Update and Case Statement

    Dear All, I got stuck with the following statement. The error "ORA-00904: "DOC"."CRED_RPT_RCPT_IND": invalid identifier" seems make no sense. I checked the column and it looks right to me. Can someone help? Thanks! SQL> update zz_supplier_documentati

  • Resultant window size in 9i forms/reports?

    I am calling a report from Form; I need to setup the report resultant browser window size and appearing coordinates (like we setup stacked canvas height/width & XY co-ordinates). How and where can I customize these coordinates? Please advise. Thank y

  • JTabbedPane modifying a JTable

    Can a JTabbedPane change the internal layout of a component ?. I have a pane with some labels and a JTable inside with a layout. It looks fine when setting it as the content pane of a frame, but when I add it to a JtabbedPane in a new tab the JTable