Java 18 Openjdk

0 views
Skip to first unread message
Message has been deleted

Arnau Cyr

unread,
Jul 10, 2024, 1:06:10 AM7/10/24
to consforlahalf

It seems possible there might have been a glitch in the mirror sync that triggered the error. For both F37 and F38 those packages both install nicely with no conflicts., and the F36 versions I can access also have no conflicts.

java 18 openjdk


Descargar archivo --->>> https://urluss.com/2yPg7K



Ok, I see the error in that output.
Please, in the future post the text into your post since pastebin only keeps the data for a default 24 hour period and it will be gone tomorrow unless actually part of your post.

It is complaining about the java-latest-openjdk-headless package which conflicts.
Have you tried adding the options --best --allowerasing to your command line to see if an option is suggested by dnf. That looks like it is actually the same package with a different build number as is used for all the recent versions of fedora.

Uninstalling java-latest-openjdk-headless and then running dnf upgrade adds it back without the error. Hopefully that will be good enough to avoid a failure during the upgrade process to Fedora 37 or 38.

However, the "tech support" advice you got was almost certainly crap. They just wanted to get rid of you ("have you tried turning it off and on again"). Uninstalling and reinstalling will do nothing to help the situation, and if it would, reinstalling alone would be sufficient (e.g. just use `pacman -S jre7-openjdk`).

Now there are several proprietary java tools that will only run with oracle's official java (from the AUR), and sometimes only with specific versions of it. For a current project, I need to use BlackBoard Collaborate. It took a while to troubleshoot, but that only runs with oracle's jre8 from the aur (none of the openjdk packages worked, no other version of oracle's jre worked).

"Update 161" means "latest oracle java version", and most likely means that Trilby is right about the tech support. I assume Java8 will do, but is presently not used (7 is the configured default) - see the link I posted on how to try Java8 w/ the program.

I want to start toying around with java (eventually getting to the point where I can write basic little programs for android or web), but I've managed to have java messed up on my computer (from past experiments).

I'm not sure which version of java I have, and would like to know if there is a command to see the version of java that is installed and active. Also, which version works best? All this on 32bit Ubuntu 12.04

EDIT:
Ok, so it seems like I have both openjdk 6 and 7, with openjdk 7 in use. I want to use openjdk 7, so how do I uninstall openjdk 6? Is just via USC good enough or is there a command that should be run?

However, whichever method you use, you may want to check first to see what depends on these packages--you might have software installed that specifically needs version 6. (Probably not, but possibly.)

If you want to be able to continue using Java content online in your web browser (this is not the same thing as JavaScript), then before you remove any icedtea-6- or openjdk-6- packages (except perhaps openjdk-6-jdk), you should make sure you have icedtea-7- packages installed corresponding to whatever icedtea-6- packages are installed.

I highly suggest using Java 7, but the updates will try to install Java 6 too. That is OK. But your default should still come up as 7. Everything I have thrown at it works as long as your video card drivers work.

I originally installed using installation package at version 5.2.5.20. JAVA_HOME is empty, so guessing configuration is using a set path potentially? Looked to maybe set all the java paths and see if it changes it but wanted to get some input before doing so on what might be best practices.

Quick question here as I posted separately and have not heard anything back. If we used the installer initial to setup lucee in a Oracle Linus environment, it used Oracle java 8. But I am working to update it to run OpenJDK 11 and have installed it using yum. (yum install java-11-openjdk) How do I now tell lucee to use OpenJDK instead of Oracle? JAVA_HOME is empty on my current install and if I add it, Lucee still uses Oracle.

Can get running now fine using OpenJDK 8. However running into several issues with Lucee starting using OpenJDK 11. At least here I can get current updates installed, but would like to plan an update to version 11 at some point in the future.

-Djava.endorsed.dirs=/opt/lucee/tomcat/endorsed is not supported. Endorsed standards and standalone APIs
in modular form will be supported via the concept of upgradeable modules.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Since JRE_WANT_VENDOR is 'Oracle Corporation' and most third party vendors put their own name into 'java.vendor' it makes sense to use 'java.specification.vendor' since this is 'Oracle Corporation' for all supported OpenJDKs (I tested this for Azul and Adopt, therefore I assume this valid for others, too)

But supporting Open JDK is on the way starting from DB Connect 3.1.4 which is the next release. This schedule can change without any notice. If this is not supported even with DB Connect 3.1.4, please submit a Splunk support case and request the progress of DBX-2531.

This is pretty confusing. I expected the Java Development Kit to come with the Java Compiler. At least, I expected to be able to install javac easily. Note that note even software.opensuse.org is of great help here.

No need to be rude, @pbiel is absolutely right that most packages that have a -devel suffix are meant for compiling the package itself (or to use the headers to compile other software that uses it as a library). Maybe Python was an odd example as it is an interpreted language, but the point still holds, python-devel is to compile the Python interpreter, not to develop Python programs.

In the Java world a JDK always has included javac. It literally means java development kit. If you are only interested in running Java programs, there is the JRE (java runtime environment) for that.

It turns out that I needed only openjdk 16 to run what I wanted to, and having other versions of java are kinda pointless. My main issue is that programs default to version 8 and I can't seem to fix it.

Thank you! I did manage to install openJDK, and it kindly updated all the update-alternatives for me. (Thank goodness!) I kept the IBM one on there in case something might want to use that java some day (and can have its java_home set!)

cimg/openjdk is a Docker image created by CircleCI with continuous integration builds in mind.Each tag contains a version of OpenJDK, the Java Development Kit and any binaries and tools that are required for builds to complete successfully in a CircleCI environment.

In the above example, the CircleCI OpenJDK Docker image is used for the primary container.More specifically, the tag 21.0.2 is used meaning the version of OpenJDK will be v21.0.2.You can now use OpenJDK within the steps for this job.

- The version of OpenJDK to use.This can be a full SemVer point release (such as 11.0.2) or just the minor release (such as 11.0).If you use the minor release tag, it will automatically point to future patch updates as they are released by AdoptOpenJDK & Oracle.For example, the tag 11.0 points to OpenJDK v11.0.5 now, but when the next release comes out, it will point to OpenJDK v11.0.6.

The browsers variant is the same OpenJDK image but with Node.js, Selenium, and browser dependencies pre-installed via apt.The browsers variant can be used by appending -browser to the end of an existing cimg/openjdk tag.The browsers variant is designed to work in conjunction with the CircleCI Browser Tools orb.You can use the orb to install a version of Google Chrome and/or Firefox into your build. The image contains all of the supporting tools needed to use both the browser and its driver.

The Java Runtime Environment (JRE) is required to run Java programs. Nowadays there are many JRE packages available from a variety of projects and companies, but the two most popular on Ubuntu are OpenJDK and Oracle HotSpot. Using one package over the other should not create any functional difference in most applications; however, some prefer OpenJDK over Oracle HotSpot as the former does not contain closed-source components, has a much clearer licensing and support policy, and is maintained as part of the Ubuntu archive, with easier installation and upgrades.

With new versions of Java released every 6 months, there are multiple versions available for use. Nowadays, Java 11 is the current Long Term Support (LTS) version, but Java 8 is still widely used. Moreover, the non LTS versions of Java are bringing a steady stream of innovation into the language, and also see some adoption.

Ubuntu offers the default-jre package, which is regularly updated to ship the latest version of the current OpenJDK JRE in Long Term Support (LTS). The default-jre is an excellent choice for most situations, thanks to the outstanding track of backwards compatibility of the Java Virtual Machine.

(Alternatively, you may opt to use a specific Java version, using for example the openjdk-11-jre package; as updates are released for that version of the Java Virtual Machine, that packages will be updated, allowing you to stick to the latest and greatest update of one specific version of the Java language.)

I was able to install openjdk with amazon Correto and now it does not say that I need java installed. I can run java from the command line. When I run the installer two command prompt windows appear and disappear. The software does not seem to be installed properly. The service is not listed under services. When i run the helper program manually it says that the service needs to be configured.

d3342ee215
Reply all
Reply to author
Forward
0 new messages