Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Oct 2003
    Location
    SC
    Posts
    936
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Java and the extention .exe

    I am new to java and I was wondering if I could convert my class file into a exe file which could also work on PC's that do not have java installed. Basically a real program like Mozilla, Microsoft word, paint....

    Is that possible with java???

    If so how?

    --------------------------Off topic (didnt want to start a new post )---------

    can I go back from a class file to a java file?
    and how can i directly embed a class file (instead of importing it) into my programm???


    thanks alot
    Last edited by JAVAEOC; 06-05-2004 at 08:20 PM.

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    Kansas City, Kansas
    Posts
    1,518
    Thanks
    0
    Thanked 2 Times in 2 Posts
    I did a quick google search and discovered that this can be done. Take a look at this site: [http://www.duckware.com/jexepack/] or do some googling yourself.
    Last edited by Antoniohawk; 06-06-2004 at 07:16 PM.

  • #3
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,273
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Java was not designed to work in that manner. It was designed to be portable across any platform without having to be recompiled. If you want to create standalone programs for Windows then use C or C++. Java has to have a Java Virtual Machine installed on the computer in order to run. There's no way of getting around that. There are some standalone Java programs however you must include a JVM with it which drastically increases the size of the program. If you want your Java program to be able to run by clicking on an icon then just create an executable jar file. You will still need the JVM installed.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #4
    Regular Coder
    Join Date
    Dec 2003
    Posts
    367
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, there are native code compilers for Java, like JET. I have never used it, though.

    shmoove

  • #5
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,273
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Excelsior JET is a Java VM
    Just so we are clear on that.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #6
    Regular Coder
    Join Date
    Oct 2003
    Location
    SC
    Posts
    936
    Thanks
    0
    Thanked 0 Times in 0 Posts
    thanks to al of you


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •