L Foster wrote:...one of the better ways to distribute programs written in Java is called "Java WebStart", or "JNLP" (Java Network Launching Protocol).
Horstmann, Cay S. (2014-01-10). Java SE8 for the Really Impatient wrote:
As of today, Oracle signals that it is no longer focused on securing home users’ Java applets and Web Start applications (collectively called rich internet applications, or RIAs).
If you maintain an applet or Java Web Start application for home users, the message is clear: Move away from it. If your application serves a specialized audience (for example, software development, image editing, or document processing), make your users install Java or bundle a JVM with your installer.
Ahmad Auada wrote:Im a windows user, and I have just never seen real life .jar programs! Only .exe!
is this how java programs are supposed to look like? or am i missing something?
Winston Gutkowski wrote:The business of the JVM is to read the p-code and translate it into executable (.o or .exe type) code that can THEN be handed off to the local OS - be it Windows or Linux or Unix or Android.
L Foster wrote:This "bundled JVM" approach actually lends support to the use of NetBeans RCP framework, which easily lets you do that, to make your executable.
Thanks for that valuable (and startling) information, @Stevens.
You may be right that command line programs are not that user friendly, but probably you should start building your desktop app right from there.
Ahmad Auada wrote:So I wanted to train my java skills a bit and make real useful apps that people are going to like and use. Cmd programs are just ugly and not user friendly!
Karthik Shiraly wrote:If you really want to distribute JAR as a Win EXE - especially to users who may not know what to do with a JAR - use http://launch4j.sourceforge.net/ to wrap your JAR as an embedded resource in an EXE. It can also download a JRE if it's not already installed on user's machine.
L Foster wrote:@Stevens, you could, with a single click, make an installer.
Stevens Miller wrote:
Looks like I have to install some installer installers .
But only in MD
Stevens Miller wrote:. . . rilliant. I shall find a way to use this word in a sentence, once a day.