Maui Forums
I can't install openjdk-9-jdk - Printable Version

+- Maui Forums (https://forums.mauilinux.org)
+-- Forum: Maui Support (https://forums.mauilinux.org/forumdisplay.php?fid=74)
+--- Forum: Software & Applications (https://forums.mauilinux.org/forumdisplay.php?fid=77)
+--- Thread: I can't install openjdk-9-jdk (/showthread.php?tid=24042)



I can't install openjdk-9-jdk - wonder - 19th October 2016

When I try to install this packages appears this error:

Quote:E: /var/cache/apt/archives/openjdk-9-jdk_9~b114-0ubuntu1_amd64.deb: intentando sobreescribir `/usr/lib/jvm/java-9-openjdk-amd64/include/linux/jawt_md.h', que está también en el paquete openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1

I have installed java8, but I need install java 9 because, one application (this application: http://www6.mityc.es/aplicaciones/facturae/facturae_3.4_linux.jar) I can't run appears a error when try to run.

I search by google but I don't view how solved this or what its the issue.


RE: I can't install openjdk-9-jdk - leszek - 19th October 2016

Please execute non english localized with LC_ALL=C so that we can understand the error message,
From what I get here its trying overwrite a file which is already in another package. Is this right ?
You can't have the jdk and jdk-headless installed in parallel. So either the one or the other.


RE: I can't install openjdk-9-jdk - wonder - 19th October 2016

(19th October 2016, 18:52)leszek Wrote: Please execute non english localized with LC_ALL=C so that we can understand the error message,
From what I get here its trying overwrite a file which is already in another package. Is this right ?
Yes, is right.
The error message indicate:
trying ovewrite a file wich is already in the package openjdk-9-jdk-headless:amd64 9~b114-0ubuntu1
Quote:You can't have the jdk and jdk-headless installed in parallel. So either the one or the other.

No, I can't. When I select the package jdf, synaptic indicate that, need also select jdf-headles.
If I try to install by konsole, auomatic, install the jdf-headless.

Thank you.


RE: I can't install openjdk-9-jdk - wonder - 20th October 2016

I can solved the issue with the installation (I use auto autoremove) and then, can install.
Sorry for the inconveniences.

But continue with can't open the program (but this, I think is other problem).

Regards.


RE: I can't install openjdk-9-jdk - wonder - 20th October 2016

Solved the other issue (can't start the program), I can solved with install oracle.

Regards.