• Post Reply Bookmark Topic Watch Topic
  • New Topic

Installer  RSS feed

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is a good opensource installer for Java? One that creates an icon on the desktop? One that can compile Java to native code, not class files?
Thanks.
 
Ranch Hand
Posts: 1272
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see how your model could work.
Since you don't want .class files, you don't want bytecode. That would mean you want the installer to create assembler or machine language code for the CPU on which the product is installed. But there are many posible target machines, so the installer would need quite a few compilers. This is the problem that the Java Virtual Machine model avoids.
If you are worried about efficiency, HotJava and the like will dynamically convert the most frequently executed sections of bytecode into machine language. However, jvm's are CPU-specific, so it's not practical to package a jvm for every possible machine with an installer.
More generally, I can tell you that using any system or architecture, including Java, in a way the designers never intended is usually a losing proposition because the system code was never tested the way you will use it and because you will find features that support your model lacking because the developers never considered them necessary. Even if you work through these issues, the next system release will force you to solve them all over again.
If you want the open source compiler/machine language model, try writing C++ programs, compiling with GCC and the GNU software. The industry standard installer is InstallShield, which is free during development and costs $1-3K total when you go commercial. There are free installers, but your customers will appreciate a familiar installation GUI.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Intermediate forum...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!