+ Reply to Thread
Results 1 to 10 of 10

Thread: Java to exe?

  1. #1
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Java to exe?

    So, I made a program that is finished now, and I want to release it. Anyone willing to help me to export it as an installer/application (exe)?

  2. #2
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

  3. #3
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: Java to exe?

    It was a quite interesting article there!
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  4. #4
    jtwhite's Avatar
    jtwhite is offline Community Advocate jtwhite is on a distinguished road
    Join Date
    May 2009
    Location
    TN, USA
    Posts
    1,381

    Re: Java to exe?

    I don't think it's possible. The installer would just put the .jar file in C:/program files/name/file.jar, and create a desktop shortcut to that file?
    If I have helped you, please add to my reputation () on the bottom left corner of this post.
    jtwhite.me - Visit my site :D

  5. #5
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495
    I already done it lol. I used launch4J

    Quote Originally Posted by jtwhite View Post
    I don't think it's possible. The installer would just put the .jar file in C:/program files/name/file.jar, and create a desktop shortcut to that file?
    no, it puts the .jar inside the .exe
    Last edited by galaxyAbstractor; 10-04-2009 at 03:27 AM.

  6. #6
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: Java to exe?

    Quote Originally Posted by vigge_sWe View Post
    I already done it lol. I used launch4J



    no, it puts the .jar inside the .exe
    Have you read that article? It's very interesting :p

  7. #7
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: Java to exe?

    Quote Originally Posted by marshian View Post
    Have you read that article? It's very interesting :p
    the no .exe was one of the problems I had with coding in JAVA, I might learn it for real now.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  8. #8
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: Java to exe?

    Quote Originally Posted by xav0989 View Post
    the no .exe was one of the problems I had with coding in JAVA, I might learn it for real now.
    AARGH
    Does anyone even get the most important point of the article?
    Why would you do such a thing? Java is designed to be portable to many platforms, making it into a Windows executable is usually a waste of time and loss of possibilities...

  9. #9
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: Java to exe?

    Quote Originally Posted by marshian View Post
    AARGH
    Does anyone even get the most important point of the article?
    Why would you do such a thing? Java is designed to be portable to many platforms, making it into a Windows executable is usually a waste of time and loss of possibilities...
    imo, make one exe for stupid windows users and a jar for linux users. There are a lot of cons with .jar:
    • You need JRE already installed
    • Windows users doesn't know what it is and suspects it's a virus
    • easy to see the code, just unpack it with winrar
    The only pro I can see with .jar is that it's cross-platform

    As you seen how I packed the archive in the image before, marshian, with the CMD command, I thought making an .exe wouldn't hurt as the app already was windows only. But now I'm going to do an exe and a jar.

  10. #10
    marshian's Avatar
    marshian is offline x10 Elder marshian is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Belgium
    Posts
    526

    Re: Java to exe?

    I give up.
    Have fun, learn about Java some other time.

    xav0989, if you want to build native applications try learning C++.

+ Reply to Thread

Similar Threads

  1. Java Problems
    By runeps in forum Programming Help
    Replies: 5
    Last Post: 08-13-2009, 01:43 AM
  2. VPS - JAVA JDK Help
    By allofus in forum Programming Help
    Replies: 12
    Last Post: 03-14-2009, 12:09 PM
  3. Java
    By Rhianna in forum Scripts & 3rd Party Apps
    Replies: 4
    Last Post: 03-07-2009, 06:22 PM
  4. Anfy Java Applet Online problems
    By Tharu in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 08-02-2008, 09:05 PM
  5. Java Tutorial for Beginners.
    By satheesh in forum Tutorials
    Replies: 0
    Last Post: 10-27-2007, 06:40 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers