Compiling into exe, is it possible???

Hello people. I am new to java-tech and I was wondering if there is any way that i can compile into an exe instead of a .class file and launch my programs through the OS and not VM.

Hello people. I am new to java-tech and I was
wondering if there is any way that i can compile into
an exe instead of a .class file
Sure, check out the GNU Compiler Collection or the commercial compilers.
If your app has a GUI... Tough luck.
and launch my programs
through the OS and not VM.There are ways to make launching through VM very transparent to the user, mind you.
On unix systems the ultimate transparency can be achieved with binfmt. web start, executable jars, custom launchers, etc come close enough elsewhere.

Similar Messages

  • Command line compiler (rhcl.exe) adds on rogue full pathways into [Merge Files] of .hhp

    I'm using RH 9 and generating chm outputs on my Win 7 64-bit computer.
    I have a core chm help file and several sub chm helps that get merged into it.
    I have a batch file that regularly compiles our help files locally and then copies them into a common local directory. It then copies them up to a mapped network drive where they are picked up by the nightly build of our installer.
    The problem I have, is that the command line compiler (rhcl.exe) is adding on a full pathway for all the sub helps listed in the [Merge Files] section of the core help's .hhp file, causing these problems:
    1) First of all, the pathways are wrong. The pathway it puts on is from the location of my .xpj file of my core help project. The output directory for the compiler is actually sending all the helps to a different local directory.
    2) These need to be relative, and should not have full pathways. The full pathways make it so that when I click on a subhelp TOC entry that subhelp's topic opens up in an entirely different window instead of merged into the core help's window. (See #13 on Peter's helpful site here about the problem with absolute paths: http://www.grainge.org/pages/authoring/rh9/using_rh9.htm)
    Here' what I want it to look like (the good):
    [MERGE FILES]
    pcdmisportable.chm
    pcdmistutor.chm
    pcdmisvision.chm
    pcdmislaser.chm
    pcdmiscmm.chm
    pcdmisUJB.chm
    pcdbasic.chm
    toolkitmodulesvwmp.chm
    pcdmisdci.chm
    toolkitmodules.chm
    pcdmisnc.chm
    pcdmisip.chm
    toolkitmodulesblade.chm
    pcdmisregistry.chm
    pcdmisfixturing.chm
    Here's what it looked like after the command line compile (the bad and the ugly):
    [MERGE FILES]
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdmisportable.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdmistutor.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdmisvision.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdmislaser.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdmiscmm.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdmisUJB.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdbasic.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\toolkitmodulesvwmp.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdmisdci.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\toolkitmodules.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdmisnc.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdmisip.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\toolkitmodulesblade.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdmisregistry.chm
    d:\hg\pcdmisqa\pcdlrn\help\corehelp\pcdmisfixturing.chm
    I've done the following ....
    I've checked my .xpj file and they have relative paths only.
    I've deleted my .cpd file.
    I've removed chm references from my rhbag.apj.
    ... and the hhp file still gets modified with pathways to my core project
    directory tacked on:
    It's strange; because if I compile without the command line, by opening the project and running the generation inside of RH, I don't get the problem where it re-writes the [Merge Files] section with the pathnames.
    Any ideas on where are these rogue full pathways coming from and how I can fix it? Or is it just a bug with the command line version of the compiler that Adobe will need to fix?

    I don't use command line generation but to the best of my knowledge, this has not been fixed.
    Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Conversion of webapplication into .exe file

    Hai,
    How 2 convert a webapplication(nothing but execution not from main method) into .exe file.
    Is it possible to covert.I found that a executable jars are used to convert a java application into .exe but no where i found abt webapplication.
    If possible just reply to msg as it is very urgent.
    Bye
    Arasi

    I'm not sure you understand what you are asking.
    Web applications are activated through the web browser (for example IE) and are executed on both client machine (in the browser) and in the server machine (the web server for example tomcat).
    Exe are not executed within any browser and also the java part of the application is actually executed in the server so actually you want to execute only the js/html in the exe.
    in other words i think your request is illogical and very very wrong.

  • [SOLVED] Uvesafb compiled into the kernel.

    I'm having some trouble getting uvesafb to work...
    As far as I know, compiling it into the kernel is possible, but when I do I can't get it to work the following appears at boot time:
    uvesafb: failed to execute /sbin/v86d
    uvesafb: make sure that the v86d helper is installed and executable
    uvesafb: Getting VBE info block failed (eax=0x4f00, err=-2)
    uvesafb: vbe_init() failed with -22
    uvesafb: probe of uvesafb.0 failed with error -22
    v86d is correctly installed and in place so I don't know why it's finding it. As I have /boot in a separate partition I tried even copying the executable to /, /boot and /boot/grub and changing where to find it in the kernel command line, none of it worked.
    I was able to get it to work compiling it as a module and specifying it in the MODULES array in the kernel (I'm not using initramfs so I can't specify it in the mods array in mkinitcpio.conf), but it started way to late.
    Any suggestion?
    Thank you very much.
    Last edited by MickST (2010-06-03 20:19:34)

    I'm thinking it can not find v86d that early in the boot process, for the simple reason that your root filesystem is not mounted yet.
    Perhaps a way to solve that would be to include the neccessary files to run v86d in the initramfs, but you are not using initramfs. And I do not know of another easy way to include the files that quick in the boot process.
    But I am curious about something, why does uvesafb start "way too late" for you? You want to be able to read your kernel messages roll by in the full resolution of your screen? Want to get a fancy bootscreen using a splash of some sort? Another reason?
    Last edited by Ultraman (2010-06-03 16:25:16)

  • "Message from Webpage (error) There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."

    I created a site column at the root of my site and I have publishing turned on.  I selected the Hyperlink with formatting and constraints for publishing.
    I went to my subsite and added the column.  The request was to have "Open in new tab" for their hyperlinks.  I was able to get the column to be added and yesterday we added items without a problem. 
    The problem arose when, today, a user told me that he could not edit the hyperlink.  He has modify / delete permissions on this list.
    He would edit the item, in a custom list, and click on the address "click to add a new hyperlink" and then he would get the error below after succesfully putting in the Selected URL (http://www.xxxxxx.com), Open
    Link in New Window checkbox, the Display Text, and Tooltip:
    "Message from Webpage  There was an error in the browser while setting properties into the page HTML, possibly due to invalid URLs or other values. Please try again or use different property values."
    We are on IE 9.0.8.1112 x86, Windows 7 SP1 Enterprise Edition x64
    The farm is running SharePoint 2010 SP2 Enterprise Edition August 2013 CU Mark 2, 14.0.7106.5002
    and I saw in another post, below with someone who had a similar problem and the IISreset fixed it, as did this problem.  I wonder if this is resolved in the latest updated CU of SharePoint, the April 2014 CU?
    Summary from this link below: Comment out, below, in AssetPickers.js
    //callbackThis.VerifyAnchorElement(HtmlElement, Config);
    perform IISReset
    This is referenced in the item below:
    http://social.technet.microsoft.com/Forums/en-US/d51a3899-e8ea-475e-89e9-770db550c06e/message-from-webpage-error-there-was-an-error-in-the-browser-while-setting?forum=sharepointgeneralprevious
    TThThis is possibly the same information that I saw, possibly from the above link as reference.
    http://seanshares.com/post/69022029652/having-problems-with-sharepoint-publishing-links-after
    Again, if I update my SharePoint 2010 farm to April 2014 CU is this going to resolve the issue I have?
    I don't mind changing the JS file, however I'd like to know / see if there is anything official regarding this instead of my having to change files.
    Thank you!
    Matt

    We had the same issue after applying the SP2 & August CU. we open the case with MSFT and get the same resolution as you mentioned.
    I blog about this issue and having the office reference.
    Later MSFT release the Hotfix for this on December 10, 2013 which i am 100% positive should be part of future CUs.
    So if you apply the April CU then you will be fine.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Error importing *.SCA file into NWDS:  Import (into source SC) not possible

    All,
    When attempting to import an SCA into a new project in NWDS, an "Import (into source SC) not possible: SCA doesn't contain DC sources" occurs.  Any assistance to fix this issue appreciated.
    Thanks,
    Lee

    You can indeed import SCAs into local development configurations in NWDS (Eclipse). You have to have a pre-existing software component of the same name and vendor which may or may not be empty.
    In the Development Infrastructure perspective in NWDS 7.1, just right-click on the software component you want to overwrite with the import and choose "Import".
    To import SCAs into a CMS track in the NWDI, you have to go to http://<NWDI server>:5<nn instance no>00/devinf/ and import the SCAs from the transport inbox directory of the NWDI server. Don't forget to maintain the SLD if necessary.
    Cheers,
    Thorsten

  • CSS file compiled into SWF...

    Hello,
    I have a problem with all my css files in my Flex project. I
    need them to be compiled into SWF because its the only way to load
    and switch them at runtime.
    I use a ClassReference to a custom programmatic skin in the
    css file:
    skin: ClassReference(
    "com.someawsomepackage.util.manager.SkinManager" );
    MY PROBLEM is that I HAVE TO place the various css file in
    the ROOT folder of my project so that the compiler can find and
    compile this classreference along with the css.
    I would like to place the css files into a style folder...
    But I will get a compile error if I do so.
    Anyone has an idea ? thx !

    did you try compiling them manually from the command line using mxmlc?

  • Missing compile-abc.exe to test "-useLegacyAOT no" with Air SDK 4.0 beta?

    i get the following error:
    SDK is missing file C:\Program Files (x86)\FlashDevelop\Tools\air40beta\lib\aot/bin/compile-abc/compile-abc.exe
    here's my command line:
    adt -package -target ipa-ad-hoc  -useLegacyAOT no -storetype pkcs12 -keystore "cert\iphone_dev.p12" -storepass **** -provisioning-profile cert\MorphEm_development.mobileprovision "dist\MorphEm-ad-hoc.ipa" "application.xml" -extdir extensions\package -C bin-ios . -C "icons/ios" .

    We are aware of the issue and investigating it.As if now,-useLegacyAOT switch is not working on windows.For more information please see this:
    http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air4-0_flashplayer12-0_release notes.pdf
    Thanks,
    Sakshi
    Adobe AIR Team

  • Do unused libraries get compiled into the binary file?

    So if I import all classes inside flash.display.* and only use Sprite, will everything get compiled?
    Or only Sprite?

    In general, only the classes you actually use are compiled in -- the import statement just tells the compiler where to look to try to find code to compile.
    However...
    Since flash.display.* are all native classes, none of them are ever included in your .air file (desktop) or .apk file (Android) or .swf file (Flash Player), because the flash.display.* classes are built into the AIR/Flash Player runtime and their definitions exist there.
    However...
    If you build an AIR for iOS app, the runtime has to be compiled in as part of your app. Currently the entire runtime is compiled into your app, regardless of whether you use certain parts of it or not. (The same is true if you use a captive runtime for your desktop or Android AIR app.)
    Paul

  • Mxml components not compiled into swc?

    Hi, I am using Flash Builder(Flex 4) and i am having issues compiling mxml components into swc.
    My scenario:
    I created Flex Library project, added some mxml components and actionsript classes.
    I created separate Flex project and added swc file to project's library path.
    I can only import actionscript classes from my library.
    ActionScript classes are compiled and bundled in the swc as expected, but all mxml components are not compiled into the swc.
    Do you have the same issues compiling mxml components?
    I am using Flash Builder Version 4.0 (build 253292).

    My team occasionally sees issues with missing classes in a similar setup, although I can't confirm that it has been limited to MXML (and no one has been able to reliably reproduce).
    I suspect our problem is the "includeAllClasses" property in .flexLibProperties (Project->Properties->Flex Library Build Path->Classes->Include all classes from all source paths)--it seems to not reliably compile in newly added classes.  Our workaround right now is to instead click "Select classes to include in the library" and toggle our source directory every time classes are added, at least until we script our own build tasks.  Looking through Jira I see this is a common issue: https://bugs.adobe.com/jira/browse/FB-23514 (and a few others).
    Hope this helps,

  • Integrating Java Compiler into a Text Editor

    Hello
    I have developed a Text Editor with Java. I would like to make it as a IDE. Could anybody tell me how to integrate a JAVA or C++ compiler
    into Text Editor.
    Please let me know
    Thanks
    Prashanth

    Use this http://weblogs.java.net/blog/malenkov/archive/2008/12/how_to_compile.html to add your own compiler.

  • Compile-abc.exe crash when package a nape physics game with -useLegacyAOT no

    I try package a nape physics game use with -useLegacyAOT no,the progress compile-abc.exe show a crash dialog window.
    my game is include nape physics swc(http://napephys.com/index.html),if remove from game to package that ok.
    I trying update AIR SDK Ver 4.0.0.1619 to 13.0.0.55,but it's have no resolved.
    the sample swf can download from http://cbmland.com/g/Bns.swf
    i'm english is poor,thanks!

    Hi,
    Crash is reproducible at our end as well and we are investigating it. Thanks for reporting the issue.
    -Nimisha

  • IOS improved packaging SDK is missing compile-abc.exe error

    I am trying to test out the new and improved iOS packaging on my Windows machine and I am having some trouble getting it to work. I am using AIR 4.0.1170 for Flex developers and as the announcement says, added "-useLegacyAOT no" to my packaging options in FB. I believe it is in the correct spot because moving it to other places in the packaging options gives me syntax errors and when I do "-useLegacyAOT yes", it packages just fine, but takes a really long time. I keep getting the following error:
    SDK is missing file C:\{my 4.0 sdk path}/lib/aot/bin/compile-abc/compile-abc.exe
    Sure enough, navigating to that path shows compile-abc does not exist. Any ideas of what I may be doing wrong?

    We are aware of the issue and investigating it.As if now,-useLegacyAOT switch is not working on windows.For more information please see this:
    http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air4-0_flashplayer12-0_release notes.pdf
    Thanks,
    Sakshi
    Adobe AIR Team

  • Compile-abc.exe is not a valid win32 application

    I'm trying to use
    -useLegacyAOT no
    in the adt command line and I get an error:
    compile-abc.exe is not a valid Win32 application

    I am experiencing the same problem, I am using:
    AIR SDK 15 release version (v. 15.0.0.249)
    Windows XP Home Edition Service Pack 2
    Since in AIR 15 the faster iOS compiler is the default I am not using the -useLegacyAOT argument.
    The full command line is:
    adt -package -target ipa-ad-hoc -connect 192.168.1.87 -storetype pkcs12 -keystore "xxxx.p12" -storepass xxxx -provisioning-profile xxxx.mobileprovision "dist\xxxx-ad-hoc.ipa" "application_ios.xml" -C bin . -C "icons/ios" . -extdir lib/
    Here's a screenshot of the error message:
    EDIT:
    I also submitted a bug report for it, in case anybody wants to vote for it, its number is 3821809:
    Bug#3821809 - compile-abc.exe is not a valid win32 application

  • Convert into .exe file

    Want to know whether JDeveloper 10.1.3 provided any tools to convert into .exe file? If yes, how? Thanks You.

    No it doesn't.
    Search google and you'll find this for example:
    http://www.excelsior-usa.com/articles/java-to-exe.html
    Note that JDeveloper does support the creation of Java Web Start packaging.

Maybe you are looking for