Try to beat Java WebStart. I simply give you a link and it downloads and starts application (with all its dependencies).
Now try that with Python. On Windows.
Go on, do it. You'll have to install Python first, or you won't be able to run anything. After you've installed it you might notice that clicking on a script results in an ugly console window (even though you might have a GUI app), so you need some sort of runner.
Posted Aug 21, 2012 23:16 UTC (Tue) by man_ls (subscriber, #15091)
[Link]
But to use WebStart you need to install the JRE first. How is it different than installing Python, except that Python is much smaller and available for many more platforms (and pre-installed on Mac OS X and most Linuxen)? Once installed I can beat your single link with a single command: pip install package. I can dictate it to aunt Tilly over the phone.
I don't know much about WebStart, but I have not seen it used for anything remotely serious. For packaging, distributing, installing and using software on a regular basis, and for basic configuration management, Python is great; I don't know the steps needed to package something using WebStart though.
Three answers in one
Posted Aug 22, 2012 2:42 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)
[Link]
>But to use WebStart you need to install the JRE first.
Go to http://java.com and download it. Big deal.
>Once installed I can beat your single link with a single command: pip install package. I can dictate it to aunt Tilly over the phone.
- Pip? Is it a character from the Great Expectations? Do you want me to reread this awful novel? How dare you!
Once you say "command line" you are WAY outside the realm of acceptable for end-user apps. WAAAAAAY too far.
> I don't know much about WebStart, but I have not seen it used for anything remotely serious. For packaging, distributing, installing and using software on a regular basis, and for basic configuration management, Python is great; I don't know the steps needed to package something using WebStart though.
Java has a package management system, it's called Maven. It's somewhat similar to pip/setuptools except that it works at _build_ _time_. And as a result you can generate Java WebStart packages, self-installing executables, etc.
The greatest problem with Java really is its 'heavy' JVM. Sun missed the opportunity to make it lightweight, alas.
Apache's role in all of this
Posted Aug 22, 2012 10:13 UTC (Wed) by man_ls (subscriber, #15091)
[Link]
So, both WebStart and Python require the user to download it before using it. Unsurprisingly. From there Python is more geared to professional users, for which I am grateful (since amateurs are not going to use WebStart or pip anyway).
Maven is not in Java, it is an outside package. Which brings us to another one of Java's treats: the big ecosystem of Apache software. But wait, why is such a big corpus of code necessary at all? To provide for Java deficiencies, which means the 50MB+ JRE monstrosity is not even enough to have a decent set of collections. Each useful third-party package you find out there is likely to depend on a few Apache libraries, meaning that you will be soon managing tens of .jar files. To bring this into perspective, there are 39 Apache Commons projects, which are supposed to provide foundation libraries. Which is why Maven is needed. Whew!
Apache code is maintained by the ASF foundation which is at odds with Oracle. I guess that the worst problem here is that Java is controlled by Oracle, a hostile corporation. Compare with Python, Perl, C or even JavaScript (which seems to be in the hands of a handful of browser vendors, but at least they cooperate).
Apache's role in all of this
Posted Aug 22, 2012 15:38 UTC (Wed) by Cyberax (✭ supporter ✭, #52523)
[Link]
>So, both WebStart and Python require the user to download it before using it. Unsurprisingly. From there Python is more geared to professional users, for which I am grateful (since amateurs are not going to use WebStart or pip anyway).
Actually, it is possible to install Java using browsers' automatic plugin detection.
>To provide for Java deficiencies, which means the 50MB+ JRE monstrosity is not even enough to have a decent set of collections.
Please, stop repeating nonsense. Commons-collections is a dead project, it hadn't been necessary for a loooooooong time. Sun JVM in fact has one of the best collection libraries, including parallel and non-blocking collections which you'd be hard-pressed to find in other languages.
You also might actually browse the list of apache-commons libraries. About a half of them are either thin wrappers over several other libraries and/or long-dead projects.
Apache's role in all of this
Posted Aug 22, 2012 16:12 UTC (Wed) by man_ls (subscriber, #15091)
[Link]
I was not repeating anything, it is just my own recollection. If the situation has improved nowadays, good for them!