Creating exe files from java files

Hi all.
I've created a Java GUI file and I want to create an exe file of it, so i can just double click on the icon and opens up..
Anyway as to how i could do this?
Hope to hear from anyone. Would be a great help
Kind Regards,
Raheal

http://forum.java.sun.com/thread.jspa?messageID=9783924

Similar Messages

  • Getting error while creating exe file from my VI.

    Hi,
    I am trying to build the exe file of my VI. I tried to follow the instructions in Help ( Example: Building a
    Stand-Alone Application) but instead of creating exe file, it is creating folder containing my all VI and VI from Application Builder.
    Kindly Help me.
    Thanks and Regards,

    It sounds like you might have accidentally selected to create a source distribution instead of an application. That's different from an application. A source distribution basically makes a copy of your VIs into another location so that others can use them for VIs they create. When you expand the Build Specifications tree the icons indicate what kind of build you're creating. An applicaiton has an icon that looks like a tiny window with a title bar. A source distribution has an icon that looks like a folder with the Add function in the upper right:
    Attachments:
    app vs source.PNG ‏3 KB

  • Create .exe file for core java project

    how can i create .exe file or wrapper for my core java project

    cotton.m wrote:
    To be honest with you this is going to be very difficult at best.
    And I'm not sure it's entirely realistic or legal. You'll need to install Tomcat and MySQL and all your stuff...Haven't ever tried doing so, but I think it might be quite possible sollution...
    There's a preconfigured version of Tomcat, that you simply unzip on the drive (so there's no nned of running installator).
    If OP would use some MySQL server's clone, that needs no installation (some time ago i was looking for thing like thatand found couple of those).
    All configuration (installing services etc.) as well as copying JSPs and other stuff to Tomcat dirs can be made with script files (.bat or whatever) or under another java application that will run all the commands...
    As cotton.m wrote... if it works, it's going to be hell lot of work...

  • How to create .exe file of the java program you create?

    This must be the qustions asked several time on the forums.So here it is again.
    This sounds absurd to some developers here cause you'll say just create jar file and distributre to usr but sometimes there is not possiblity of having runtime environment in windows computers.So if we can bundle the enviroment and the setup together then packing into exe and then distribute like most of commercial java application sounds better.But the problem is how to do that?
    Ok creating exe will increase the size but that doesn't matter,if there is any freeware tool to accomplish just that?

    Check this out:
    http://search.java.sun.com/search/java/index.jsp?qp=%2B
    orum%3A31&nh=10&qt=create+exe+file+program&col=javaforu
    s

  • Creating .exe file

    Hello
    Is there any method by which I can create an exe file for distribution of my application. The current method for distribution is to make a jar file and then to run it using java -jar option. But it is a bit difficult for a novice user. If someone can help me out and tell me a method for creating exe file for my project.

    I found Jet pretty much unusable for larger applications
    The compiler it uses is buggy, and doesn't manage memory well at all, leading to frequent unrecoverable crashes. and it's SLOW
    Far easier to download a java launcher application, there are several available, or fork out for InstallShield for Java for example.
    McF

  • Creating exe file for fmx file

    can anyone tell me that how can I convert my form developer in oracle forms 6i from fmx to exe format ?

    Alissa , u have to be reasonable , no way to create exe file from Oracle Forms .
    and if it's like this no need for reports,forms run time files !!!
    null

  • Create web service from java code in Jdeveloper 11.1.1.5

    I am try to create web service from java code by default it is connected to Integrated web logic server and generate a
    WSDL like this.
    http://localhost:7101/javaexcel-project1-context-root/MyWebService1Soap12HttpPort.
    please tell me how we can change this local host to our needed Host and how to deploy this web service to web logic server.

    Hi,
    Just right click on your project and deploy it to your application server (Weblogic Server (Not the Integrated server)). {Before that, you have create your Application server connection in the Jdeveloper).
    After deployment open the Admin console of the weblogic server and find your ear of the project.Click on that (Go to the "Testing tab") and you will get the "WSDL" (Concreate wsdl)  and "Test Client" of the Project.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to Create adf table from java bean

    Hi,
    How to Create adf table from java class (Not from ADF BC).
    Thanks
    Satya

    @vlsn -- you have to follow what shay said.
    Do the following in Model layer ::
    create a table property java class with your columns setters and getters like :
    *public class gridProps {*
    private int sno;
    private String orderNum;
    *public void setSno(int sno) {*
    this.sno = sno;
    *public int getSno() {*
    return sno;
    *public void setOrderNum(String orderNum) {*
    this.orderNum = orderNum;
    *public String getOrderNum() {*
    return orderNum;
    Create another table java class which will populate the values to your column values and return the collection :
    *public class gridPopulate {*
    private  List<gridProps> gridValues ;
    *public List<gridProps> setToGrid(ArrayList<ArrayList> valuesToSet) {*
    *if (valuesToSet == null) {*
    return gridValues;
    gridValues = new ArrayList<gridProps>();
    if(btnValue.equals("completeBtn"))
    return gridValues;
    for(ArrayList<String> tempArr:valuesToSet)
    gridProps gp = new gridProps();
    gp.setSno(Integer.valueOf(tempArr.get(0)));
    gp.setOrderNum(tempArr.get(1));
    return gridValues;
    Right click gridPopulate class and create this as data control.This class will be seen in Data control list.Under this data control,Drag the grid property collection(created earlier) to your page.Then execute your binding(gridPopulate) according to your logic.
    Thanks.(My jdev version 11.1.1.5.0)

  • Create exe file in forte?

    I am new in Forte. looking for some help to create an exe file from my java class file, so I can run the program by running the exe file.
    any help would be appreciated.

    First sorry for my English.
    Second, from Forte no way as far I know. However there is lot of better or worse and rather expensive programs on I net that could do it.
    Use Google with Java to exe, java native ... it should give some insight to You.
    I would rather recomend to use *.bat files - if you can use Windows.
    It is worth of notice that java-exe COULD be slower than JVM. And one more thing. exe files are longer than packed class files.
    So if you are new I do not recomend you idea. There are sometimes need for java-exe files, but that are rather specifical cases....
    If you are still interested, try visual cofee, visual age, or GJC.

  • Embed the JRE while creating exe file

    I am using jar2exe software to create the exe file from the jar file. The exe is created successfully using this software. However it requires the JRE should be present on the machine where we are going to install the software.
    Is there any body who knows how to embed the JRE while creating the exe so that there should not be any need to have the JRE on the machine?
    Is there any other approach by which we can create the exe file from the jar and JRE should be there in the exe file?
    Thank you.

    All jar2exe does is use a JNI (C to java) wrapper around your call. That means a VM is still required.
    The Sun VM at least requires a number of shared libraries and jar files to run. The shared libraries must either be in the file system or already loaded into the application.
    You could put those as a resource into the shared library but you would then need to figure out, via OS calls (not java) how to load them.
    Is there any other approach by which we can create the exe file from the jar and JRE should be there in the exe file?Options
    1. Find another tool besides jar2exe
    2. Install the VM - it need only be in the exe directory.
    3. Forget the exe idea and just use java.
    4. Figure out, which might be impossible, how to load the shared libraries and jars as resources from the exe. Again this is NOT something you can do in java.

  • How to create exe file

    In one of my project, I need to create an exe file that can call swing application. I know this can be done is C++. ANy idea or suggestion to achieve this using java.
    regards,
    Ranjan

    It is a normal text file u can use notepad to create it and save with mft extention
    Sample.mft
    Main-Class: Sample
    Sample.java
    import javax.swing.*;
    public class Sample extends JFrame
          public Sample(){
                 super("Sample");
          public static void main(String args[]){
                 Sample s = new Sample();
                 s.setSize(400,400);
                 s.setVisible(true);
    Command
    jar -cmf Sample.mft *.class

  • Creating .exe files

    how do you convert a set of .class files into one windows exe file... doing this will ensure that your code runs on all windows computers regardless of what version jdk they have right??

    This is a common question. The answer is: you don't want to. Honestly. I know you think you do but you don't. What you actually want to do is create an executable jar file, and if you want a nice icon on it create a shortcut and make the shortcut have an icon.
    If you REALLY have a good reason for creating an exe look here:
    http://forum.java.sun.com/thread.jspa?threadID=468082&messageID=2155709
    ... where it's already been discussed.
    There are nicer solutions to distibuting your java, but you'll need to do some research. Try googling for:
    java native wrapper
    jlauncher
    distribute java applications

  • Please help me to create .exe file for my VI.. thanks in million

    Dear all,
    The software I have is LV6.1 full version, so I cant make .exe file.
    Can someone help me to crate .exe file for the attach library thanks.
    I need it for my presentation and the skol PC dont have LV.
    if the file is big, pls send to [email protected]
    thanks in million.
    maymaythar
    When you feel sad, laugh
    Attachments:
    voltage regulator analysis.llb ‏687 KB

    As has been mentioned, you need LabVIEW professional or higher. (If you only have base or full, you need to buy the application builder extra).
    Building an application is as easy as selecting "tools...built application or shared library", and specify the desired source VIs, built settings and installer settings.
    All diagrams and unneeded front panels are removed. The process is thus irreversible and you cannot recreate the original VIs from the application.
    LabVIEW Champion . Do more with less code and in less time .

  • 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]

  • Run a EXE 'safely' from java

    I want to run a EXE from java code. I did it using Runtime.getRuntime.exec("")...
    but is there a way to prevent the EXE from modifying the files already on the system...I mean the EXE is from a untrusted source......so it may do some malicious activities...is there a way I can stop the EXE from modifying the contents of other files......
    Thanks.

    The people here are volunteers. They post answers for whatever reasons.
    but is there a way to prevent the EXE from modifying the files already on the system...That question has nothing to do with java. Nor really any programming language for that matter. It is an OS question and one that is specific to the OS.
    When an executable is called in java the OS creates another application. Just as if you ran it yourself.
    So the question is whether your OS allows that.
    Given that you said "exe" I presume you mean windows. And that limits your answer to windows users. So you would need a windows user created, which only has read permissions on the system. Then you figure out a windows command that lets you run an application as another user. I am not sure that such an app comes with windows but it if doesn't it can be coded - in C/C++ not java.

Maybe you are looking for

  • Nav buttons not working in swf preview

    the rollover works but buttons don't function in swf preview. They do function in exported pdf (but not the animations). Questions: 1. is that normal? 2. Do all animatuons need to be exported and reinserted into the pdf? thanks

  • Vendor Evaluation - GR Cancell handling

    Dear All, Vendor Evaluation scores are calculated for each goods receipt carried out. However, if I goods receipt is posted incorrectly and the GR is subsequently cancelled the on-time delivery score is not reset. Please advise whether there is anywa

  • Under line in Sap Script

    Hi Experts, can body let me know how can we underline for word or sentence in sap script out put? Regards

  • MIDP 2.0: Problems on real device

    Hi All, im experiencing an issue with my small midlet. I wrote it using NBeans5Beta and tested on WTK 2.3 and it worked fine- without any exceptions beeing thrown etc. But on real device I have - Moto V600 (MIDP 2.0, CLDC 1.0) it crashes in some stra

  • MacBook Pro 15" Retina (Mid 2012)

    My macbook heats up like crazy when i watch youtube - the same with Safari or Firefox, Chrome... i do not understand this! this is not cheap laptop, it has 4 core i7 processor with NVIDIA GeForce GT 650M 1024 it is not slow, but when i open youtube t