Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

.exe file

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how to make a .exe file of my project..
i have made my project in netbeans..
i have used mysql database also..
thn how to use database files in making .exe
also i dont know where my database files resides .. i searched for that but could not found anything..
i also have entity classes and pesistence.xml file
.. please help someone ..
any help will be appriciated .. thanks in advance..
 
Rancher
Posts: 1044
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
> how to make a .exe file of my project..

For example by programming in C++ and using a C++ compiler.
 
Neha Kaushik
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have used java programming and jvm
 
Ivan Jozsef Balazs
Rancher
Posts: 1044
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can build a runnable jar file which is a fine replacement for an .exe file in most cases.
Provided the Java runtime is available in the target environment.
 
Bartender
Posts: 2270
20
Android Java ME Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Neha,

You can use exe wrappers to create exe files. for e.g. JSmooth

http://jsmooth.sourceforge.net/
 
lowercase baba
Posts: 13091
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An .exe file can only run on a window box. However, a runnable jar file could run on ANY machine that has a JVM, including windows.

So why do you want to limit yourself?
 
Neha Kaushik
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how can i build a runnable jar file..
is there some commands or any software for it..
is it that method of building runnable jar file in which we make a menifest file and execute jar cvfm command
 
Neha Kaushik
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sir Swastik Dey,
i already tried for Jsmoother but i think i could not used it well..
i dont knoe how to use jsmoother..
 
fred rosenberger
lowercase baba
Posts: 13091
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
a quick google search for "java build runnable jar" came up with dozens of decent looking hits. Pick one, try it yourself, and if you then have trouble, come back and ask your specific questions.
 
Bartender
Posts: 5526
213
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are using NetBeans, then making an executable jar file couldn't be easier: from the 'Run' menu, click the option 'Clean and Build Project'. That's all.
The jar file will be put in the 'dist' map.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic