Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running application

 
dave tuazon
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to run a Java application (not an applet) without going through DOS?
 
Ian B Anderson
Ranch Hand
Posts: 275
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
You could set up an executable JAR file. Then if your system is set up properly you can just double click on the JAR file and it should run. (I have tried this on a few different versions of Windows and it works). Another easier way would be just to create a batch script (I know it would still run through dos but it would be easier to set up than the JAR).
Hope this helps
Ian
 
Chris Stewart
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've always used JAR files with a .bat file to execute the JAR. That .bat is kind of like my shortcut. Works good.
 
Stanley George
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
there is a cool app called java2exe made by a gr8 guy jerry jongerius. u can create exe files with it!
u can download the shareware version from:
http://www.duckware.com
warm regards
-stanley
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Course it ONLY runs under Windows :roll:
The main POINT of using Java is platform independance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic