Can JavaFX apps be decompiled?

I'm a former Silverlight developer and I just discovered JavaFX 2.0. I'd like to build some applications that would be delivered as In Browser apps, and I'm wondering about how safe my source code is within a JavaFX app.
In the Silverlight world, apps could be decompiled, so the best recommendation to protect your source code was to use an obfuscation utility. Would that be true here in the JavaFX world too?

rtumulur wrote:
Another approach is "AOT".
http://en.wikipedia.org/wiki/AOT_compiler
If your target platform is fixed, this approach has many merits. I use it myself.
/rkI wonder how that is going to help when JavaFX is in play. You know, which is generally to be executed through a browser plugin?

Similar Messages

  • Can't run JavaFX app as a jar file from command line

    I'm trying to build a JavaFX app from scratch (that is, by including the jar file from the JavaFX SDK rather than by using the special JavaFX project type from NetBeans). It runs fine in NetBeans. However, when I try to launch it as a jar file from the command line (using "java -jar dist\TestApp") I get the following. Has anybody seen this before, and if so how can I fix it?:
    *** Fallback to Prism SW pipeline
    Exception in thread "main" java.lang.RuntimeException: java.lang.UnsatisfiedLink
    Error: Can't load library: C:\dev\TestApp\dist\bin\mat.dll
    at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:
    289)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:68)
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherIm
    pl.java:145)
    at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:
    27)
    at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:97)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.UnsatisfiedLinkError: Can't load library: C:\dev\RedactionT
    oolPrototype\RedactionToolPrototype.Core\dist\bin\mat.dll
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.load0(Unknown Source)
    at java.lang.System.load(Unknown Source)
    at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoad
    er.java:155)
    at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoad
    er.java:85)
    at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:
    30)
    at com.sun.glass.ui.Application$1.run(Application.java:28)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:26)
    at com.sun.glass.ui.win.WinApplication.<clinit>(WinApplication.java:33)
    at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatform
    Factory.java:20)
    at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatform
    Factory.java:17)
    at com.sun.glass.ui.Application.Run(Application.java:51)
    at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:
    279)
    ... 5 more

    Unsatisfied link means that Java is trying to access a native library, but it cannot be found. As to why this error is being thrown, here is my guess:
    If you open up one of the sample jars with a zip viewer, you will see that the Manifest file has the following entries:
    >
    Manifest-Version: 1.0
    JavaFX-Version: 2.0
    implementation-vendor: Oracle
    implementation-title: BrickBreaker
    implementation-version: 1.0
    JavaFX-Application-Class: brickbreaker.Main
    Created-By: JavaFX Packager
    Main-Class: com/javafx/main/Main
    >
    In other words, a JavaFX project works a bit differently than a normal Java project. com/javafx/main/Main is used as the Main class and your "Main" class is called later.
    If you are trying to build this from a normal Java project, then com/javafx/main/Main will not be created and it will call your Main class right away. Thus, whatever setup is needed to run JavaFX will not occur.

  • How to submit a JavaFX app to MAC App Store?

    I have packaged my JavaFX application as a self-contained application using simple JavaFX Deployment steps on MAC. According to link "Packaging a Java App for Distribution on MAC ", only the last step is remaining which describes "submitting an app to mac store" . But unfortunately links that lead us to help page are redirecting to the same page and that information is not clearly define steps required to submit a JavaFX app to mac store.  Why I need XCode to submit my Java Application to App store? Do I need go through signing steps again, as my app is already sign with valid certificate issued by COMODO?  Can I get any help link which guide me to submit my JavaFX app to MAC app store?
    Steps so far I have done-
    Create a JAR File
    Bundle the JAR File into an App Package
    Bundle the JRE with the App Package
    Sign the App
    Now what next to submit a JavaFX app to MAC App Store?

    Oracle are working on producing a sample for Mac App Store deployment.
      RT-24728 Update Ensemble project to demo how to produce bundle for Mac App Store
    The sample is scheduled for the next JavaFX feature release (2.2.60).
    You can try contacting the engineer working on the sample to request details.
    The engineer's contact information is at:
      https://javafx-jira.kenai.com/secure/ViewProfile.jspa?name=ginz

  • No DnD into in browser JavaFX apps?

    Using some clever code I found in a blog I was able to get drag and drop to work from the desktop to the javaFX app if it was complied and run as a stand alone application. If I compiled it to be run in a browser though it would reject the drag and drop data. Is there currently no support for drag and drop w/in a JavaFX browser application?
    Thanks,
    Sam

    I doubt it. Unless I am mistaken (I can be!), it will be the browser that gets the drag'n'drop action, not the applet.
    If I am wrong, there is another potential culprit: I think the applet must be signed to accept such action.
    BTW, it would be interesting to give the URL where you found this information, as it will probably interest lot of people (I suppose though it can be done with standard Java D'n'D code).

  • Can javafx 2.0 be used standalone without any webframework?

    Gentlemen
    Can javafx 2.0 be used as a standalone web application development
    framework
    which communicates with clients on internet directly without
    any webframework inbetween.
    can such javafx applications be deployed on cloud/internet etc..
    like other web-frameworks applications canbe...
    i am new to web development and java. so pardon my ignorance.
    but i really want to use javafx. i like it for desktop.
    Thanking_You
    RIGHT_THEN
    Edited by: 914610 on Feb 15, 2012 1:30 AM
    Edited by: 914610 on Feb 15, 2012 1:40 AM

    sorry to bother u again gimbal2
    i just tried what u said i just used the javafx 2.0 click button example
    in netbeans. copied the dist folder to the c:\dev\jetty\webapps folder
    then started jetty.sh .this is on my desktop comp
    and then on my laptop i typed
    http://mydesktopip:8080/dist/JavaFXApplication10.html
    hit enter and it worked through WLAN .
    i could click the button in my laptop while the server is on desktop.
    now my question is as u said that the app will run on client side. then where
    did it downloaded the .jar file "JavaFXApplication10.jar";. i checked the usual
    internet explorer folders like temporary internet folder and content.ie5 folders
    to see if it had downloaded the .jar file there from which it was displaying me the
    button. but i could not locate it.
    where does the .jar file loads from. is it in memory somewhere, on the disk or was it running
    from original location on my desktop. what is going on behind the scenes?
    my desktop
    win7 32 bit
    java 7u3
    my laptop
    win7 64 bit
    java 7u3
    it is interesting thou that on 64 bit both versions are required 32 bit and 64 bit
    just in case when browser is 32 bit.
    Thanking_You
    RIGHT_THEN

  • It's so annoying!! I have created a new Apple ID but after I click verify it just goes back to the previous page!!! It''s really frustrating I have tried for more than 4H, and the problem is not about the apple ID. I can download apps with the apple ID, w

    It's so annoying!! I have created a new Apple ID but after I click verify it just goes back to the previous page!!! It''s really frustrating I have tried for more than 4H, and the problem is not about the apple ID. I can download apps with the apple ID, which means IMessage is the problem! I restarted my iPad, I logged in and out of the apple ID in the store, AND YET IT STILL WON'T WORK, PLEASE HELP!

    Hi Vmanfromusa!
    It sounds like you are having an issue with activating your iMessage app on your iPad. An article outlining some troubleshooting steps for this issue can be found here:
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/ts4268
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Help i have updated my ipod touch to 4.3.3 and itunes to 10.3 and now it wont open on my pc  i can access apps but no music as it cant sync help! itunes wont open at all or reconise the ipod

    help i have updated my ipod touch to 4.3.3 and itunes to 10.3 and now it wont open on my pc  i can access apps but no music as it cant sync help! itunes wont open at all or reconise the ipod

    Try to remove all Apple related software and then reinstall iTunes Removing iTunes, QuickTime, and other software components for Windows Vista

  • HT3702 Today I bought app call starsports app and now I can open app and email to starsports they say not for Canada I ask my refund but they ask me to go with iTunes support team...please can you refund my money back in my account

    Today I bought app call starsports app and now I can open app and email to starsports they say not for Canada I ask my refund but they ask me to go with iTunes support team...please can you refund my money back in my account

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
    Purchases are considered final, but you can try the 'report a problem' link to contact iTunes Support and see if they will refund or credit you : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Today I bought app call starsports app and now I can open app and email to starsports they say not for Canada I ask my refund but they ask me to go with iTunes support team...please can you refund my money back in my account

    Today I bought app call starsports app and now I can open app and email to starsports they say not for Canada I ask my refund but they ask me to go with iTunes support team...please can you refund my money back in my account..

    Welcome to the user to User Technical Support Forum provided by Apple.
    For your issue.. Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • HT5625 my apple id has been disabled and i do not know how do i can download app from app store again

    my apple id has been disabled and i do not know how do i can download app from app store again

    If changing your password does not resolve, then contact itunes support

  • Cant update apps. asks for password for another account i had on a dell notebook. either i forgot the pass word or its not taking it. i can download apps,music with present mac note book but not apps. how can i update apps on my mac and iphone 4?

    cant update apps on my mac or iphone4. asks for password for another account i had on a dell notebook. either i forgot the pass word or its not taking it  . i can download apps and music.  how can i update apps on my mac and iphone 4?

    I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
    Before you restore or reset, I would try that first.

  • Everytime i click on the view in itunes button/link on the itunes website so that i can download apps, nothing happens. I accendentally  clicked on the button other than open itunes and now i cant fix it

    everytime i click on the view in itunes button/link on the itunes website so that i can download apps, nothing happens. I accendentally  clicked on the button other than open itunes and now i cant fix it

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>iTunes and App Stores and sifnout and sign back in
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.

  • I log in Apple store select an app insert my pw but i have to' re-verify VISA data and afte that i receive the. Error "your data Are not correct"but from my pc and iTunes i can but apps!!!

    Read the title. I can download app from my pc and itunes
    but not from iPhone

    Once you've purchased an App, it's yours for life.  You can however, hide it.  To do so, on your iPad, open this link and follow the directions:
    http://www.trickyways.com/2011/10/how-to-hide-unhide-apps-from-app-store-purchas es-on-ipad/

  • Can't update or install from App Store although I can purchase apps

    I can purchase apps in App Store but I can't update them or actually install them through the store, I just get a little spinning whirylgig next to the go back or forward page icons.
    I have run disk utility and I restarted.
    I am on OS X 10.7.5
    Any suggestions??

    Make sure when you update apps you are signed in using the same Apple ID used for the original downloads.
    Beyond that ...
    Disable anti virus softwrare if installed
    Check your firewall settings in System Preferences > Security & Privacy > Firewall > Firewall Options
    Make sure Gatekeeper is enabled
    Open System Preferences > Security & Privacy then select the General tab.
    Make sure either Mac App Store or Mac App Store and identified developers is selected. If that area is grayed out, click the padlock icon to proceed.
    OS X: About Gatekeeper

  • Can CC apps be downloaded to, and run from, a hard drive other than the OS drive?

    Can CC apps be downloaded to, and run from, a hard drive other than the OS drive?

    Yes. You can define alternate locations in teh application manager. just be aware that some components will always end up on your system root drive no matter what.
    Mylenium

Maybe you are looking for