Can we make the .class file into executable one? Urgent

I just made some java programs, which consist of some GUI and robot, and I need to make them into executable file, mean .exe file. From this forum, there was a suggestion to use Excelsior JET that can make .class files into .exe files.
and when I tried to use the program, it did the job well, but when I try to put the .exe file into another PC, it can not run as if I run it on the system that I made the .exe file.
Is there anyone experience this before? is there other solution? and is the the .exe file that has just been generated already include all .class file that are needed by the main .class file that has been converted into .exe?
Thnks for the helps...

It is sort of possible.
A good way of doing this is to use an application called Install Anywhere. With this, you can create an installation file for your application, and it does create an executable. Ive used this a few times myself, and it is really easy to use.
I think another app to do this is one called JToExe (i think), and this basically creates an executable.
I hope this helps,
Osh

Similar Messages

  • Again,HOW to conver a .class file into .java one?

    sorry , but Can't u send me a specific link for downloading this "Java decomplier"??
    coz I found my self in something called (jad decompiler) with lots of versions and this is confusing
    and Is that mean, that there's a decompiler which can convert the .class file into .java one?
    and thanks alot man.....u help me always!
    (I'm still begginner in java)

    Just to emphasise what yawmark said...
    Decompiled java code is NEVER going to be as clear as well-written original java source code. The decompiler can see what the compiled code does but not why or what it means, so the source code that the decompiler produces is going to be ugly and hard to read. Decompilers are really only useful for experienced programmers who know what to infer, how to read between the lines...
    If you need help writing something, then you're better off looking at tutorials. In tutorials the code will be well-commented.

  • Can I insert the image file into PDF file  in Adobe X Standard ?

    can I insert the image file into PDF file in Adobe X Standard ?

    http://matt.coneybeare.me/how-to-make-an-html-signature-in-apple-mail-for-maveri cks-os-x-10-dot-9/

  • How can I hide the class file ??

    Hi !
    I has a question, when i write a program of Java, then use the command "javac" to compiler to class file for other people using, but the class file can be disassembled and convert to source code. How can I hide the class file and let people can not disassemble, or can not see the source code. Thinks

    See these....
    http://www.saffeine.com/
    http://www.jarsafe.com/
    I recently read this. This will help you.
    http://developer.java.sun.com/developer/qow/archive/160/index.jsp
    Enojy....
    Rajesh

  • How can I make the pdf file size smaller?

    How can I make the pdf file size smaller?

    Hi vickyb,
    Reducing the file size of PDF requires Acrobat (one way is by choosing File > Save As > Reduced Size PDF). If you don't have Acrobat, you can try it free for 30 days. See www.adobe.com/products/acrobat.html for more information.
    Best,
    Sara

  • How to make the class files to run in a particular platform only

    Class files which are created from the java files should only run on a particular platform only..say i'm going to create the class files for windows environment then those class files should only run on that environment only. it should not run on unix environment etc..how to do this..

    hi,
    i cant think of a reason why you would do something like that.. You cant prevent your class files to be read by the JVM of a different OS, but anyway you could do something to stop your code from running in a different OS, for eg.
    Properties prop = System.getProperties();
    if (prop.getProperty("os.name").startsWith("Windows")==true)
          //code
    else
           System.out.println("Sorry i will not run in this OS");
    }cheerz
    ynkrish

  • Can I make my class files executables on Windows platform?

    I have got a very interesting java program, which I have already compiled into a class file. What I want to do now is to make the bytecodes into an executable file on Windows, like any other .exe files. If possible, how do I do that? Will anyone be able to help me with the question?
    Thanks a lot in advance.

    hi,
    you can do it within a jar-file (don't ask me how, but its possible to execute jars)
    or you write a c/c++-program, which will launch you jar
    regards

  • JRE can�t find the .class file

    Hello
    I have installed JRE 1.3 on a win98 running Computer. When i execute "jre anforderung.class -classpath C:\test\" in MS-Dos then the following Problem occurs : Cannot find File anforderung.class. I already Typed it in DOS anford~5.cla but the same thing happened. I renamed it into test.class, but always the same Error. What can i do?
    By the way, i came to this idea after i spend many hours to make my applet run in Netscape. The applet uses mySQL-Database Connection, and i�m at end with my ideas and strength. Maybe someone can tell me where i can find professional Help with my always Suffering in making my java-applets run. My last idea is to transform my files into an application, but... takes time. So Please HELP.

    That doesn�t work, but i found out I have to do this by appletviewer.exe and start the index.html.

  • How can I Split the PDF File into different pages?

    Hi,
    My requirment is to split the pdf file , which is obtained by using FM "convert_otf" , into seperate PDF file for each employee data(PERNR).
    Please suggest me the way to slipt the PDF file that has to be downloaded into the presentation server.

    Hi,
    Ok, looking at that programm didn't actually help me very much to understand what's going on, or where you have the CONVERT_OTF call... Regardless, if the suggestion by Raymond is not feasible in your scenario, the thing I'd try to do is - splitting the spool (OTF) contents before calling CONVERT_OTF into individual documents (feeding it to convert FM piecemeal)... The link to OTF format and commands documentation is here.
    Again, it's difficult to give a good algorithm without knowing the exact OTF contents (could you perhaps somehow export the display of spool in RAW format and attach here?) but it would boil down to approximately following:
    1) set the &first_page per PERNR = 1;
    2) run through OTF lines until the &end_page for PERNR has been identified somehow (hopefully there are Begin/End Form OTF commands '//' in that spool... and they correspond to the split of spool you need...);
    3) extract the otf contents from &first_page to the EP command of &end_page into separate OTF itab and, if necessary, add // (End of form) command at the end of itab;
    4) call CONVERT_OTF on the table and download;
    5) set the &first_page per PERNR = &end page + 1;
    6) repeat from 2) until end of spool OTF data
    Something like that... Depending how the Sapscript translates into OTF, you may also need to prepend a few commands found at the very beginning of the spool to each extracted invividual OTF document...
    I Hope you can get the gist of what I'm suggesting... splitting OTF is definetly easier than trying to split PDF, I feel. It's not ideal solution, because - what if the structure of OTF contents you would be realying on changes for some reason..?
    cheers
    Janis

  • Tomcat can't detect the class file of the JApplet.

    Hi,
    I am relatively new in the applet field. I am trying to invoke an JApplet through JSP.
    Problem is that i have to package the JApplet class files as it has to access other packages. also the JSP with the embedded JApplet exists in a different folder from the JApplet class files.
    I am getting the class not found exception.
    Context Path: http://localhost:8080/sncdatagate
    folder structure as follows.
    sncdatagate\jsp\myApplet.jsp
    sncdatagate\WEB-INF\classes\datagate\ui\myApplet.class
    package for myApplet.java : datagate.ui
    The JSP code is as follows :-
    <jsp:plugin
    type="applet"
    code="datagate.ui.myApplet"
    codebase="/sncdatagate/"
    width ="700"
    height="400"
    iepluginurl="http://java.sun.com/products/plugin/autodl/jinstall-1_3_1_01a-win.cab#version=1,3,1,1"
    nspluginurl="http://java.sun.com/products/plugin/autodl/jinstall-1_3_1_01a-win.cab#version=1,3,1,1"
    jreversion="1.3.1_01">
         <jsp:params>
                             <jsp:param name = "encodedString" value="<%=encodedString%>"/>
              </jsp:params>
    </jsp:plugin>
    The error on Java console is as follows:-
    load: class datagate.ui.myApplet not found.
    java.lang.ClassNotFoundException: java.io.FileNotFoundException: File not found: http://localhost:8080/sncdatagate/datagate/ui/myApplet.class
         at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Kind help!
    Would greatly appreciate any suggestions.
    Thank You.
    regards,
    Priya

    The WEB-INF\classes\ folder is meant for servlets and the files insides are accessed thru the "servlet/" folder. To run applets, place them outside of the web-inf folder together with your jsp files.
    If your applet has a package, remember to create appropriate folders for it. Eg.
    sncdatagate\jsp\myApplet.jsp
    sncdatagate\datagate\ui\myApplet.class
    <applet
    code="datagate.ui.myApplet"
    codebase="/sncdatagate/" ...

  • How can I make the comparison of two string one by one

    Hello everyone,
    I am new in labview and I am stuck with the problem.
    I have a huge text file with a different pressure values at different ports. My goal is to find the mean value of two ports and finding the dP and from that value I have to find  max value of dP.For that please see the attached VI. and see the 1st case structure from that attched VI.This I already done.
    [I first case structure I compare the port 103 and port 115 ]
    Now what I did, it was for the 2 ports and now I want to make a calculation for the comparison of two ports but labview should do it automatically , for reference I attached the text file.
    [Now I want to compare 103 & 115,104 & 116, 105 & 117 automatically one by one]
    Please refer the 2 nd structure for that.( in first case structure I put the search 1D array function for finding the location of the port column but I have to write manually there the "Port 103", now what I want that The labview read automatically the port 103 , port 104 and calculate the mean value)
    It would be grateful if you can help me. 
    Solved!
    Go to Solution.
    Attachments:
    Final - Kopie.vi ‏35 KB
    Port module.txt ‏1 KB

    I tried cleaning up your code.  The subtraction is just as simple as doing it inside of the FOR loop.  Same for the Maximum value of each.
    The Out of Memory issue can be a hard one to nail down.  Things you can do is try to avoid extra memory allocations caused by resizing of your arrays, avoid duplicate computations that aren't needed, reduce the number of front panel objects, or just use smaller arrays.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Final - Kopie.zip ‏23 KB

  • How can I Export the Image file into Oracle Table

    <tt>
    Hi Folks,
    I have one requirement with me, but i can't able to find the solution for that, so kindly any one give a suggestion for my requirement.
    Let me explain my requirement in detail.. I have one table called SIGN this table contain customer signature image as well as the image of the customer. The SIGN have the following columns
    </tt>
       CREATE TABLE SIGN
      ID                    VARCHAR2(50 BYTE)            NOT NULL,   "This column containing the Customer ID"
      IMAGE_C_FLAG          CHAR(1 BYTE)                 NOT NULL,   "This column containing the whether ID belong to Signature or Photo"
      IMAGE                 BLOB,                        NOT NULL,  "This Column Containing the Image "
      ENTERED_C_BY          VARCHAR2(10 BYTE)
    The SIGN having the following values
    ID                                                 C I IMAGE
    23900033                                           Y S  (BLOB)
    23900034                                           Y S  (BLOB)
    23900035                                           Y S  (BLOB)
    23900036                                           Y S  (BLOB)
    23900042                                           Y S  (BLOB)<tt>
    I want to export those Image from Table into my machine local folder with the extension of .JPEG(C:\IMAGE)
    How can i do that in oracle... please kindly any one give the solution for this..
    This is my Oracle server version
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
    PL/SQL Release 10.1.0.2.0 - Production
    CORE 10.1.0.2.0 Production
    TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
    NLSRTL Version 10.1.0.2.0 - Production
    Thanks in Advance
    Arun
    </tt>

    Hi Arun,
    Please view the below links. Hope these helps you as there are also of similar discussion.
    Insert Picture (image) using oracle forms
    Insert Picture (image) using oracle forms
    insert image to atable in forms builder
    Re: insert image to atable in forms builder
    Thanks,
    Balaji K.

  • Turn my .class files into .exe file

    Does anyone know a good install shield program for Java? I'm currently using a program called Install4J. But the problem is that after I installed the program all my .class files are basically copied into the destination folder. Is there a program that can combine all the .class files into an .exe file or maybe a library file? Thanks
    Bohua

    gee, that's never been asked before... good thing you didn't waste precious time searching the forums first.

  • Including a class file into classpath at runtime.

    Hi all,
    I need to include a class file into classpath for at runtime. But the problem is tht this class file is produced by some other application n i nedd it to make the connection.(Actully i m trying to make SSL connection with other server whc requires the class file generated frm tht server must be in to classapth of the JVM.) How can i achieve this?
    I am trying to find out the ways to include the class file into classpath through Java pgm. But will it be done in case web application , if yes thn how?
    Thnx in advance
    ~Gaurav

    I would also like to add that we created another test class : Test.java in the same directory as the TestAccessClass.java and compiled this alone :
    javac -classpath ../../../../jars/ Test.java
    and it compiled fine without any errors !!
    This class also had the same single statement :
    String testVar = TestClass.getString(null);
    Sathya

  • Make the property file separate and remain just text file

    when I go "data" menu - "connect to Web Service..." to generate classes for webservice client,
    In the WSDL file the IP address is set.
    if the ip address doesn't vary, that doesn't matter at all.
    but I have to make client for general case which means the webservice server ip is not set, so I want make property file(text file) for IP address.
    if I compile the files(*.as) they compiled and include the ip address in it so I can't see any property file in the deployed folder.
    How can I make the property file separate and just change the ip address any time, any place.
    I used
    <mx:Metadata>
      [ResourceBundle("flex_dmb")]
    </mx:Metadata> 
    I don't know flex very well.
    I just click and click...
    Thanks.

    I use flex 4

Maybe you are looking for

  • Partitioning windows 8.1

    Hello , I just Took Delivery of a HP touchsmart notebook pc 15-n230sa notebook pc laptop , and have done battle and managed to set it up after a struggle, It comes with a 1tb hardrive which runs windows 8.1 op system , I am writing to ask does anyone

  • Link longest file support, why Box (not Linux support) and Ubuntu (went down in July)?

    Mozilla Thunderbid dont allow Dropbox to link longest file in emails, but Box and Yousendit dont support Linux Sync, then what can I do when Ubuntu go down in July ? Thanks

  • Actuals VS Forecast by Period indicator

    My customers have a current BEX report that shows actuals and forecast data for the income statement for a 12 month time period.  They have asked to have an indicator set to show what is actuals, and what is forecast.  This will roll each month as ti

  • What applications are being used on this website to give the "flashy" look?

    Hi Im useing the new dreamweaver, and im confident in creating a basic website, however I want to move up to the next level, so could any one please tell me what other products this company are using to create the effects? and maybe a little pointer

  • Reg Using , Changing and Tables

    hi all, I am using select-options for matnr. i am using an internal table with matnr, mbrsh , mtart fields . i want to use subroutine with using matnr and changing it_mara. So in the FORM and ENDFORM block how to declare the variables in the FORM stm