File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Running application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Running application" Watch "Running application" New topic
Author

Running application

dave tuazon
Greenhorn

Joined: Feb 26, 2002
Posts: 4
Is there a way to run a Java application (not an applet) without going through DOS?
Ian B Anderson
Ranch Hand

Joined: Jun 26, 2001
Posts: 275
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


<a href="http://www.INESystems.com/scbcd/" target="_blank" rel="nofollow">http://www.INESystems.com/scbcd/</a> - SCBCD Exam simulator<br /><a href="http://www.INESystems.com/scbcd/" target="_blank" rel="nofollow">http://www.INESystems.com/scea/</a> - SCEA Exam simulator
Chris Stewart
Ranch Hand

Joined: Sep 29, 2001
Posts: 124
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

Joined: Dec 09, 2000
Posts: 55
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

Joined: Sep 29, 2000
Posts: 8521
Course it ONLY runs under Windows :roll:
The main POINT of using Java is platform independance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running application
 
Similar Threads
StuckThreadMaxTime Error.
adding tomcat 6.0 error
Deploy Java Application On Customer Side?
Tech Word Game
single threaded or multi threaded