Hello🙂 I'm not familiar with Java. I'm trying to run Java Web Start (javaws command) using SDKMAN! to use a Supermicro's legacy IPMI application.
It seems that Oracle Java 8 was able to run javaws but it is removed since Java 9. It also seems that SDKMAN! removed Oracle Java due to Oracle's licensing problem.
So I assume that there is no way to install javaws using SDKMAN! currently and we have to install the old Oracle's Java 8 manually out of SDKMAN!. It this right assumption? Thank you.
JavaWebStart has been developed closed source by Oracle and therefore is only part of the Oracle JDK. Since Oracle stopped JavaWebStart it is even in the Oracle JDK not provided for Java 11+.
In general you have 3 ways you can go:
Use an old Java 8 build from Oracle that does not has fixes for security issues of the last 18 month
Buy support for Java 8 at Oracle and use an actual build of the Oracle JDK version. 8
Install AdoptOpenJDK 8 LTS version on windows and select to use IcedTea-Web in the installer
Use OpenWebstart in combination with any Java 8 or Java 11 JRE / JDK. That can provided by SDKMAN for example
Related
Since the latest Jenkins will not support Java 7 is there any other way to run builds that have older java versions like Java 7?
The workaround is to download the Jenkins source code and rewrite it to avoid using any Java 8 features (which it uses, that's why it needs Java 8). Then you can recompile it to Java 7 and run it on your Java 7 virtual machine.
Or you can just update your Java 7 JVM to Java 8, because Java 7 went end-of-life in 2015.
Now if the code Jenkins is managing is old and requires Java 7, the setup the jobs within Jenkins to use Java 7 but allow Jenkins to use a newer JVM.
This question already has answers here:
How can I get Java 11 run-time environment working since there is no more JRE 11 for download?
(4 answers)
Closed 1 year ago.
I was trying to update my jave version and got confused a little bit. I have jdk 10, which I used, and also have Java Platform 8, which have "configure java" app, so what should I do now, if you go to java.com they're offering you to install java 8 only, do I need to delete old java 8 and jdk 10 and then install jdk 11 from oracle.com? Does it have jre in it? Can I run for example apps like Minecraft if I do that and write code too? Also what should I install: oracle jdk or open jdk then?
The Java JDK is Java Development Kit, which installs everything you need to write, compile, and run Java code and programs. It includes the Java JRE, which is the Java Runtime Environment. It only has what you need to run Java apps/programs. The download you're being offered when you go to java.com is the JRE. The JVM is the Java Virtual Machine, which is the engine for running Java programs and comes with both the JRE and JDK.
If you're looking to run and develop Java programs, all you need to do is install the JDK. I would suggest uninstalling any previous versions of Java you have for security reasons, as support could've been dropped for them. As for OpenJDK and Oracle JDK, OpenJDK is the open source implementation of Java, and other JDKs like Oracles are built on top of it. The OpenJDK does not require a license to use while others might, depending on your use case.
This question already has answers here:
How can I get Java 11 run-time environment working since there is no more JRE 11 for download?
(4 answers)
Closed 4 years ago.
What version of the jre is required for using jdk11?I can't find a jre version later than 8update192.
In general is a JDK version correlated to the Java language version? JDK 8 for Java 8 and JDK 11 for Java 11 ?
If I use JDK 11 can I run applications that use a lesser runtime for example 8? That is JDK 11 with Jre 8
is a JDK version correlated to the Java language version?
Yes. The number of the kit to produce apps on the Java platform, the JDK, is numbered to match the version of Java platform. 8 for 8, 11 for 11, and so on.
If I use JDK 11 can I run applications that use a lesser runtime for example 8? That is JDK 11 with Jre 8
You can use JDK 11 during development for earlier Java if your project is explicitly configured to be compiled and built for the earlier Java only.
Of course that means you cannot use features added in the later Java. But if your project is properly configured, your IDE should prevent such features from being introduced into your codebase.
What version of the jre is required for using jdk11?
There is no more separate JRE distribution. The JRE was a runtime-only environment used to run apps while the JDK was used to develop (and run) apps.
Now we have only JDK releases, as far as I know.
Oracle no longer intends for end-users to be installing a JRE or a JDK. Java Applets in a browser and Java Web Start app delivery are both being phased out, leaving the end-user with no need for a JRE. Java-based apps are expected to bundle their own Java implementation. The only folks consciously installing a JDK will be developers & server-side sysadmins.
Important:
Understand clearly the nature of the OpenJDK project, as explained in Wikipedia.
Know that Oracle has committed to feature-parity between its own branded Oracle JDK and the OpenJDK project. This commitment includes donations of previously-commercial features such as Flight Recorder and Mission Control.
Read this white paper by Oracle of 2018-03, Java Client Roadmap Update
Read the white paper Java Is Still Free, authored by key members of the Java community.
Learn about:
Java Platform Module System
jlink (JEP 282)
jpackage (JEP 343)
Here is a flowchart diagram that may help you finding and deciding amongst the various vendors providing a Java 11 implementation.
It looks like Oracle removed Java Web Start from Java 8 for Solaris. javaws isn't available anymore in Java 8u51.
From the compatibility guide:
The 64-bit binaries do not contain deployment tools such as Java Web
Start and Java Plug-in, therefore desktop integration is no longer
required.
What do they mean with "required"? It's not possible anymore. It's not possible to launch a Web Start application on Solaris with Java 8.
Does anyone know an alternate way (standard, no 3rd party stuff) to start a Web Start application on Solaris with Java 8?
The "required" means that, as the build for the java 8 for solaris is only available in 64bit version; therefore, the Java Plug-in and Java Web Start is no longer required to be installed as those two things are not available for 64-bit version of Solaris (you can check the link here https://www.java.com/en/download/help/webstart_64bits.xml).
I'm afraid I cannot found any way to run Java Web Start in "standard" way on Java 8. The easiest workaround for this is, of course, to install the older version of 32-bit java such as version 7.
I'm using Mac 10.9.1 and Java 1.6.45 . It is not an option for me to upgrade my Java version at this time. I want to use visualvm to analyze heap dumps, but the latest version on http://visualvm.java.net/download.html only works with Java 7 and above. What version of VisualVM will work with Java 6 and where can I find this mystical version?
VisualVM 1.3.6 works with JDK 6. You can download it from this page: http://visualvm.java.net/releases.html. You can also install JDK 7 next to JDK 6 and use VisualVM 1.3.7.
According to this Oracle site it should be a command-line tool built in to your JDK distribution. From here, it was first bundled in Java 6u7, so you should definitely have it.