File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

.exe in Java

 
shailendra vasale
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi All,
Can anyone plz help me out how to make an .exe file of .class file in JAVA.
Thanks in advance.
Regards,
Shailendra.
 
guy ranch
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can try out using the J2Exe utility(even i don't know much about it).run a search on it and you'll find many such free/sharewares for that purpose
 
great veera
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
there is a tool called j2exe that can be helpful to you,
cu
gv
 
Joel Cochran
Ranch Hand
Posts: 301
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sun's Forte launch is a .exe, so certainly there must be something in the Java packages to handle this operation? I'm a little confused... how could we have stand alone Java applications without an inherent way of clicking on an icon. I'm sure most of us don't launch applications from the DOS prompt? If I'm missing something, please point it out to me...
------------------
I'm a soldier in the NetScape Wars...
Joel
 
Subramaniam Krishnan
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try JToExe at http://www.bravozulu.com/Products/JToExe/Download/download.html
its pretty good.
regards Subu
 
Subramaniam Krishnan
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One way of running a Java Application by directly double clickin on it is by making .bat file for the aplication. My doubt here is that if my application opens in a browser how does on give the URL in the address bar ? Any help ?
subu
 
ryan headley
Ranch Hand
Posts: 156
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
making a stand alone app with a clickable icon is really quite simple.
Make sure you have your paths setup correctly though.
Create a shortcut and make the target read something like this:

Then in the Start In directory enter the directory structure where your classfile is located:

Then go find a pretty icon on the internet and set it as the icon for the shortcut.
The javaw.exe will also keep you from getting the ugly DOS prompt or DOS window when it starts...I do it all the time.
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guy ranch and great veera:
Please note that your names are a violation of the JavaRanch naming standard. We require that you use real (or at least not obviously false) names. Thank you.
 
Nencho Dimitrov
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is free tool for non-comersial use.
Visit http://www.geocities.com/j2exe
It's well done
 
Ken Blair
Ranch Hand
Posts: 1078
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This thread was over two years old.
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will I be able to create a exe file for a swing application as well?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic