• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

how to make .exe file in java swing

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello buddy anyone can help me
i want to make .exe set up in java swing, i had made .jar but i need a .exe format to install in any system.

so, please help me
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please do take out time to CarefullyChooseOneForum The forum you have posted in, is for Servlets. I will move this topic over to a more appropriate forum for you.

Saurav Suman wrote: but i need a .exe format to install in any system.


You have it wrong. .exe is limited to Windows platform. .exe extension won't work as "executables" on non windows platforms.
 
Saurav Suman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is it helpful to make executable file in java swing
 
Saurav Suman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Maneesh Godbole wrote:Please do take out time to CarefullyChooseOneForum The forum you have posted in, is for Servlets. I will move this topic over to a more appropriate forum for you.

Saurav Suman wrote: but i need a .exe format to install in any system.


You have it wrong. .exe is limited to Windows platform. .exe extension won't work as "executables" on non windows platforms.




it is a window based apps, developed in java swing and awt
 
Saurav Suman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please help me i am a leaner
i can make executable file (.exe) in java swing or not ?

my program is running through single click on .bat file, but i want to make a .exe file all in one , so if anyone know about it then help me please, all the code are developed in java swing and awt
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even if it's Windows-only, what benefit would there be in making an .exe file? That's what double-clickable jar files are for. (And just to be clear, for most practical purposes the answer is "no, you can't do that", nor, I suspect, do you actually want to do that, even if right now you still think you do :-)
 
Maneesh Godbole
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Saurav Suman wrote:is it helpful to make executable file in java swing


You cannot "make executable file" in java swing. Like I mentioned before exe files will tie you down to the windows platform. Since Java is platform independent, the recommended approach is self executable jar files which you mentioned you already have. Just like any "exe", this jar can be double clicked to bring up the application (provided JRE is installed)

Frankly speaking, what you are posting here is a bit confusing for me. What exactly is the problem you are trying to solve here?
 
Saurav Suman
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Maneesh Godbole wrote:

Saurav Suman wrote:is it helpful to make executable file in java swing


You cannot "make executable file" in java swing. Like I mentioned before exe files will tie you down to the windows platform. Since Java is platform independent, the recommended approach is self executable jar files which you mentioned you already have. Just like any "exe", this jar can be double clicked to bring up the application (provided JRE is installed)

Frankly speaking, what you are posting here is a bit confusing for me. What exactly is the problem you are trying to solve here?



i want to make setup file like as any software(jdk setup, vlc media player), which can be run any system copy a setup file(one file), and can run in own system.
Basically like as any software/tools setup file(in .exe format)
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are various Java installers available; install4j, izpack, advanced installer for java etc. Searching for "java installer" will find more.
 
Ranch Hand
Posts: 530
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This should be easy. There are several tools out there to help you like Ulf mentioned. Also, I used JLaunch in the past and it's quite good.
 
Please enjoy this holographic presentation of our apocalyptic dilemma right after this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic