File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Building cross-platform double-clickable desktop applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Building cross-platform double-clickable desktop applications" Watch "Building cross-platform double-clickable desktop applications" New topic

Building cross-platform double-clickable desktop applications

Baiss Eric Magnusson

Joined: Sep 10, 2003
Posts: 2
I'm developing on MacOSX and 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
Ilja Preuss

Joined: Jul 11, 2001
Posts: 14112
For Windows you can make the jar itself double-clickable by providing the Main-Class attribute in the manifest file. I think this should work on other platforms, too.

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Take a look at the Creating an Executable JAR File thread.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: Building cross-platform double-clickable desktop applications
Similar Threads
Creating an Executable JAR file with sub directories
Create a Windows Desktop Java Application
presenting my game
Failed to startup Eclipse on MacOSX 10.4
Deploy Java Application On Customer Side?