Two Laptop Bag*
The moose likes Mac OS and the fly likes Create a Windows Desktop Java Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "Create a Windows Desktop Java Application" Watch "Create a Windows Desktop Java Application" New topic

Create a Windows Desktop Java Application

Baiss Eric Magnusson

Joined: Sep 10, 2003
Posts: 2
Using Project Builder I can create a double-clickable MacOSX application from my jar files. But I don't know how to create a Windows application. I know InstallAnywhere would do what I want but for now it is beyond my budget. Where should I go?

----<br />Baiss Eric Magnusson
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
The JRE for Windows also includes this functionality whereby you can double-click on a JAR file to execute the application contained within. All you need to do is set the Main-Class attribute of the manifest appropriately. Have you tried running the same JAR file on Windows? If so, what happens?
It is sorta covered in the JavaRanch Style Guide.
subject: Create a Windows Desktop Java Application
Similar Threads
how2 compile .dll files under Linux (off topic)
can java communicate with windows api?
How to call IE on Windows2000 and make the IE window on the top?
I/O and streams
Building cross-platform double-clickable desktop applications