How to convert EXE to JAR

Hi ,
Is there any possibility to Convert Executable JAR to a JAR file.
Ie. Conversion of EXE to  JAR file.
Regards,
Deepak.

Hi Rakesh,
               This procedure din't workout, is there any possibility
for uploading Executable JAR ( not the normal JAR file) into WebDynpro Environment. or How to Convert a EXE to JAR.
Regards,
Deepak.

Similar Messages

  • Convert .exe to .jar

    How can I convert .exe to .jar?

    I have a playstation game, how can I play it on my
    Nokia 1100. Urgent!With the help of black magic.i hav donload pr0n mov "Black Magic", nad it is V. GOOOOD, but fone stil not playing playstation game, and I now have sticky mess on fone!
    It is all the Jav fault. My fone supports jav games, thus must play playstation game.

  • How to convert .class into .jar file

    Hi,
    How to convert .class into .jar file

    jsf_VWP5.5.1 wrote:
    Hi,
    How to convert .class into .jar fileFrom a command prompt, cd to the location of your .class file(s).
    If you want to create a simple jar, use: jar -cf Whatever.jar Whatever.class
    If you want to compile all .class files in a directory into a jar, use *.class instead.
    Now, I'm going to assume you want to create an executable jar... here's how to do that:
    1) Create a blank text file; for this example, lets call it main.txt.
    2) In the first line of main.txt, type: Main-class: Whatever ('Whatever' should be the name of the class in your program where the main() method is located)
    3) Press enter to go to the next line (someone please correct me if I'm wrong, but if you don't insert the line break/CR after the Main-class: statement, this will not work... in my experience, this is true)
    4) Make sure you save this file in the same directory as your .class file(s).
    5) Type: jar -cmf Whatever.jar main.txt Whatever.class
    ...and that's about it. For more information on the usage of the jar command and to understand the switches (such as -cmf), try jar --help.
    Hope that helps.

  • How to convert .exe files to .dmg files, if possible??

    Hi all. Using a mac, im discovering that there are many software solutions available that do not come as .dmg files and therefore can not be played by macs. I was wondering if there is any software around that can convert .exe files to .dmg files, or something that can decompile and recompile in a different format? Thanks in advance

    The iBook G4 can't run Parallels because it is a PowerPC, and not Intel, but it can run these solutions to get Windows to run:
    http://www.microsoft.com/mac/products/virtualpc/virtualpc.aspx?pid=virtualpc - which Kurt already mentioned
    http://www.openosx.com/wintel/index.html
    http://darwine.opendarwin.org/
    http://www.iemulator.com/
    http://www.kju-app.org/kju/
    http://www.lismoresystems.com/ - GuestPC
    Mind you, you will need a copy of Windows on CD for all except the WINE solutions. WINE solutions though are not as compatible as the full Windows emulator and virtualization solutions.
    The iBook G4 is usually only fast enough to run Windows 2000 or older versions of Windows. If you want to run XP or Vista, you'll want a newer Intel Mac that was released 2006 and later. The Intel solutions are typically virtualization and not emulators. Those have other solutions for running Windows Applications listed here (some are the same as PowerPC, others are not):
    http://www.apple.com/macosx/bootcamp/
    http://www.parallels.com/en/products/workstation/mac/
    http://www.codeweavers.com/products/cxmac/ - a WINE like solution
    http://dosbox.sourceforge.net/news.php?show_news=1
    http://vmware.rsc02.net/servlet/campaignrespondent?ID=vmwi.1756
    http://www.openosx.com/wintel/index.html
    http://www.macosxhints.com/article.php?story=2006060201470077
    http://www.iemulator.com/
    http://www.kju-app.org/kju/
    Two programs which will open Windows executible ZIP files are MacZipit and Stuffit Expander. If neither can open those ZIP files, then in all likelihood it will need an emulator/virtualization solution above.
    I've made a list of software search engines on my Migrating from 9 to X FAQ* that you can find Mac native equivalent titles to Windows compatible titles.
    - * Links to my pages may give me compensation.
    Message was edited by: a brody

  • 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

  • How can i run a jar file as EXE on mouse click..

    *{color:#0000ff}how can i run a jar file as EXE on mouse click..is it possible in any way?????????{color}*

    amrit_j2ee wrote:
    *{color:#0000ff}how can i run a jar file as EXE on mouse click..is it possible in any way?????????{color}*Do you mean converting it from a jar file to an EXE file or do you mean that you would like to run the application by just double clicking it?
    If it's the latter then you need to make the jar file including a manifest.
    The manifest can be just a txt file with its content to be something like this:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    Created-By: Somebody
    Main-Class: NameOfTheMainClass
    Class-Path:
    X-COMMENT: Main-Class will be added automatically by buildTo make the jar file including the manifest, use something like this in your command prompt (of course you must have compiled your java file(s) first):
    jar cfm test.jar MANIFEST.txt NameOfTheMainClass.classAfter that you'd be able to run your application just by double clicking it.
    If you're a NetBeans user, you can build your standalone application by right-clicking your project and then going to properties => run => and choosing a Main class. After that right click on that project and "Clean and Build", locate the jar file in the "dist" folder and double click it =]
    Hope it helps,
    LD

  • How to convert a class file to exe file and how to cteate a class file to d

    how to convert a class file to exe file

    Hi Bhaskarq,
    Hi,
    It is not at all possible.
    But it is a really worst method.
    Please go through it.
    This is a very common question asked in the comp.lang.java newsgroup. Its often useful to have an
    executable application when deploying your
    applications to a specific platform, but remember to
    make your .class files available for users running
    Unix/Macintosh/other platforms.
    Microsoft provide a free system development kit (SDK),
    for Java, which includes the jexegen tool. This
    will convert class files into a .EXE form. The only
    disadvantage is that users need a Microsoft Java
    Virtual Machine (JVM) installed. If your target
    platform is Win32, you can either redistribute the
    virtual
    machine, or raise the level of your system
    requirements, to include Windows 98, or Windows 95
    with
    Internet Explorer 4. Systems matching these
    requirements will already have a copy of the Microsoft
    Java Virtual Machine installed.
    Note : You must specify all of the class files your
    application needs (except for standard java packges)
    as a parameter, so if you have third party libraries,
    you'll need to include them as well. You can use wildcards * though, and you don't need the original source code.
    Also please see this Forum which will give a good idea
    http://forum.java.sun.com/thread.jsp?forum=31&thread=149733
    I hope this will help you.
    Thanks
    Bakrudeen
    Technical Support Engineer
    Sun MicroSystems Inc, India

  • Any 1 know how to convert a class to jar??

    How to convert a class file to jar executable file??

    Here's a jar tutorial.
    http://java.sun.com/docs/books/tutorial/deployment/jar/index.html

  • How to convert jar in java

    hi plz help me out ....
    how to convert a java program into an jar file .....
    if u have tools just send it to me its urgent

    c:>jar -cvfm mymanifest MyJavaFiles.class

  • How to convert erl scripts into single exe file ?

    hi
    this is not related to java. Does anybody know how to convert perl scripts into exe file in non-readable format?
    regards
    venki

    I believe that ActiveState used to do a Perl compiler.....not sure if they still do and I don't think it was free anyway. Check around their website...
    http://www.activestate.com/

  • How to convert .jar to .app

    Does anyone know how to convert .jar to .app file for MacOS X?
    Thank you very much.

    I saw an article about that once on Apple's developer's site.
    Try looking over there.

  • How to convert to be a system

    can anybody teach me how to convert the program i do in JAVA be a executable program without open software like JCreator or windows prompt.

    can anybody teach me how to convert the program i do
    in JAVA be a executable program without open software
    like JCreator or windows prompt.Pack it into a JAR, associate the JAR with "javaw.exe -jar".

  • How to convert java class to dll file for using in Microsoft Technology(.n)

    hey hemmj !!!!!!
    nice replying , first of all i d like to say thanks for response me so frequently..... i like such type of guy... i d never forget ur online support.
    hey buddy, i ve a problem with applet application...
    i m working on java chat server build on swing applet. As it is chat server, it is divided into two parts, one is server application and other is client application. I want to run this server app on the client server and the basic thing with this site is that it is running on .net platform(Microsoft). and the other app ll running on the client machine or end user. Now the problem is that this site would run only if the server app ll be run on server. This server app ll open the socket of server, which ll listen the request of the user...... So, the requirement is to convert this java sever class file into dll file and register this dll file with the IIS server.So, It run and stop with the IIS server.
    I ve already search the way to convert the java class file into dll file. This is possible in such way........... below code is for the java class file...
    import java.net.*;
    import java.io.*;
    import java.util.*;
    public class chatServer
    public static void main(String args[]) throws Exception
                        ServerSocket sersoc=new ServerSocket(1234);// Any port number above 1000 should do
    // as most ports below 1000 are used by system
    Vector socvec=new Vector();
    String data="";int i,j=0;
    BufferedReader in;
    //System.out.println("Listening of port " + sersoc.getLocalPort());
    //System.out.println("Waiting for connections...");
    while(true)
    Socket soc=sersoc.accept();
    socvec.addElement(soc);
    chatServerReadThread csrt=new chatServerReadThread(socvec, soc);
    in=new BufferedReader(new InputStreamReader(soc.getInputStream()));
    PrintStream out=new PrintStream(soc.getOutputStream());
    out.println("Connected to chat server");
    out.flush();
    data= in.readLine();
    for(i=0;i<socvec.size();i++)
    soc=(Socket)socvec.elementAt(i);
    out=new PrintStream(soc.getOutputStream());
    out.println(data + " connected");
    out.flush();
    //System.out.println(data + " connected");
    csrt.start(); // error is comming from here..... plz help me.
    class chatServerReadThread extends Thread
    Vector socvec;
    PrintStream out;
    chatServerReadThread(Vector socvec, Socket soc)
    this.socvec=socvec;
    try
    out=new PrintStream(soc.getOutputStream());
    }catch(Exception e){}
    public void run()
    try
    String data;
    Socket soc;
    BufferedReader in;
    while(true)
    for(int i=0;i<socvec.size();i++)
    soc=(Socket)socvec.elementAt(i);
    in=new BufferedReader(new InputStreamReader(soc.getInputStream()));
    if(in.ready())
    try
    data=in.readLine();
    if(data.charAt(0) == ']')
    data = in.readLine() + " exited";
    //System.out.println(data);
    socvec.removeElement(soc);
    for(int e=0;e<socvec.size();e++)
    soc=(Socket)socvec.elementAt(e);
    out=new PrintStream(soc.getOutputStream());
    out.println(data);
    out.flush();
    else
    for(int e=0;e<socvec.size();e++)
    soc=(Socket)socvec.elementAt(e);
    out=new PrintStream(soc.getOutputStream());
    out.println(data);
    out.flush();
    }catch(Exception e){socvec.removeElement(soc);}
    }catch(Exception e){e.printStackTrace();}
    first i ve made the jar file of this class
    jar cvf chatServer.jar chatServer.classafter getting the jar chatServer.jar. I ve opened the .net dos prompt and
    type this command which ll make dll file automatically....
    > jbimp /t:library chatServer.jar
    And you'll see the following output:
    Microsoft (R) Java-language bytecode to MSIL converter version 1.1.4322.0
    for Microsoft (R) .NET Framework version 1.1.4322
    Copyright (C) Microsoft Corp 2000-2002. All rights reserved.
    Created chatServer.dll
    I cant get the problem origin from where it is comming, when i tried to convert it into .dll file it shown an error that, it did not recongnized the method in first class
    public static void chatServerReadThread.start() method
    is not recognized by .net dos prompt commnad. But when i omit this method it gets created the .dll file. This start method is basically the default method of thread class that run the thread from the same class..
    By vewing the code u can visulize the thing,, i ve marked the code from where the error is comming.
    Plz do it as soon as possible, i ll waiting for ur reply......
    I ll be really thanking u for that....
    Thanx and regards
    Niraj Kumar Singh

    I wonder if this will work:
    jbimp /t:exe chatServer.jar
    Your chatServer is an application that can be started from the commandline.
    A dll is a library to be used in com, com+, other executables or ....

  • How do I make a jar of netbeans (or anything big)?

    I was searching for a jar file of netbeans and instead found a different installation file per operating sytem. I am not complaining about this but I want to make a jar out of this (or another big problem) for the sake of learning how (a jar actually does have some benefits like bringing a program on a flash drive and making sure it works on all operating systems and CPU architectures). For small programs that I made myself, I basically have to make the class files in lets say directory "programDir" (without the quotes). I then make a file called x.mf and in it put "Main-class: MyClass" (without the quotes) followed by the "jar -cmf x.mf nameOfJarFile.jar *.class" command (without the quotes).
    I think the process is made more difficult when involving packages? So apart from the package issue, I think all I need to do is *1)* find the source code of lets say netbeans *2)* figure out which is the class with the main method in it.
    And yes, I have trouble finding the source code of netbeans! I downloaded the "OS-independent zip" and found a few .java files but it didn't seem to be the entire program!
    Any input would be greatly appreciated!
    Thanks in advance!

    s3a wrote:
    Why is it a bad example? To me it seems to be a very good one because like in Physics or ChemistryWell, we also do things in Poetry, but those have nothing to do with programming.
    I tried with a "toy application off my own" and I am having problems so maybe you can help me there? I have two java files each of which get compiled to class files and then converted to a jar correctly but once I add the line package SudokuPackage; at the top then the class files still get compiled but the jar file made is not one that works.
    When I remove package SudokuPackage; I have Main-class: SudokuDriverCode in the x.mf file but when I add package SudokuPackage; at the top of my java files and then compile (and use Main-class: SudokuPackage.SudokuDriverCode in the x.mf file), the jar does not work.
    How would I make programs with packages work?So what's the error message?
    Also package names are lowercase by tradition.
    Also, doesn't Netbeans have an install wizard? It's not distributed around as a regular jar.
    You need to get your basics straight before you start thinking of anything advanced.
    Edited by: Kayaman on Nov 7, 2010 8:07 PM

  • How to install .exe applications and the java on m...

    hi ! sorry if this has already been discussed but i wanted to know ~~~ how to install .exe applications and the java on my n9 ~~~ ... because i wanted to use plenty of other apps which are not supported  but these 2 would help fix the issue

    Is it stil not possible to install java applications on N9?
    Files containing JAD and JAR-ending in the file name.
    I am not familiar with Nokia N9 so I ask even if I suppose that JAR and JAD files are not able to install on a Nokia N9.
    Nokia 808 again (delight Belle), Nokia E7 and X7 ( again, all on Delight Belle...after some time on Nokia Lumia 925 (retired), 1020 (not that great)and Lumia 820 (Replaced my router at home, great for internet sharing).., N9 The best device ever (use it as much as Lumia 1020), Nokia 700 (Sport Phone/My Love :-) ) Nokia 701, Nokia E6 (Should have a follow-up from Nokia among with larger screen, NFC, Autofocus), Lumia 800 (Retired After 6 weeks), -Sports Tracker-Nokia Internet Radio-Handy Safe-Skype-Bambuser-Screenshot app pro-fMobi-ComingNext-Manual TaskSwitcher-jagiTimer-Easy StopWatch-Boldbeast-Equalizer-Financial Calculator-WiMP Music-YTasks-Davi-Thumbnail Folders-BizCalendar-Tiny7-Situations-nn reeder-Sport Timer-CameraLover-CameraPro-GrabRadio-LiveScore-Poddi-Gravity-SkyFilesPro

Maybe you are looking for

  • Packaged webapp won't show main page on both beta and fennec nightly

    i'm trying to install a webapp from http://www.unixmedia.it/webapp/ following the docs. The webapp consist in just an "hello world" where i have a single page app and lauch_path to /index.html trying to download the app by wget https://controller.apk

  • Problems with the sound - headphones in Macbook!!

    Hi! I have one of the lastest Macbook, with Core 2 Duo 2,16 Ghz, and I have the first problem (hope the last one ) . I usually use the headphones out to connect the music to large speakers and listen to the music louder, but when I go out and use the

  • Transferring files from failing world book to time capsule.

    I have a old world book that im assuming is starting to fail. It will only stay powered on for 20 minutes or so and then power itself off and the only way to get it back on is to unplug the power cord and plug it back in. I am a ever progressing amat

  • Configuring email alerts in Ops Center

    Hi all, I have been struggling quite a while to get email alerts working from Ops Center with no success in 11g nor 12c. In the Ops Center GUI, Administration -> EC -> Local Users -> configured user to receive all alerts and emails. I have also confi

  • How do I install the documentation in /usr/share/docs

    My question is: How do I install the BDB documentation in /usr/share/docs (rather than in PREFIX/docs)? I tried to configure with --datadir=/usr/share, but the installer still tries to put the documentation in PREFIX/docs. Regards, Angel Tsankov