URGENT Wanting to turn java files into an exectuable file

Hi i have a swing program thats made up of a number of java files. Is there a way i can make an executable for them???

You can export it from your IDE if using one. It is straightforward in Eclipse for instance. I never had any major problems when exporting to the same OS as I developed on. Use Google.

Similar Messages

  • Do you want to turn on file vault

    do you want to turn on file vault

    Only if you need it due to security/confidentiality requirements. What it does is encrypt with a strong cipher the contents of your drive. If anything alters inadvertenly the contents or if you forget the password, you will be SOL and LOSE all your stuff.

  • How do you turn java code into an .exe or etc...

    I can't seem to figure out how to turn my java code into an executable in windows so that it runs by itself without a comipler, can someone help? (without using visual J++).

    I can't seem to figure out how to turn my java code
    into an executable in windows so that it runs by
    itself without a comipler, can someone help? (without
    using visual J++).I saw a tutorial on that, you might want to check it out.
    http://developer.java.sun.com/developer/onlineTraining/new2java/divelog/?frontpage-headlinesfeatures

  • I want to turn a slideshow into a book, exactly as the pictures appear in the slideshow

    I want to turn a 292 picture slideshow into a 100 page book, exactly as the pictures appear in the slideshow.  When I create the book the pictures are not in the order of the slideshow.  How do I fix this?  thanks

    The book imports the photos based on creation date.  If you have your photos in an album in the order you want them select them all and go to the Photos ➙ Batch Change ➙ Date menu option. Add 1 minute between each photo:
    Do not modify the original files.
    Now when you create a new book with those photos they will be ordered in the order you had them in that album.
    OT

  • Turning java code into a format I can include on a web page?

    I made a java program to play rock paper scissors with analog boxes, but I want to format it so that I can put it on my website. how do i do this?

    I'm really new at this entire java thing, so i'm not
    sure how to make an applet or anything like that :-\http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html

  • How to connect JAVA API into  NACT- NTS 2000?(TELECOM)

    hai to all,
    i need help.if there is any one working in telecom Project . (will be more helpfull). i want to connect JAVA API into NACT-NTS2000 (it's (NTS2000) fully based on JAVA ).if anybody know the solution mail me ID [email protected]
    thanks
    dhana

    Hi,
    Could you give us some URL pointers to the NACT-NTS2000 technology so we have some sense of what we are talking about technically?
    Thanks,

  • How to run any java file...

    i want to run .java file..
    suppose i have some classes then i want to run those classes by providing just the name of the class..
    my program should run any .class file by just selecting the name of the class..

    rajeev-usendi wrote:
    it can be any .class file..
    it can have a main method() or init()...
    basically i want to execute that .class file and dynamically i want to access its variables which has been defined public..Why don't you just "execute" these class files within the program itself and keep the class files within the same project/jar file? Call the methods dynamically to access it's variables.
    I think could run any .java file by implementing it as Runnable and starting them as threads from the main program. I'm not sure how you'd get it to the poitn where you could .start() it though.

  • How do you convert a jar file into a java file,  ?

    how do you convert a jar file into a java file ?
    I am new to Java ,but have a little experience in C++ and Visual Basic.
    I want to edit and maybe create my own mobile games that are written or converted into jar files.
    At the moment I am using Java NetBeans , and Easy Java( the java pad).
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?

    801283 wrote:
    how do you convert a jar file into a java file ?You generally don't. There exist decompilers, but if you're meant to have the source, you should either have it because you are the author, or you should be able to get it from the author.
    I am new to Java ,but have a little experience in C++ and Visual Basic.Does that experience include turning .exe files into C++ code? Because that's the equivalent of what you're asking
    I want to edit and maybe create my own mobile games that are written or converted into jar files.Eh?
    Are you saying you want to take existing games and modify them? If the creators allow you to modify their source, then they'll provide you with that source (the .java files). If you're allowed to add things but not modify, you don't need .java files. Just documentation, which, again, the creators should be providing.
    Or are you saying you want to create your own games and distribute them in jar files? If so, there's no need to turn jars into .java.
    However the only solution I tried was to open the JAR file in winrar and see that its made up of png picture files,
    midi music files and class files. Unfortunately when I uncompressed the JAR file , there was NO java file to be seen and the JAVA editors Do not show the class file like a Java file. So why is there no extension Java file in the mobile JAR game ?Why would you expect there to be one?

  • How to convert a .class file into .java file without .jad using DeJDecompil

    Hi all,
    I am using DeJDecompiler and working with swing applications.If I try to convert a .class file into .java file,it is converting into .jad file only.Fine but if I try to save that file into .java file,It is giving lot of errors in that program.When I went into that program the total style of the program is changed and TRY-CATCH block is not recognised by the dejdecompiler,hence If I try to include some methods in the existing .java file thus got,I could not do.Kindly help me.
    If I get the .java file without error then I can process the rest of the functionality.
    Thanks in advance
    With kind Regs
    Satheesh.K

    Not so urgent today then!
    http://forum.java.sun.com/thread.jsp?thread=553576&forum=31&message=2709757
    I'm still not going to help you to steal someone�s code.

  • How to compress a bunch of .java files into a single .jar file?

    Hello everyone! I am working on a Chinese segmentation job. Someone offers very excellent
    such tool. When I copy his example, I find it imports
              import org.apache.lucene.analysis.Analyzer;
              import org.apache.lucene.analysis.Token;
              import org.apache.lucene.analysis.TokenStream;
              import org.mira.lucene.analysis.IK_CAnalyzer;I have downloaded IK_CAnalyzer.jar file which contains org.mira.lucene.analysis.IK_CAnalyzer class.
    I find that I need to download lucene, thus I went into the following website
    http://lucene.apache.org/#06+May+2008+-+Lucene+Java+2.3.2+availableand downloaded the lucene-2.3.2-src.tar.gz. Aftre unzip, I found all java source files in java directory (and in many other different subdirectories). Now it seems I need to compile all the src files and compress them into a single .jar file while keeping their original hierarchy unchanged
    I think I should use jar command and with some additional options.
    Can anyone show me how to do that?
    Many thanks!
    Edited by: aaron9979215 on Jul 12, 2008 5:17 AM

    Thanks for reply, I?ve read that tutorial before I post. Howevver, it do tells how to compress a jar file.
    The question I have is how to compile two .java file stored in different packages like
    rootPackage-->subPackage-->a.java
    rootPackage-->subPackage2-->b.java
    I want to compile a,java and b.java both and keep their hierarchy like rootPackage.subPackage.a unchanged. If I directly go into subPackage and compile a.java, I think the hierarchy is changed.
    What do you think about it?

  • Dynamicaly getting xml into java file

    hi,
    i want to xml dynamically into my java file .
    Is anyone having ida about it.
    Thanks

    Hello Sai,
    Are you looking for something like JAXB? JAXB is a technology where you can generate Java source from an XML schema to make interacting with XML documents easier. For example instead of dealing with generic DOM nodes you can interact with objects based on your schema such as Customer and Address.
    Below are some links that may interest you:
    TopLink JAXB example:
    http://www.oracle.com/technology/products/ias/toplink/technical/tips/jaxb/index.htm
    TopLink Object-to-XML mapping
    http://www.oracle.com/technology/products/ias/toplink/oxm/index.html
    -Blaise

  • I have turned PowerPoint slides into a PDF and now want to insert this into a docx packet.  I can't do this.  Help.

    I have turned PowerPoint slides into a PDF and now want to insert this into a docx packet.  I can't do this.  Help.

    Hi leastoners,
    If you're trying to insert a file into a Word document, your best bet is to check the Word online Help. (What you describe sounds like a function of Word, not of Acrobat). I did a quick search and came up with this: Add a PDF to a document - Word. But I'm not sure that's what you're looking for.
    If I misunderstood your request, please let me know and we can take it from there.
    Best,
    Sara

  • Urgent How to convert wav files into mp3?

    Can anyone plz tell me how can i convert wav file into mp3 using JMF? tell me any sample programme, any method in JMF........ help me plz

    Examples could be found on the JMF Solutions page.
    Only I can say about mp3 through network - it's hardly possible. I recommend GSM for compression2transmit. It could be used via GSM content descriptor. I'm not sure, but I suppose MP3 is supported only for files, there's no MP3.RTP or such (if you want to transmit files, it should not cause any problems).
    About JavaSound - it does not matter... You still need JMF to be installed on Client, and AppletCapture to be enabled. Futrher - would it be DirectSound, JavaSound, or anything else - just the deal of JMF.
    I tried to use JavaSound capture with proceeding AudioInputStream to JMF, but failed to do this.
    About your problem - best solution seems like that:
    capture sound
    put it into processor
    set format to GSM
    transmit
    so then, server receives it and formats it as it likes.
    If you want to transmit exactly files, you should use just some of pure java after capturing. java.net, or such thing.

  • I wants to call .Exe file from Java Programme

    I wants to call .Exe file from Java programme. Please give answer with example. This very urgent. Help me

    hi
    u can use Runtime.exec() method in java.lang package
    to execute exe files
    regards
    pnp

  • Want To create Zip file  using java,And Unzip without Java Program

    I want to create a zip text file using java, I know Using ZipOutputStream , we can create a zip file, , But i want to open that zip file without java program. suppose i use ZipOutputStream , then zip file is created But for unZip also difftrent program require. We cant open that zip file without writing diff java program.
    Actually i have one text file of big size want to create zip file using java , and unzip simply without java program.Its Possible??
    Here is one answer But I want to open that file normal way(
    For Exp. using winzip we can create a zip file and also open simply)
    http://forum.java.sun.com/thread.jspa?threadID=5182691&tstart=0

    Thanks for your Reply,
    I m creating a zip file using this program, Zip file Created successfully But when im trying to open .zip file i m getting error like "Canot open a zip file, it does not appear to be valid Archive"
    import java.io.*;
    import java.util.zip.*;
    public class ZipFileCreation
         public static void main (String argv[])
         try {
         FileOutputStream fos = new FileOutputStream ( "c:/a.zip" );
         ZipOutputStream zip = new ZipOutputStream ( fos );
         zip.setLevel( 9 );
         zip.setMethod( ZipOutputStream.DEFLATED );
    //     get the element file we are going to add, using slashes in name.
         String elementName = "c:/kalpesh/GetSigRoleInfo092702828.txt";
         File elementFile = new File ( elementName );
    //     create the entry
         ZipEntry entry = new ZipEntry( elementName );
         entry.setTime( elementFile.lastModified() );
    //     read contents of file we are going to put in the zip
         int fileLength = (int)elementFile.length();
         System.out.println("fileLength = " +fileLength);
         FileInputStream fis = new FileInputStream ( elementFile );
         byte[] wholeFile = new byte [fileLength];
         int bytesRead = fis.read( wholeFile , 0 /* offset */ , fileLength );
    //     checking bytesRead not shown.
         fis.close();
    //     no need to setCRC, or setSize as they are computed automatically.
         zip.putNextEntry( entry );
    //     write the contents into the zip element
         zip.write( wholeFile , 0, fileLength );
         zip.closeEntry(); System.out.println("Completed");
    //     close the entire zip
         catch(Exception e) {
    e.printStackTrace();
    }

Maybe you are looking for

  • Creating a Service Order automatically when saving a Sales Order

    Hello SDN, I'm trying to have SAP automatically create a Service Order when a Sales Order is created. To this end, I've tried implementing BADI workitem_template and have been using method before_update. I've been using BAPI BAPI_ALM_ORDER_MAINTAIN t

  • If my iPhone was stolen and i didn't have FindMyiPhone app or MobileMe can I issue an insurance claim

    If my iPhone3GS was stolen and i do not have a FindMyiPhone or MoblieMe app can i still issue a insurance claim

  • TS1702 Removal of apps.

    I cannot remove any apps from my iPad. I press and hold an icon, the icons all wiggle, and not one of them has an x in the corner. The x's disappeared a month or so ago, I thought I was doing something wrong, bu apparently not.

  • FolderUtils.create error

    I keep getting the error: JSP Error Exception: java.lang.NullPointerException at oracle.ifs.clients.webui.FolderUtils.create(FolderUtils.java:71) at ifs.files._ifs._jsp_2d_bin._ifs_2d_cts._jsps._createcdromfolder._jspService(_createcdromfolder.java:1

  • G5 works with Mac Book Pro

    I own a dual 2.0 G5 with FCP Studio, from what I get in the apple website is that for $49.00 I could crossgrade to FCP Studio Universal. My question is: If my project media goes directly to a removable hard drive, can I go back and forth with the Pro