Hi

I tried as described in link You send me, but I got error :

Preparing to unpack .../openjdk-8-jre-headless_8u342-b07-0ubuntu1~20.04_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u342-b07-0ubuntu1~20.04) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-8-jre-headless_8u342-b07-0ubuntu1~20.04_amd64.deb (--unpack):  unable to open '/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd.dpkg-new': No such file or directory No apport report written because the error message indicates an issue on the local system

And I couldn't found orbd.dpkg-new anywhere.

What I have to do ?

Regards

Raivo

On 12.11.22 18:33, Sylwester Lachiewicz wrote
Please check one of available tutorials like
https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-22-04

Java 11 is good. You Just need an SDK and not only JRE.

Sylwester

sob., 12 lis 2022 o 15:36 Raivo Rebane <ra...@r-systems.ee> napisał(a):
Hi

Sorry for late answer, but I feel yesterday and today moning yourself
sick and thought, that I got COVID.

But now I feel better.

I set environment variables and deploy starts to work.

But compiling doesnot. It gives me :

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.6.0:compile
(default-compile) on project teamengine-realm: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are
running on a JRE rather than a JDK?

And thats true.

raivo@Hydra:~/teamengine$ java -version
openjdk version "11.0.16" 2022-07-19
OpenJDK Runtime Environment (build 11.0.16+8-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Ubuntu-0ubuntu120.04,
mixed mode, sharing)

but

JAVA_HOME=/usr/java/jre1.8.0_351/

I don't know how to set Java default version to Java8 in Ubuntu.

What I have to do ?

Regards

Raivo

On 11.11.22 12:52, Karl Heinz Marbaise wrote:
Hi,
On 11.11.22 08:40, e...@zusammenkunft.net wrote:
Hello,

I think the /usr/bin/mvn (i.e. "not in path") and /usr/share/maven/
points
to a non-pristine distribution shipped Maven (Debian?).
The distro we are talking about is Ubuntu..


I would start with using an upstream Maven distribution archive to
make sure
its no packaging error. )And also use a supported JDK by fixin PATH
and JAVA_HOME.

If its a packaging problem the Distribution would be the right place
to get support.
It does not look like that...



(But we already mentioned a few ttimes as a developer you might want
to have multiple pristine maven installs independent of your
distribution anyway).

Gruss
Bernd


Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to