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

Similar Messages

  • I made a picture collage in pages from the pictures in iPhoto.  You used to be able to print and then say save as a jpeg to iPhoto and that option is gone.  How do you turn your document into a jpeg now.

    I made a picture collage in pages from the pictures in iPhoto.  You used to be able to print and then say save as a jpeg to iPhoto and that option is gone.  How do you turn your document into a jpeg now?

    If you chose print, you can save as PDF. If you open the saved PDF in preview, you can save as JPEG, GIF, PNG. FYI you can crop in preview.
    Another option is you could use command + shift + 4 to do a screen shot of a specific part of of the screen.

  • How do you turn a string into an integer?

    how do you turn a string into an integer?
    for ex, if i wanted to turn the string "5" into the integer 5, how would i do that?

    String stringNumber="5";
    try{
    int number=Integer.parseInt(stringNumber);
    }catch(NumberFormatException e){
    System.out.println("The string "+stringNumber+" must be a number!");
    }

  • How do you turn a List into a String?

    Hi,
    Have a simple question for all of you out there, hope you can help:
    How do you turn a list of words into a string?
    For example:
    List matchList = new ArrayList();
    matchList.add(word 1);
    matchList.add(word 2);
    matchList.add(word 3);
    String s = matchList(all of the words)How is this possible?

    but how would i go about doing that? Thats what i am
    askingIf you don't know how to iterate over a list, see this tutorial: http://java.sun.com/docs/books/tutorial/collections/If you don't know how to use StringBuffer, it should be somewhere in one of the links under Resources for Beginners at http://www.thejword.com/3.html#beginner_resources

  • How to compile the java code into machine execution code?

    Does anyone can tell me how to compile java code into machine execution code on specific OS platform such as Windows2000 , UNIX �Ketc.
    Thanks a lot !

    Hi SIR
    It is very kind of you to give me so great informatin!
    Thanks a lot!
    Caton

  • 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

  • Turn a script into an .exe file?

    Hi,
    How can I turn a JavaScript into an .exe file (on Windows)? The
    advantage is that if the script uses only ScriptUI features, it will
    never need to launch InDesign. Additionally, it is possible to package
    it that way with a special icon that appears if it is placed on the
    desktop, and when it runs the icon appears in the taskbar.
    An example of what I'd look to achieve is the hyphenchecker script,
    written by the late Teus de Jong. There is one Windows-only version
    available on his website (which is still being maintained, probably by
    his son) which is an .exe file -- precisely what I'm trying to do.
    Thanks,
    Ariel

    straight form javascript i don't think there is a way.
    however you can use, i think, Visual Basic (not vbScript!!) as a wrapper for js (using doScript)?

  • How can i rewrite this code into java?

    How can i rewrite this code into a java that has a return value?
    this code is written in vb6
    Private Function IsOdd(pintNumberIn) As Boolean
        If (pintNumberIn Mod 2) = 0 Then
            IsOdd = False
        Else
            IsOdd = True
        End If
    End Function   
    Private Sub cmdTryIt_Click()
              Dim intNumIn  As Integer
              Dim blnNumIsOdd     As Boolean
              intNumIn = Val(InputBox("Enter a number:", "IsOdd Test"))
              blnNumIsOdd = IsOdd(intNumIn)
              If blnNumIsOdd Then
           Print "The number that you entered is odd."
        Else
           Print "The number that you entered is not odd."
        End If
    End Sub

    873221 wrote:
    I'm sorry I'am New to Java.Are you new to communication? You don't have to know anything at all about Java to know that "I have an error," doesn't say anything useful.
    I'm just trying to get you to think about what your post actually says, and what others will take from it.
    what does this error mean? what code should i replace and add? thanks for all response
    C:\EvenOdd.java:31: isOdd(int) in EvenOdd cannot be applied to ()
    isOdd()=true;
    ^
    C:\EvenOdd.java:35: isOdd(int) in EvenOdd cannot be applied to ()
    isOdd()=false;
    ^
    2 errors
    Telling you "what code to change it to" will not help you at all. You need to learn Java, read the error message, and think about what it says.
    It's telling you exactly what is wrong. At line 31 of EvenOdd.java, you're calling isOdd(), with no arguments, but the isOdd() method requires an int argument. If you stop ant think about it, that should make perfect sense. How can you ask "is it odd?" without specifying what "it" is?
    So what is this all about? Is this homework? You googled for even odd, found a solution in some other language, and now you're just trying to translate it to Java rather than actually learning Java well enough to simply write this trivial code yourself?

  • How can you turn off the braille setting on an iPhone 4s, once on it won't let you slide the phone into use mode to change the settings or do anything?

    How can you turn off the braille setting on an iPhone 4s, once on it won't let you slide the phone into use mode to change the settings or do anything?

    An alternate method is Accessibility Settings when connected to iTunes. You should be able to turn it off there. I would also check out some of the answers listed to the right of this post and see if they can help.

  • "How do you turn text into a hyperlinx can't find menu at top in Muse

    "How do you turn text into a hyperlinx can't find menu at top in Muse

    Hello,
    In order to turn a tet into Hyperlink, you first need to select the text and then in the toolbar look for "Links" option. Click on the dropdown and either select one of the pages or type in your own link.
    Please have a look at the video below : http://trainingwebcom.worldsecuresystems.com/SachinFTP/2013-02-15_1945.swf
    Hope this helps.
    Regards,
    Sachin

  • Turning a Java applett into a  *.exe

    How do you turn a Java applett into an *.exe?

    Have a look at http://gcc.gnu.org/java/. Its not complete, and I've never tried it on Windows, but it kinda works for linux.
    The other thing you could do is create a C/C++ wrapper that starts a JVM and runs your main class. http://www.kcmultimedia.com/javaserv/ has some GPL code for doing this for an NT service, but the principle is the same for non-service apps.

  • How to get the java code of the message mapping

    how to get the java code of the message mapping,
    I mean to ask how to get the background java code of the message mapping(graphical mapping).
    And where to view it?

    Hi Satya,
    The JAVA code for graphical msg mapping is in below folder:
    \usr\sap\<SID>\<DVEBMGS10>\j2ee\cluster\server0\temp\classpath_resolver
    Here all the mapping jars are there in this folder.
    Just decompile these jars and you can see the code.
    Thanks,
    Rajeev Gupta
    Message was edited by:
            RAJEEV GUPTA

  • How can I add advertisement code into flash game?

    hi mates,
    just want to ask about loading advertisement code!
    How do you add the advertisement code (adsense) into flash games??
    my site Funny Games have over 5k games but they are getting from others sites thus I have no original files. How can I add more code into the current files?

    Unless the games were pre-made to allow you to specify some variables in the page code or some external file, you won't be having any luck... you cannot add code to the games unless you have the source files, which you apparently don't have.

  • HT200154 how do you turn off the apple TV box?  There doesn't seem to be an off button.  The status light stays on.

    how do you turn off the apple TV box?  There doesn't seem to be an off button.  The status light stays on.

    Usually, when you put it to sleep mode, the status light will turn off.  To put it into sleep mode, go to Settings.
    If you want it completely off, then I guess the only way to do it is to pull the electric plug.

  • How to view the java code of the message mapping,

    Hi Experts,
    <b>how to view the java code of the message mapping,</b>
    how to get the background java code of the message mapping(graphical mapping).
    And where to view it?

    Hi sowmya,
    Open any  Message mapping in IR. Press <b>CtrlShift0(zero)</b> to open a new menu.
    There you will find an option "Is Java Source Code Available?"
    There will be an export button nearby. Use it to get the code.
    Open it in a zip , you will see the hide java code.
    The JAVA code for graphical msg mapping is in below folder:
    \usr\sap\<SID>\<DVEBMGS10>\j2ee\cluster\server0\temp\classpath_resolver
    Here all the mapping jars are there in this folder.
    Just decompile these jars and you can see the code.

Maybe you are looking for

  • How to connect apple tv to older tv's through dvd player?

    Is there a way to connect the apple tv to an older tv through a dvd player or just to the tv? thx

  • IMessage iOS 8 "Leave group Conversation" not working

    I've been trying to use the "Leave group Conversation" feature of the "Details" page of iMessage in iOS 8, and I cannot get it to work. I've reset my network settings, logged in and out of iCloud, and restarted the phone. No luck. Is anyone else havi

  • Inheriting or receiving Listiners

    OK I'll work this nice an simple I have a gui component [a jar] of frames, panels, menus, etc. To create [instanciate] one of my nice gui's I simply import myPak.GUIstuff; & MyNiceGUI g = new MyNiceGUI(); All of the above is fine, no hassle an stuff.

  • Can't get jsf working on OC4J

    Hello, I have been trying to get the jsf examples to run OC4J 10g Preview 2. I deployed the jsf-cardemo war file, changed the application.xml and http-web-site.xml. I think the problem is with the taglibs for basic html and jsf core. In the web.xml,

  • Retrieve data from different database

    Hi all, I have 2 database servers, servar a and server b, i created a form from server a table, in the same form i have a LOV, i want to see data in this LOV from server b table. how i can do it ? thanks Noman