Can i distribute jdk
Bent 2, 1 1 gold badge 12 12 silver badges 18 18 bronze badges. Greg Patnude Greg Patnude 86 1 1 silver badge 4 4 bronze badges. Add a comment. Robert Harvey k 54 54 gold badges silver badges bronze badges. Demetry Demetry 1. Can you give some reasons on why letting the user download might be better?
The Overflow Blog. Podcast The first ten years of our programming lives. Featured on Meta. Now live: A fully responsive profile. Linked Related 3. Hot Network Questions. Question feed. The user might already have a suitable JRE installed so no download needed , and will have it there for other Java applications and applets once they choose to uninstall the app.
You can also check out BitRock InstallBuilder. We provide very good support for Java - both detecting if it exists as well as easy inclusion of JRE and building a launcher binary.
With the files from link above, it is as simple as setting a few variables in your project and the installer will work. It is not free, but if your project is open source, you can apply for a free open source license you can use for creating installers for your application. I have created my own version of the launch4j that allows downloading and installing of required JRE automatically - unattended - it shows progress for downloading, no progress for installing yet and no option to download the JRE installer to other directory than the installer's working directory - I can add this functionality if anyone is interested in it.
Just go to launch4j's "JRE" tab to set your options. Also, this is only for GUI installation and not for console for now. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 10 years, 3 months ago. Active 6 years, 6 months ago.
Viewed 8k times. Improve this question. Community Bot 1 1 1 silver badge. Add a comment. There seems to be an "Is Java dead? There was a time when Java was first released for Linux that it only supported "green threads".
These were virtualized threads and the performance was terrible. There were lots of "Java will die" articles during this period.
But eventually, the builds supported native threads, the binaries became leaner and faster and now Java is on billions of devices around the world.
Recently, I was running GraalVM more or less by accident, I installed it to play around with the "native-image" options, and a couple weeks later, realized it was still on my path. Creating a single binary from a Java project has me excited for the possibility of creating easy to install CLI tools. Brian Demers : This is tricky one, many of us are still going to be supporting a minimum version of Java 8 for a while. For production, I suggest starting with what is readily available on your platform Amazon, Red Hat and switch later to a different distro later if you need to.
I was pissed that while the incorporation of Jigsaw with Java 9 and above is awesome, it essentially broke existing code immediately. But, the route of "pulling the band-aid" is not terrible either.
However, the open-source projects I work on have a pretty large exposure to diverse crypto algorithms and reverse-proxy types of workloads which leverage these things pretty deeply, so that very likely may not represent the types of issues others might encounter with standard web apps or microservices when trying OpenJDK.
However, given that these releases are time-based — and not as much feature-based — the amount of conflicts you might see from version upgrades after getting to the 11 baseline I would expect would be much, much fewer than what most people experienced going from version 7 to 8.
So this could be attainable but definitely increases testing and rollout workload for software engineering and operations teams. Not fun but doable. I also have had some exposure with the Azul guys in the past. Upgrade to OpenJDK 11 as soon as possible. These JDKs are free to use in dev and production without paying a license fee. When Oracle changed its support model for Java, there was a low roar in the community that Java was no longer free. Mineman Mineman 76 4 4 bronze badges.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. Featured on Meta. Now live: A fully responsive profile. Version labels for answers. Linked 6.
0コメント