Creating executable file for class file

Hi,
Im trying to create an .exe file for my application. Is it possible?
I know that my program will become platform-dependent...

Thanks. I was hopping it wasnt so expensive... :)
Best regards.

Similar Messages

  • How to Create Executable file for a project for Crio Platform

    hi,
    i am using CRIO 9014  platform  for my application development.
    i am controlling (   Reset  &  then Run )  FPGA   from RT application .
    Through TCP/IP  communication the  Acquired data  (   from FPGA  then followed by some Computation Logic in RT )   is sending   to HOST computer .
    during the above process  
    First i am starting the RT Application    (  the TCP  network will be continuously in listen mode )    then
     i am  starting my HOST Application   in the project .
     here i want  to build my complete project as an  executable file 
    so that i no need to start  RT Application first and then HOST Application.
    Could you please send me One sample Project           with built in simple  ADC Acquisition  loop /  logic  in FPGA  ,  then  one sample logic  / while loop   in RT   to   acquire  this ADC data from FPGA and  send to HOST    via  TCP/IP network then   the  HOST   with GUI    for  Display in the HOST .
    This  complete project should be build in  .exe  file .
    Please  complete project  files  and .exe file    as a  zip file.
    Regards,
    Venkat

    Hi,
    I might be confused but what I understand from what you have mentioned is that you want to create a project having two VI's. One running on your FPGA target and another running on you host computer.You want to build a single executable file to complete the entire operation.
    Unfortunately you cannot have both VI's in same executable file. You can build one executable file and deploy on your FPGA target that will start running as soon as the target is booted. And you can create another executable file for running VI on your host computer. And instead of using TCP to transfer data, you could use "Interface FPGA" from FPGA module to communicate between your host computer and communicate.

  • How to add dll file in a Jar to create executable file

    Hi All!
    I have one Java file which use one Jar file & three dll file.
    I create jar file as described in java tutorial
    http://java.sun.com/docs/books/tutorial/deployment/jar/appman.html
    1) I created Manifiest.txt by writting :
    Class-Path: C:\Flasher\jflashtrial\JFlash.jar
    Main-Class: Flaher2
    2) I create jar file by:
    jar cfm MyJar.jar Manifest.txt *.class
    It create MyJar.jar successfully.
    After that I used Jar2Exe Wizard to create Myjar.exe
    It also create MyJar.exe file, but when I tried to open It , It did open & also didn't give any error message too.
    Before this I created one exe file by the same way except; that file does not using any dll or jar file so for that I create my jar file by simply without using Manifest.txt
    I wrote:
    jar cf MyJar.jar *.class
    After that I creat it's exe bu using Jar2Exe, It create its exe file & it's work well.
    So for my next try with one jar file & three dll file, what is wrong ?
    I saved my exe jar file & dll filea file in a same folder. But still have a problem .
    What I did wrong/skip in creating Jar file.
    Your any help regarding this topic would be appreciated
    Kirti

    Hello,
    Getting all of this to work right is a bit of a challenge. I haven't used jar2exe at all, but we have a number of native libraries that we support that have to use dll's. I would recommend adding a static initializer like
    public class flup {
    static {
    try {
    System.loadLibrary("flup"); // will look for flup.dll in the %PATH%
    } catch (Exception e) {
    e.printStackTrace();
    This should give you a little more information about what is failing. Chances are the dll's are not in the PATH. You may be able to get around this by using regsvr32 to register the Dll's but I have had mixed results with that solution.
    You also may be able to write a simple c++ program that uses the dll's (or maybe you already know of one) and use the "depends.exe" program from Microsoft's Platform SDK to examine the full dll dependency tree if you continue to have problems.
    Best of Luck,
    Andrew

  • Creating executable files

    Hi,
    i have a working java program and i would like to create an exe program (or installer if you would like to say) so that when I double click on it, it will install all the necessary files.
    afterwards, I will also want to create a file that when double-clicked, will invoke my java application.
    anyone how to do both of them ?
    i want to have them working on both WINDOWS and LINUX (with more emphasize on WINDOWS off course)
    if you know any links for them, I would also greatly appreciate
    thanks

    For doing so, create a JAR file with the main class
    information added inside the manifest fileYepp, that's the solution as long as the OP doesn't want to bundle and install a JRE with it, which I understood wa his/her intention.

  • How to create executable file in labview 6.0

    i have a labview VI file in 6.0 and now i need to create an executable file for that VI.

    The Application Builder is an add-on package to LabVIEW and is available from National Instruments. You can use the LabVIEW Application Builder to create stand-alone executable programs, so that you do not need a copy of the LabVIEW development environment to run them. The Application Builder ships with the LabVIEW Professional Development System, but it may be purchased separately if you own the LabVIEW Base Package or the LabVIEW Full Development System.
    This URL will help you determine if you have App Builder:
    http://www.ni.com/support/labview/toolkits/appbuild/
    This URL will step you through creating an executable:
    http://zone.ni.com/devzone/conceptd.nsf/webmain/4EF810EE05BEF63C86256BF30062EC31?opendocument
    Let me know if you need more help.

  • Created executable file problem

    Hi everyone
    I'm using NXT toolkit with my Labview 2010. Now I'm trying to built the executable file from my VI. My VI is pretty simple consists of 1 motor and 1 Knob as controller. I used the usb for the connection between pc and NXT brick. I attached the VI and the exe file below. 
    However, after successful built, the executable file seems like doesn't connect to the NXT motor. I mean even I move the Knob, there are nothing changes in the motor. 
    I found this link http://digital.ni.com/public.nsf/allkb/522DF60F5531EA02862574F60074525A . In my case, however, I'm using USB instead of bluetooth and actually, I can't find the NXTToolkit.BluetoothLibraryReferences.vi in my pc. Therefore, I don't know how solve this hard problem.
    Please help me to overcome this problem. 
    Thank you so much.
    Mina
    ---Let it works---
    Attachments:
    nxttest.vi ‏8 KB
    My Application.zip ‏568 KB

    Thank you so much for your comment
    That is the good sound for me while the NXT direct I/O is supported. I'm trying to use the motor unlimited in NXT Direct I/O. Howerver, I'm not familiar with using that. Therefore, my VI couldn't connect with the motor.
    I attached the VI below. Please help me consider it and indicate the problem.
    Please let me know if any clarification is needed of my issue.
    Thank you so much and looking forward to hearing from you
    Best regards
    Mina
    ---Let it works---
    Attachments:
    nxttest.vi ‏15 KB

  • Making the doc.bat to create the documentation for classes & Tests

    Hello
    I have created a file called "documentation.bat" to created the documentation in html for my src and test classes.
    I havent got any problem to do it for my classes, but i also want to do it for my Tests and i dont know how to put it in the same .bat file
    To create documentation for the classes i use this:
    set CLASSPATH=.\sources;.\lib\cacheLRU-lib-1.1.jar;.\tests
    javadoc -d .\doc -linkoffline http://java.sun.com/j2se/1.5.0/doc/api .\doc -sourcepath sources -author -subpackages es.ubu.lsi.cacheLRU.controladorTo create documentation for the Tests classes i was using this, that show my decents for warnings :S :
    set CLASSPATH=.\sources;.\lib\cacheLRU-lib-1.1.jar;.\tests
    javadoc -d .\doc -linkoffline http://java.sun.com/j2se/1.5.0/doc/api .\doc -sourcepath sources;tests -author -subpackages es.ubu.lsi.cacheLRU.controlador es.ubu.lsi.cacheLRU.testsWhats the problem in the second code?
    How to put two folders and two packages to do it?
    Lots of thanks, sry for my language :S

    Try generating just to Word and then creating the PDF from
    there. There is a known problem which affects some users but not
    others. Cause not known.

  • Is it possible to create web services for classes and bol objects?

    i am new to crm web channel,can any one  please ,help me....
    thank u in advance,
    kiran.

    Hi Kiran,
    Here, when you are talking about classes and BOL objects together, I assume you are talking about the BOL layer for CRM. If that is the case, and you have no dependency on WCEM for these objects, I would suggest you use the NW gateway to expose Odata web services from the CRM box itself. If you would like to expose the Odata web services from WCEM, please have a look at Ch 7 Dev & Extension Guide available in help.sap.com/wec301.
    Good luck!
    Regards
    Pranshu

  • Create Executeable File From .class

    Hi All,
    I want to create executable file from .class. Is there any solution so that it should create only windows Dependent executable file so that it has to use windows DLL for all api calls.
    Regards
    Srikanth Addepalli

    What he is saying is you will want to make your
    .class -> .jar first. from here you can implement a
    variety of tools like
    http://www.excelsior-usa.com/articles/java-to-exe.html
    http://www.regexlab.com/en/jar2exe/
    http://jsmooth.sourceforge.net/
    Those are all free however this one isn't
    http://www.bestvistadownloads.com/software/t-free-jar2
    exe-standard-edition-download-lmdepovu.htmlThanks for Reply.
    But Every software you specified here is indirectly using the Java virtual Machine for execution.I need a software such a way that i should run without help of JVM.
    regards
    Srikanth Addepalli

  • How can i run .app executable  file

    Hi,
    While i was searching for my topic on google code, i found one project and i download that.
    But its "MyProject.app" with yellow cplored xcode sumbol and i can not run this file.
    Does any one know that how can i run this type of file. i want to run this project.
    And another question. I want to create executable file from my project like exe on windows. Is there any way to create this type of file????
    Thanks.

    vavdiyaharesh wrote:
    Hey,
    When i double click on .app file it quit and show me message like "The application project140 quit unexpectedly"........."
    So is there any problem in .app file?
    On your machine sure sounds like it.
    How can i create exe file and how can i pass -0 to compiler ..iu don;t see any option in xcode for that.....
    giove me solution...
    I think you'd be better off taking some training, or at least working through some of Apple's tutorials.
    http://developer.apple.com/documentation/developertools/conceptual/XcodeQuickTou r/qtintro/chapter_1_section1.html
    Thanks.
    You're welcome.

  • How do you create *.exe files using Labview6.0

    I shall be grateful if anyone can give me the following info or direct me as to where i can find it..
    (a) What is the procedure of creating executable files using labview6.0
    (b) Do i require any other components other than the labview base package.

    In addition to previous post,
    a) after buying Application Builder (which is included only in LV6i Professional Package), you'll notice a new entry in LV Tools menu (Build Application or Shared Library[DLL]). This opens App Builder (a panel where you can setup many parameters for the VI/LLB to 'build'). It's not complicated and you can use default values for the first try (after selecting your VI)
    b) here is the link to start with App Builder [http://sine.ni.com/apps/we/nioc.vp?lang=US&pc=mn&cid=2448]

  • How do I include all the necessary files required for the DAQ Assistant to create an executable file?

    I am creating an executable file to run on a computer that does not have LabVIEW installed.  The problem is that I am using the DAQ Assistant.  The VI Hierarchy is rather large, and I am not sure how to include all of the required files to eliminate the error "The full development version of LabVIEw is required to fix the errors."  Attached is an image of the VI Hierarchy.
    Solved!
    Go to Solution.
    Attachments:
    hierarchy.jpg ‏419 KB

    Yes I did create an installer.  See image installernoDAQmx.jpg  
    When this is all I do I get an error that subvi is not included, a list of about 6 subvi's.  To eliminate this error I manually add the subvi from the dependencies list to the my computer list. This allows me to add them as support files.  This eliminates the error about subvi not included, but then I get the error I spoke of earlier.
    If I include the DAQmx I get an error.  See image installererror.jpg
    Not sure what MAX refers to?
    Attachments:
    installernoDAQmx.jpg ‏259 KB
    installererror.jpg ‏103 KB
    dependencies.jpg ‏344 KB

  • How do I create an executable file?

    How exactly do I create an executable file from my .java file?

    I've tried to run it from the DOS prompt two ways.
    If I type "java -jar Plist" (Plist is the .jar file
    name, the .java file name, and the class name), It
    says...
    Exception in thread "main" java.util.zip.ZipException:
    The system cannot find the file specifiedThat seems pretty clear - there is no file called "Plist" and that's it. "The system cannot find the file specified."
    If I type "java -jar Plist.jar", It says...
    Exception in thread "main"
    java.lang.NoClassDefFoundError: Plist
    Two questions...
    1. What am I doing wrong??Two possibilities, I'd put my money on the first one:
    1. That jar file of yours really doesn't contain a class called Plist. Check the contents with "jar -tf Plist.jar". The file Plist.class (along with other stuff you put in the jar) should be listed.
    2. If it is listed, your classpath may be set wrong - can you run the app with "java -classpath Plist.jar Plist"?
    2. Once I get this .jar deal to work, will I be able
    to run it on other computers? It seems to be tied in
    with some of the Java utilities and files on my
    computer. Is it independent like a .exe file or not?No, it's not independent like a .exe file. It's a lot more independent than any .exe file. Ever tried running them on a Mac? Linux? Solaris? Anything else than windoze? On a windoze system that's older than recommended, like on win95 instead of 2k?
    The independence of java class files packed in jars is on the level of xml, pdf and postscript files - you can use them everywhere. To be more exact, on every system that has a "viewer" for those files; in java's case the "viewer" is the runtime environment. Once it's installed the files can be run like other programs on the system.

  • Unable to create Executable JAR file

    Hi,
    I tried to create Executable JAR file for
    //JarTest.java
    class JarTest
         public static void main( String args[] )
              System.out.println("i am EXECUTABLE JAR ");
    mf is like
    Manifest-Version: 1.0
    Main-Class: JarTest
    used jar cmf JarTest.mf exe.jar *.classIt created a jar file but i can't Execute the file
    Help me
    Thanks
    AE

    java is choosy about the actual manifest file format (line ending, trailing empty line, whatever).
    This works for me with your example:
    posman@proli:~/ivan/aa> cat mf
    Manifest-Version: 1.0
    Main-Class: JarTest
    posman@proli:~/ivan/aa> od -cx mf
    0000000   M   a   n   i   f   e   s   t   -   V   e   r   s   i   o   n
            614d 696e 6566 7473 562d 7265 6973 6e6f
    0000020   :       1   .   0  \n   M   a   i   n   -   C   l   a   s   s
            203a 2e31 0a30 614d 6e69 432d 616c 7373
    0000040   :       J   a   r   T   e   s   t  \n  \n  \0
            203a 614a 5472 7365 0a74 000a

  • How to convert the javasource file(*.class) to execute file(*.exe)?

    How to convert the javasource file(*.class) to execute file(*.exe)?
    thank you!

    Although i have seen a few programs (that are platform specific) that will embed a small jvm into an exe with your class file, it is generally excepted that you cannot create an executable file using java. The JAR executable file is probably the closest your going to get
    Pete

Maybe you are looking for