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?

Similar Messages

  • How do I convert an audio link into a wav file?

    how do I convert an audio link into a wav file with my Imac?
    A PC user showed me to right click an audio link where it asked if it wanted to save the link as a Wav file?
    I saw this done in front of me. How do I do it with my Mac ?

    This is how to do it in itunes http://support.apple.com/kb/ht1550
    If I view the song in finder, all that i have to do is press command-i and it opens a window. In the section where you view the name and extension I took off the extension (.mp3 in my case) and replaced it with .wav

  • How can I convert the volume directory into a single file installer?

    How can I convert the volume directory into a single file installer? I would like to hide all the miscillaneous files that I don't care for and be able to have the installer double click a single file and have it automatically install.

    On the second prompt screen when prompted 'What kind of self-extracting Zip file file do you want to make?'
    Are you choosing the second option (self-extracting Zip file for software installation)?
    I have a word file that I created to help me remember - is there anyway to email it to you?

  • How do you convert an Autocad drawing into a pdf with Acrobat X Standard?

    How do you convert an Autocad drawing into a pdf with Acrobat X Standard?

    Something to try -
    Having installed Acrobat Standard you have the Adobe PDF virtual printer installed.
    From your authoring application do a "file-print" and select the Adobe PDF printer rather than the attached local or network printer / plotter.
    Be well...

  • How do you convert the audio from a mpeg4 video file to mp3?

    How do you convert the audio from a mpeg4 video file to mp3 format?

    Probably the easiest way to do this is to download a free media convertor. Most will be able to convert video into audio files.

  • How to batch-convert 500 pdf pages into individual jpg files?

    Does anybody know how I can convert 500 single-page pdf files . . . into individual jpeg (image) files?
    They are all in the same hard drive folder (if that helps . . .)
    Thanks

    Thank you so much . . . yes, the answer "staring me in the face".
    Great advice.
    After combining the pdf files into a SINGLE document . . . I just selected "SAVE-AS" . . . and selected "jpg" as the format.
    Acrobat automatically created 500 individual jpg files.
    Thanks again!

  • How do I convert an e-mail into a Word file that can be edited and printed?

    I received an e-mail from a relative that I want to convert into a Word file that can be edited and printed?

    Go to appleid.apple.com to manage the ID, sign in.  If you are using two-step verification on the ID, select the Name, ID and Email Addresses section, then change the birth date on the bottom right.  If you are using security questions instead of two-step verification, select the Password and Security Question and answer the two security question to access and change the birth date.  At the present time you may not be able to enter the correct birth date, but you should be able to change it to 1/1/2001, which will have child ID status.

  • How do you convert an iMovie Progect to a QuickTime file

    I am trying to upload a iMovie file or a iDVD file, which ever makes more sence, to my .mac account. How do I do this? I was thinking of publishing a video on my home page or on YouTube either way I need some help

    Using Your Movies on the Internet
    http://www.apple.com/ilife/tutorials/imovie/im4-4.html
    as a start, for YT I recommend these settings:
    http://karsten.schluter.googlepages.com/youtubeuploadsettings

  • How to read a gif file into the java file?

    i want to read an image(*.gif) file into my appication. can u plz help me in this?

    Hi
    I have made a program that display images here is the code i hope it helps
    package ImageProcessing;
    import java.awt.Image;
    import java.awt.image.ImageObserver;
    import java.awt.image.RenderedImage;
    import java.io.File;
    import java.io.IOException;
    import javax.imageio.ImageIO;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class ImageProcessing
         public static Image imRead(String imagePath)
              Image im = null;
              try
                   File imageFile = new File(imagePath);
                   im = ImageIO.read(imageFile);
              catch(Exception e)
                   e.printStackTrace();
              return im;
         public void imWrite(Image im,String fileFormat,String imagePath) throws IOException
              File outputFile = new File(imagePath);
              ImageIO.write((RenderedImage) im, fileFormat, outputFile);
         public static void imShow(String imagePath)
              ImageObserver io = null;          
              JFrame frame = new JFrame();
              Image im = imRead(imagePath);
              ShowImage imShow = new ShowImage(im);
              frame.add(imShow);          
              frame.setVisible(true);
              frame.setTitle(imagePath);
              frame.setSize(im.getWidth(io),im.getHeight(io));
              frame.setResizable(false);
              frame.show();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         public static void main(String[] args) throws IOException
              imShow("D:\\My Computer\\Images\\Cash2.gif");          
    package ImageProcessing;
    import java.awt.Graphics;
    import java.awt.Image;
    import java.awt.Panel;
    public class ShowImage extends Panel
           Image im;
           public ShowImage(Image inputIm)
             im = inputIm;
           public void paint(Graphics g)
             g.drawImage(im, 0, 0, null);
    }

  • How do you get a jar out of Internet temp files to decompile.  Is Malware.

    Using Chrome, I was going to www.semiaccurate.com daily. Today Chrome intercepts with warning page. Me being dumb ass went ahead anyway. My Java console popped up, and I immediately alt-F4 ed, and restarted. Found 1.jar from www.ejdueyhs.com/1.jar in my temp files. Is it possible to get this as an actual file, so I could decompile?
    Jeff Palmer
    FYI, I sent note to [email protected], and it did not get returned, but who knows if some will actually look at it.

    If you go into the Windows Java control panel, and show temporary internet files, then select resources. It showed a 1.jar as a resource, but a search of the whole C drive found no such file. It must be being renamed. For me that was only a speed bump, since the control panel also listed the URI. I just re-got it myself. I am good now.
    Thanks
    Jeff

  • After aquiring an image how do you convert or save it as an HDF file

    I am using LV to acquire an image. Once I grab the image I need to save it as an HDF file so I can do some further analysis. Has anybody done this if so could you explain how to go about it?

    There is a LabVIEW toolkit that will enable you to edit and save files stored in HDF (Hierachical Data Format) You might consider reading the following knowledgebase:
    http://digital.ni.com/public.nsf/websearch/CB8A7F8090900F6C86256CC700033816?OpenDocument
    Will Denman
    Application Engineering
    National Instruments

  • How do I put my jar executables into a cab file to create a setup/install?

    I want to create a setup program for installing my jar executable. I've seen ones that create cab files with a setup.exe program and would like to do the same. Any suggestions?

    Well, JARs generally don't have support files. That's the whole idea. A JAR is designed to be a stand alone application. You don't really need to install it, for that matter. I just thought you might be wanted shortcuts or something.
    Actually, there is some way to install Java programs through Java Web Start, if you want to check that out. I don't know anything about it, though.

  • How do you convert 5 Excel sheet into PDF automatically

    Hi:)
    My name is Steffen Christiansen.
    I am working on developing an Excel
    template. I have a small problem.
    My template has 5 sheets
    automatically be konveteres about
    to PDF. It must be such that
    the 5 sheets must konveteres on
    to a file. Further, it should also be such
    that after I've saved and named
    excel file to pdf file
    has the same name and will be stored
    out on the desk. How do I make such a
    marcro in vba.
    Hope you can helpe
    Sincerly Steffen

    Hi
    Check out this post - Save multiple sheets to PDF
    http://stackoverflow.com/questions/14404650/save-multiple-sheets-to-pdf
    Free .NET Barcode Generator & Scanner supporting over 40 kinds of 1D & 2D symbologies.

  • I am trying to make a home movie and add itunes but it doesn't want to accept the m4 file type. I downloaded something I thought would help but no luck. I am using windows movie maker and need music. How do I convert my purchased music into a usable file?

    My movie program wont recognize the itunes format .m4a. Any suggestions? I downloaded a program to help convert it but didn't work.

    In iTunes 11 uncheck the preferences setting in in the iTunes Preferences panel "Advanced > Copy Files to iTunes Media folder when adding to Library"

  • How do i convert a word file into a pdf file?

    How do I convert a word document into a .pdf file?

    Hi wertheca,
    If you have Acrobat, (full version), you can convert a file to PDF by choosing File > Create > PDF from File. Then you choose your Word document, and click Open to convert the file to PDF.
    If you don't have Acrobat, you can use an Acrobat online services subscription to convert almost any format of file to a PDF with just a click or two. For more information, see Acrobat Plus, PDF Pack, Export PDF & More | Acrobat Document Solutions
    I hope this helps.
    Best,
    Sara

Maybe you are looking for