Replies: 18 comments
-
Hi gdoenlen, Thanks for pointing out jpackage tool. Data Loader requires a commercial/open source JRE 11 or later, not specifically OpenJDK 11. The installation/launch messages and documentation can be improved to state this requirement clearly. |
Beta Was this translation helpful? Give feedback.
-
Data Loader requires a commercial/open source JRE 11 or later
Yes which is why you should bundle it with the installer and not make users
install it into their system on their own.
not specifically OpenJDK 11.
Which is why you specify the `--runtime-image` flag on jpackage to point it
to your custom JVM.
…On Tue, Jan 26, 2021, 12:00 AM ashitsalesforce ***@***.***> wrote:
Hi gdoenlen,
Thanks for pointing out jpackage tool. Data Loader requires a
commercial/open source JRE 11 or later, not specifically OpenJDK 11. The
installation/launch messages and documentation can be improved to state
this requirement clearly.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#248 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AED7AOVFOJQ3BZ6WJRG6CQ3S3ZD77ANCNFSM4WSDJUAQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Hi gdoenlen, Perhaps I am missing something but bundling the JVM would have the side-effect that a customer wanting to use their own org-specific JVM won't be able to do so. |
Beta Was this translation helpful? Give feedback.
-
I just never met anyone that ever wants to do this. 100% of the users I know don't want to have to configure a JVM for a desktop program. Regardless these aren't mutually exclusive things, you can produce a build without it bundled and with it bundled so you can improve the UX for non-technical users like admins. 🤷♀️ Just a suggestion. |
Beta Was this translation helpful? Give feedback.
-
100% agree with @gdoenlen here. To illustrate why, an anecdote: I happen to have an ancient version of Java on my Mac, one that was too old to run Data Loader. So I tried installing the suggested ZuluJDK, which didn't work. So I installed OpenJDK and that worked. Next, I needed to change the startup script to use the correct JDK path. Now I happen to be technical enough to understand what I'm trying to do here, but my colleagues have no clue what they're supposed to do. They just want to download Data Loader and have it run without a hitch. Please consider releasing Data Loader as a self-contained Java application. |
Beta Was this translation helpful? Give feedback.
-
I fully agree with the comments from @gdoenlen and @Raptor399. Our customers also want to rely on the newest Data Loader but they expect the installation process to be as simple as possible. And because free dataloader.io is very limited when it comes to the number of records, we need to ensure that Data Loader is hassle-free :). |
Beta Was this translation helpful? Give feedback.
-
I agree with this. End users don't care what JRE is used, or what it even is, just so long as it works. It is a bit risky sending users on a mission to download a JRE. They might find a fake one with malware. They won't keep it up to date to keep it secure. The standalone version will be installed system wide and therefore a much greater attack surface for malware rather than living dormantly in a folder. Any power user wanting a specific JRE for some strange reason I can't think of should be proficient enough to delete the included JRE and use their own. It is also better for you, because the user environment will be more predictable for troubleshooting. |
Beta Was this translation helpful? Give feedback.
-
@ashitsalesforce, can we please revisit this suggestion? |
Beta Was this translation helpful? Give feedback.
-
Hi @pgumiela , point noted. |
Beta Was this translation helpful? Give feedback.
-
For macOS please use at lest Java 17 And this is actually pretty important since we do not install java anymore for security reasons. |
Beta Was this translation helpful? Give feedback.
-
Hi @MaxG-Enpal , you can use a JRE v11 or later including Java 17 for data loader. So, if the preinstalled JRE on your system is JRE 17, it should work with data loader. |
Beta Was this translation helpful? Give feedback.
-
I mean if Salesforce is gonna add a prepackaged version it would be great if you would use Java 17 for macOS since it has wonderful M1 and Metal support that reduces the battery consumption. |
Beta Was this translation helpful? Give feedback.
-
Hi @MaxG-Enpal , that's a good point. Will keep it in mind when planning for a prepackaged version. |
Beta Was this translation helpful? Give feedback.
-
@ashitsalesforce, can we close the issue when it's really done? Because, otherwise, people will create other issues on the same topic because nobody knows Data Laoder's roadmap. |
Beta Was this translation helpful? Give feedback.
-
good point @pgumiela. Will reopen. |
Beta Was this translation helpful? Give feedback.
-
Just a thought - nix machines with sdkman & on windows machine with scoop, setup the dependencies with a script as pre-requisite. |
Beta Was this translation helpful? Give feedback.
-
Thanks for these suggestions. Here is a bat script:
Here is a .command (or a .sh) script:
|
Beta Was this translation helpful? Give feedback.
-
The script to download and install java on Windows can be downloaded from here. The script to download and install java on Mac can be downloaded from here. Linux users can download the script for Mac and change its extension from |
Beta Was this translation helpful? Give feedback.
-
If you're going to require a specific JVM (zulu) to be used by users you should be using jpackage to bundle said JVM into the installer.
Beta Was this translation helpful? Give feedback.
All reactions