Native Package Problem

I'm trying to produce a native .dmg using Air 2.0.2, however I encounter the following issue:
adt -package -target native app.dmg app.air
unexpected failure: Copy failed
java.io.IOException: Copy failed
at com.adobe.air.nai.DMGPackager.assembleInternalFiles(DMGPackager.java:52)
at com.adobe.air.nai.NativePackager.createPackage(NativePackager.java:76)
at com.adobe.air.ADTEntrypoint.parseArgsAndGo(ADTEntrypoint.java:132)
at com.adobe.air.ADT.parseArgsAndGo(ADT.java:182)
at com.adobe.air.ADTEntrypoint.run(ADTEntrypoint.java:68)
at com.adobe.air.ADT.main(ADT.java:128)
I get the same when I try to use adt from the .swf/.xml
Any help appreciated.

Solved,
running eclipse with a different JRE (C:\Program Files\Java\jdk1.7.0_06\bin\javaw.exe) has solved the problem.
To do that I simply edited my eclipse.ini and added -vm C:\Program Files\Java\jdk1.7.0_06\bin\javaw.exe, here my
eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jdk1.7.0_06\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx384m

Similar Messages

  • JavaFx 2.2.0 Native Package deploy problem on Windows

    Hi,
    I'm trying to compile a JavaFX native package on Windows 7 64 bit.
    I've installed:
    JDK 7U6 Beta
    JavaFx sdk 2.2.0 Beta
    Wix toolset 3.5
    Inno Setup 5.5.1
    When I run the tool installers *.exe and *.msi are created and they work as
    installalation procedeure correctly completed.
    The problem is when I run the application as I get a error message window
    with title
    C:\Program Files (x86)\NativePackage\runtime\jre7\bin\server\jvm.dll
    and message
    jvm.dll is not found
    but I looked in C:\Program Files (x86)\NativePackage\runtime\jre7\bin\server and jvm.dll
    exists.
    Any idea?
    Thank you
    Andrea

    Solved,
    running eclipse with a different JRE (C:\Program Files\Java\jdk1.7.0_06\bin\javaw.exe) has solved the problem.
    To do that I simply edited my eclipse.ini and added -vm C:\Program Files\Java\jdk1.7.0_06\bin\javaw.exe, here my
    eclipse.ini:
    -startup
    plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
    -product
    org.eclipse.epp.package.java.product
    --launcher.defaultAction
    openFile
    --launcher.XXMaxPermSize
    256M
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    --launcher.defaultAction
    openFile
    -vm
    C:\Program Files\Java\jdk1.7.0_06\bin\javaw.exe
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Dhelp.lucene.tokenizer=standard
    -Xms40m
    -Xmx384m

  • Native package for Mac and relative path

    Hi,
    I done a small application with Javafx that start an Embedded Jetty. All works fine in Windows also with native package. Instead in Mac it works only before native packaging. Seems that the problem is how relative path are considered.
    The tree of the content is this:
    myfile.jar
    webapp (folder)
    libs (folder)
    Look at this code:
                    String webAppDir = "webapp";
                    File f = new File(webAppDir);
                    log.debug("Path webapp folder: " + f.getAbsolutePath());
                    if (!f.exists())
                        throw new Exception("The folder " + f.getAbsolutePath() + " doesn't exist");
                    if (!f.canRead())
                WebAppContext context = new WebAppContext();
                context.setContextPath("/myapp");
                context.setResourceBase("webapp");
                context.setDescriptor("WEB-INF" + File.separator + "web.xml");
                context.setSessionHandler(new SessionHandler(sessionManager));
                        throw new Exception("La cartella " + f.getAbsolutePath() + " non è leggibile");
    The problem is that before the packaging in Mac the relative path is that where the main .jar is located an so the code works because the webapp folder is found. Instead after the bundle the path became /Users/MyUser/webapp and of course the folder is not found because it is bundled inside the file.app near the libs folder.
    Someone can explain me if this behaviour is due to JavaFx packager and how I can solve the problem in a elegant way?
    Thanks very much

    Some good soul has any idea?
    Thanks

  • Native packaging windows failing

    All
    Just tried the latest JVM download from oracle B22 and tried to native package I am getting the following error when ANT tasks are attempting to package.
    Using base JDK at: C:\dev\applications\jdk1.7.0_06\jre
    Creating app bundle: CelerTrader in C:\dev\code\celertech-framework-trunk\celertech\celertech-orderrouting-jfx-client\build\dist\bundles\bundles
    Result application bundle: C:\dev\code\celertech-framework-trunk\celertech\celertech-orderrouting-jfx-client\build\dist\bundles\bundles
    [fx:deploy] java.io.IOException: Exec failed with code 2 command [[iscc.exe, /oC:\dev\code\celertech-framework-trunk\celertech\celertech-orderrouting-jfx-client\build\dist\bundles\bundles, C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\build4729914614168260728.fxbundler\images\win-app.image\CelerTrader.iss] in C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\build4729914614168260728.fxbundler\images\win-app.image
    [fx:deploy]     at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:131)
    [fx:deploy]     at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:107)
    [fx:deploy]     at com.sun.javafx.tools.packager.bundlers.IOUtils.exec(IOUtils.java:101)
    [fx:deploy]     at com.sun.javafx.tools.packager.bundlers.WinExeBundler.buildEXE(WinExeBundler.java:324)
    [fx:deploy]     at com.sun.javafx.tools.packager.bundlers.WinExeBundler.bundle(WinExeBundler.java:144)
    [fx:deploy]     at com.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(PackagerLib.java:452)
    [fx:deploy]     at com.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(PackagerLib.java:435)
    [fx:deploy]     at com.sun.javafx.tools.ant.DeployFXTask.execute(DeployFXTask.java:215)
    [fx:deploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [fx:deploy]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [fx:deploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [fx:deploy]     at java.lang.reflect.Method.invoke(Method.java:601)
    [fx:deploy]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [fx:deploy]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [fx:deploy]     at org.apache.tools.ant.Target.execute(Target.java:390)
    [fx:deploy]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
    [fx:deploy]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [fx:deploy]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [fx:deploy]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [fx:deploy]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    [fx:deploy]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    [fx:deploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [fx:deploy]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [fx:deploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [fx:deploy]     at java.lang.reflect.Method.invoke(Method.java:601)
    [fx:deploy]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [fx:deploy]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [fx:deploy]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    [fx:deploy]     at net.sf.antcontrib.logic.IfTask.execute(Unknown Source)
    [fx:deploy]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [fx:deploy]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [fx:deploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [fx:deploy]     at java.lang.reflect.Method.invoke(Method.java:601)
    [fx:deploy]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [fx:deploy]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
    [fx:deploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [fx:deploy]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [fx:deploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [fx:deploy]     at java.lang.reflect.Method.invoke(Method.java:601)
    [fx:deploy]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [fx:deploy]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [fx:deploy]     at org.apache.tools.ant.Target.execute(Target.java:390)
    [fx:deploy]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
    [fx:deploy]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [fx:deploy]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [fx:deploy]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [fx:deploy]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    [fx:deploy]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    [fx:deploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [fx:deploy]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [fx:deploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [fx:deploy]     at java.lang.reflect.Method.invoke(Method.java:601)
    [fx:deploy]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [fx:deploy]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [fx:deploy]     at org.apache.tools.ant.Target.execute(Target.java:390)
    [fx:deploy]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
    [fx:deploy]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [fx:deploy]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [fx:deploy]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [fx:deploy]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    [fx:deploy]     at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    [fx:deploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [fx:deploy]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [fx:deploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [fx:deploy]     at java.lang.reflect.Method.invoke(Method.java:601)
    [fx:deploy]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [fx:deploy]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [fx:deploy]     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    [fx:deploy]     at net.sf.antcontrib.logic.IfTask.execute(Unknown Source)
    [fx:deploy]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [fx:deploy]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [fx:deploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [fx:deploy]     at java.lang.reflect.Method.invoke(Method.java:601)
    [fx:deploy]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [fx:deploy]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
    [fx:deploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [fx:deploy]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [fx:deploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [fx:deploy]     at java.lang.reflect.Method.invoke(Method.java:601)
    [fx:deploy]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [fx:deploy]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [fx:deploy]     at org.apache.tools.ant.Target.execute(Target.java:390)
    [fx:deploy]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
    [fx:deploy]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [fx:deploy]     at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [fx:deploy]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [fx:deploy]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
    [fx:deploy]     at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:302)
    [fx:deploy]     at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:221)
    [fx:deploy]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
    [fx:deploy]     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    [fx:deploy]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [fx:deploy]     at java.lang.reflect.Method.invoke(Method.java:601)
    [fx:deploy]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [fx:deploy]     at org.apache.tools.ant.Task.perform(Task.java:348)
    [fx:deploy]     at org.apache.tools.ant.Target.execute(Target.java:390)
    [fx:deploy]     at org.apache.tools.ant.Target.performTasks(Target.java:411)
    [fx:deploy]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
    [fx:deploy]     at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
    [fx:deploy]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [fx:deploy]     at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
    [fx:deploy]     at org.apache.tools.ant.Main.runBuild(Main.java:809)
    [fx:deploy]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [fx:deploy]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    [fx:deploy]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
    BUILD SUCCESSFUL
    Total time: 41 seconds
    C:\dev\code\celertech-framework-trunk\build_tools>
    <code>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Pass "/Debug" option to the .exe launcher to see console output. This typically helps to see root cause of the failure (pretty much the same as exe file you are referring too, where this option was on by default). How are you loading XML file and where it is kept in the package?
    For another problem. Set JAVAFX_ANT_DEBUG=true before you build and this will keep the working directory.
    Then try to launch same iscc.exe command from command line? Did it work? what will be exit code?
    iscc sometimes report weird exit codes but otherwise "exit code 2" generally means some file is missing.
    Also, add exec task to your build.xml that simply runs "iscc /?". Does it work?
    If you are confident it is a bug please file JIRA issue.

  • TS3074 im can u please help me out this issue im trying to install iTunes  in windows 7 some error showing " windows installer package problem DLL require to complete this installation" this message showing.

    im can u please help me out this issue im trying to install iTunes  in windows 7 some error showing " windows installer package problem DLL require to complete this installation" this message showing.

    Try the following user tip:
    " ... A DLL required for this installation to complete could not be run ..." error messages when installing iTunes for Windows

  • How to resolve AVCHD package problem in mountain lion

    how to resolve AVCHD package problem in mountain lion

    Thanks, David. I know this workaround. And one more with creating right-click Service. That's why I've used "uncomfortable" instead of "impossible". In my opinion, Apple should leave ability to choose OS's behavior, and I hoped somebody knew where to find it .

  • Packaging Linux AIR app as a native package (.deb)?

    Ok, so I've been tasked with packaging an AIR app in a system package. We got a redistrubution license for AIR so I think we are good in that respect but I run into an unfortunate predicament when trying to do a silent install from a deb:
    Both AIR runtime and AIR applicaiton generate a native package (.deb in this case) during install. So even though I can run silent install from my own deb, it fails to install as it cannot install a deb during installation of a deb. I am assuming that even if I could somehow grab the generated deb file, it would be against the license agreement to do so.
    So, any thoughts as to how to get this accomplished? Is there an alternative distribution of an app that comes as a native ".deb" file? Or is there a command line option that disables a native package management install? ( I can seem to find no information on any command line options for the bin installer)
    Thanks.
    -M

    Ok, so I've been tasked with packaging an AIR app in a system package. We got a redistrubution license for AIR so I think we are good in that respect but I run into an unfortunate predicament when trying to do a silent install from a deb:
    Both AIR runtime and AIR applicaiton generate a native package (.deb in this case) during install. So even though I can run silent install from my own deb, it fails to install as it cannot install a deb during installation of a deb. I am assuming that even if I could somehow grab the generated deb file, it would be against the license agreement to do so.
    So, any thoughts as to how to get this accomplished? Is there an alternative distribution of an app that comes as a native ".deb" file? Or is there a command line option that disables a native package management install? ( I can seem to find no information on any command line options for the bin installer)
    Thanks.
    -M

  • Single instance app with native packaging

    Is there any way to allow only one instance of the app to run with javafx2 native packaging? Like an attribute in the build.xml or something?
    I'm using the .exe for windows and the .dmg for mac.
    Appreciate your help.

    There is no simple deployment build switch that I know of for achieving a single instance app.
    A couple of ideas (none of which I have tried).
    Perhaps you could use the SingleInstanceService:
    http://www.oracle.com/technetwork/articles/java/fxbest-1583679.html "Ensuring Only One Instance of the Application Is Started"
    http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/examples.html#SingleInstanceService "SingleInstanceService"
    It is a jnlp api based service though and I'm not sure if such a service would be available to a packaged app (maybe it would require including the jre/lib/javaws.jar file with your app or something like that).
    You could write out a lock file when the app starts.
    On unix (i.e. mac/linux) the lock could include the process pid for your app. On startup, check if there is a process with the lock pid currently running, if so, don't startup and perhaps send an interrupt signal to the existing app notifying it that the user tried to start a new instance.
    On windows you could read and write the lock value value from the registry.
    To get rid of the OS specific stuff surrounding this, perhaps this kind of lock logic could be implemented using the Java Preferences API:
    http://docs.oracle.com/javase/7/docs/technotes/guides/preferences/index.html
    Intellij Idea is open source and and seems to have this kind of functionality, so you could check how they do it.

  • Native Packages

    Hi,
    I am quite new to the Oracle IDAM Suite. While going through the ODSE Installation Document, I found a section which talked about the Native Installation packages for Solaris.
    Are there any Pros-Cons tagged with the native packages? Also does that mean we cannot install .zip on Solaris?

    Hi,
    On Solaris, you can choose between native packages and zip distribution.
    It is really up to you, depending on the way to want to manage your system.
    The following link compares the 2 installation modes : http://docs.oracle.com/cd/E20295_01/html/821-1218/giwku.html#scrolltoc
    HTH
    -Sylvain

  • Installation from ZIP or native package??

    Hi guys,
    i have installed DSEE 6.3 from ZIP package for Solaris 9 Sparc and all the components are working fine...
    But i came to know that the "directoryserver" command is not present under /usr/bin...
    The unix guys feel that maybe the Native package has some more platform specific commands...is it so?
    I have done all the administration using dsadm, dpadm,dsconf and dpconf commands and everything is setup fine...
    Now should i remove my installtion and redo with a native package - if any commands are missed out in ZIP package...
    Thanks...

    Hi.
    /usr/bin/directoryserver was a 5.x command. It does not exist anymore in 6.x.
    The previous post describes additional features of the ZIP delivery. Here are the additional features of the native delivery:
    - commands to manage rc scripts on Solaris 9 (dsadm/dpadm autostart) or SMF on Solaris 10 (dsadm/dpadm enable-service)
    - ability to deploy DSCC in Sun Java Web Console
    Regards,
    Carole.

  • Apparent SDL package problem

    I installed kdenlive and mlt from community and have a problem with the configuration. A dev on the kdenlive IRC channel said I should ask the mlt devs who in turn said it must be a SDL packaging problem. So I'm here now with this bit:
    #kdenlive
    [19:38] <dust__> need some help getting this program started
    [19:43] <dust__> says it can't find melt or SDL profiles and module
    [19:43] <dust__> but when I run it as root everythings OK
    [19:46] <xzhayon> distro?
    [19:47] <dust__> Arch. I installed both mlt and kdenlive from community repos
    [19:49] <xzhayon> run melt -query consumers 2>&1 | grep sdl
    [19:49] <xzhayon> and show me the results
    [19:49] <dust__> - sdl_image
    [19:51] <dust__> when I run that as su I get this
    [19:51] <dust__> - sdl - sdl_audio - sdl_preview - sdl_still
    [19:53] <xzhayon> as su?
    [19:53] <xzhayon> but that's the output of query consumers
    [19:56] <dust__> just that Im getting different output as su than user
    [19:57] <xzhayon> what's the output of melt -query consumers 2>&1 | grep sdl not run as su?
    [19:57] <dust__> - sdl_image
    [19:58] <xzhayon> that's definitely wrong
    [19:58] <xzhayon> try reinstalling mlt
    [19:58] <dust__> did that at least twice
    [19:59] <dust__> 0.5.10
    [19:59] <dust__> kdenlive 0.7.8
    [20:01] <xzhayon> may i see the pkgbuild for this package?
    [20:03] <dust__> http://repos.archlinux.org/wsvn/community/mlt/repos/community-x86_64/PKGBUILD
    [20:12] <xzhayon> im' sorry but i have no clue on what's happening
    [20:15] <dust__> please tell me what the output above means briefly
    [20:17] <xzhayon> well, that shows the producers and consumers available to melt
    [20:17] <xzhayon> but that's not the expected output
    [20:17] <xzhayon> what you see with "su"
    [20:18] <xzhayon> i what should appear when run as normal user
    [20:18] <xzhayon> while what you see when run as normal user
    [20:18] <xzhayon> is what you should see when querying producers, not consumers
    [20:18] <xzhayon> try asking on [email protected]
    mlt-devel replied as follows:
    Perhaps ask the SDL packager; I doubt the MLT packager will be of much
    help. This appears to be some permission issue with SDL and its access
    to things. Maybe you need to add your account to some groups. Does
    ffplay at the command line work? It too uses SDL. If that does not
    work either, then perhaps 'strace melt -query consumers'. strace is a
    very verbose output, but it might show what it is failing to access.
    any thoughts?

    allan@mugen ~
    > melt -query consumers 2>&1 | grep sdl
    - sdl
    - sdl_audio
    - sdl_preview
    - sdl_still
    Maybe try creating a new user and see if it works for them.

  • 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.

  • Air 2.6 Ubuntu Native Installer Problem

    Hi, i have a problem creating and native deb installer with Adobe 2.6 with Ubuntu 10.10, when i run this code on terminal:
    /home/victor/Flex_SDK/Flex_SDK_4.5.0/bin/adt -package -storetype pkcs12 -keystore /home/victor/Certificado.p12 -storepass secret -target native /home/victor/Desktop/TestNativeApp.deb TestNativeApp-app.xml TestNativeApp.swf
    This code creates an deb native installer without any errors or warnings, but when i try to execute this file, the Ubuntu Software Center says "Internal Error the file /home/victor/Desktop/TestNativeApp.deb could not be openned", but when i try to run with dpkg -i /home/victor/Desktop/TestNativeApp.deb the file installs well.
    What am i doing wrong?.
    Thanks for yours responses.

    I've got the same issue.  Ubuntu Software Center won't open it.
    When I run it with dpkg like you do, I get a version number error, though:
    parsing file '/var/lib/dpkg/tmp.ci/control' near line 2 package 'mypackage':
    error in Version string 'v1': version number does not start with digit
    Errors were encountered while processing:
    I assume this version is pulled from the air XML file, so I'm going to change that and make it only numbers and see if that fixes it.

  • How install my jar+native package for JRE plugin

    I cannot figure out how to deploy a plugin consisting of a Java package that calls native code. The calling order is:
    Applet -> installed classes in lib/ext/my.jar -> DLL in C:\\WINDOWS\SYSTEM32
    I have gotten my plugin to work on Windows IE using the Microsoft JVM, and on Netscape using LiveConnect, and on Mac using MRJ. It also works with stand-alone Java applications. But I cannot get it to work with Applets when I am using the SUN JRE plugin for Java!
    I can call the classes in the JAR file but they can't loadLibrary( the DLL ).
    I put my JAR file in "C:\Program Files\JavaSoft\JRE\1.3.1_04\lib\ext".
    I put my DLL in "C:\WINDOWS\system32" which is in the "java.library.path".
    I was hoping that by installing the JAR file in the lib/ext folder that it would elevate its privelege and allow it to call loadLibrary().
    I don't want to have to sign each Applet. My plugin is installed using a digital certificate. Once installed it should give regular Applets the ability to call my native code.
    I am hoping to simply use a signed Java installer for the plugin that will copy my JAR file and DLL to the right places.
    If you use IE or Netscape without the SUN plugin, you can try my plugins here:
    http://www.softsynth.com/jsyn/plugins/
    http://www.javasonics.com/plugins/
    I'm tired of telling people to disable the SUN JRE plugin and enable the Microsoft JVM in order to use my plugins.....
    Any ideas?
    Thanks,
    Phil Burk

    I found a solution to my own problem. The problem was that classes in a JAR file installed in the "java.ext.dirs" path could not call System.loadLibrary() when called from an Applet.
    The solution was to explictly make use of the priveledged status of the extension classes as follows:
    Boolean result = (Boolean)
    AccessController.doPrivileged(new PrivilegedAction()
    public Object run()
    System.loadLibrary("mylib");
    return null;

  • Native calls problem

    Hi everybody,
    Following is my problem --
    i am working in linux environment with CLDC 1.0.4 and MIDP 2.0, downloaded from the sun site.
    earlier i was using only cldc(kvm). For adding native code, i used to rebuild kvm adding .c files containing native functions in the given makefiles. And that was working fine. but i need to use midp classes, which i am not able to use by giving
    KVM_HOME> kvm -classpath ../../api/classes:. testClass
    i am not able to use midp classes from testClass, even if i specify it in classpath...
    So, in order to use midp classes, i decided to rebuilt midp.. in midp makefiles i added .java files and corresponding .c files in SRC.. it is built without errors, but the entry of the new native function is not done in ROMjavaUnix.c or in nativeFunctionTable.c So, when i call the native function from the midlet, it obviously gives native function not found error..
    I will be higly thankful to u, if u can help me in the same. There might be a point which i am missing.
    Thanks and Regards,
    Retesh

    Hi,
    I think following shd help u...
    Following changes have been done in the MIDP RI 2.0 -
    The classes containing the native function declarations are added to the MIDP_HOME/src/share/classes/
    The corresponding C source files containing the native function definitions are added to MIDP_HOME/src/share/native/
    In MIDP_HOME/build/share/makefiles/Defs.gmk the name of the C source file is added to variable MIDP_DEF_SRC
    In MIDP_HOME/build/share/makefiles/Defs.gmk while defining variable MIDP_DEF_SOURCE, the name of the package (in our case urPackage) containing the class which contains the native function declaration is added as
    MIDP_DEF_SOURCE:=$(shell find \
    $(MIDP_DIR)/src/share/classes/java \
    $(MIDP_DIR)/src/share/classes/javax \
    $(MIDP_DIR)/src/share/classes/urpackage \
    $(MIDP_DIR)/src/share/classes/com/sun/mmedia \
    $(MIDP_DIR)/src/share/classes/com/sun/midp \
    -name '*.java' | egrep -v 'midp/ssl|$(MIDP_EXCLUDE_CLASSES)')
    In Defs.gmk (i don't remember the exact path)
    when creating classes.zip the urPackage is given as
         $(ZIP) -qr ../$@ java javax com urPackage);
    Regards,
    Retesh

Maybe you are looking for

  • SRM SUS PO response:HTTP response contains status code 401

    Hi, While sending the PO response from SUS to mm am getting the error as below in SUS : SAP:Stack>HTTP response contains status code 401 with the description Unauthorized Authorization error while sending by HTTP (error code: 401, error text: Unautho

  • Unauthenticated user  when using web service

    Hi, I have built a session bean accessing some KM functionality. This sessionbean has a couple of business methods exposed as web services. The business methods are called fine, but when I try to access the KM Resource Context I get the following exc

  • How to get information from my laptop to my ipad

    I`m new on I-pad How to get information from my laptop to my ipad Saludos Josè Montero

  • Recorded Programs Not Showing Up on Separate STB

    Hello all, I have my 6416 in the bedroom and a 7100 in my living room. There are a number of programs, whether its scheduled or one off recordings, that do not show up in the DVR list on the 7100 in the living room. Is this a bug or something that ca

  • Cannot receive mail on iPod touch

    Hi folks, I recently had to change my password in mobileme. I did a sync and I was able to get my on my powerbook and iPod touch. Now today, I can still receive mail on my PB, but not on my IPT. I get a message about the wrong password. I can't seem