Not a Maven issue, but if you didn't install the JDK then you'll have to
add it with `sudo update-alternatives --install`
If the JAVA_HOME env var is set Maven will use that instead.
Delany
On Mon, 14 Nov 2022 at 09:29, Raivo Rebane wrote:
> Hi
>
> raivo@Hydra:~/teamengine$ sudo update-alternati
Hi
raivo@Hydra:~/teamengine$ sudo update-alternatives --list java
/usr/lib/jvm/java-11-openjdk-amd64/bin/java
So, it gives only one alternative
But :
raivo@Hydra:~/teamengine$ ll /usr/java
total 16
drwxr-xr-x 4 root root 4096 nov 8 17:25 ./
drwxr-xr-x 15 root root 4096 aug 16 2020 ../
dr
Hi,
On Linux, the command:
sudo update-alternative --list java
List all installed jre/jdk and show the selected version.
sudo upgrade-alternative --config
To select an other version
Arnaud
Le dim. 13 nov. 2022, 15:20, Raivo Rebane a écrit :
> Hi
>
> I tried as described in link You send me, bu
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-headl
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 napisał(a):
>
> Hi
>
> Sorry for late answer, but I
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-comp
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
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?).
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
Hi,
an add-on to that topic:
I've analyzed more or the less the same on SO a number of times.
https://stackoverflow.com/questions/67481742/cant-run-maven-3-6-3-on-jdk7/67482132#67482132
Here it's related to JDK7 but the cause is the same.
Kind regards
Karl Heinz Marbaise
On 11.11.22 08:26, K
Hi,
which puzzles me is that you don't have an entry either for /opt/.. or
/usr/share/maven/bin in your PATH variable...(checked in the env.lst)..
Are you using the same user for calling Maven in both cases?
Because the following does not show any user:
> mvn install:install-file -Durl=fil
Hi
I send You all wanted
Raivo
On 10.11.22 21:36, Karl Heinz Marbaise wrote:
Hi,
so there is a difference between the output you have posted:
> Maven home: /opt/apache-maven-3.6.3
and the output in the error:
>>> (file:/usr/share/maven/lib/guice.jar) to method
Can you make a "ls -al /opt/
Hi,
so there is a difference between the output you have posted:
> Maven home: /opt/apache-maven-3.6.3
and the output in the error:
>>> (file:/usr/share/maven/lib/guice.jar) to method
Can you make a "ls -al /opt/apache-maven-3.6.3/lib" and "ls -la
/usr/share/maven/lib/"...
Also can you check
Hi
To me seems it is Apache Maven.
raivo@Hydra:~/teamengine$ mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /opt/apache-maven-3.6.3
Java version: 11.0.16, vendor: Ubuntu, runtime:
/usr/lib/jvm/java-11-openjdk-amd64
Default locale: en_US, platform encodin
Hi,
On 10.11.22 15:58, Raivo Rebane wrote:
Hello
My Maven deploy fails :
mvn install:install-file -Durl=file://repo
-Dfile=/usr/java/jdk1.8.0_261-amd64/lib/javax.xml.bind.jar -DgroupId=lib
-DartifactId=bind -Dpackaging=jar -Dversion=1.0
and gives error :
WARNING: An illegal reflective access
On Thu, Nov 10, 2022 at 11:51 AM Raivo Rebane wrote:
> What is the right command ?
>
Official guide:
https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
Some concrete examples: https://gist.github.com/chabala/9127256
As far as what you're doing though, installing javax.xml.bin
Hello
I tried without -Durl and without -DartifactId, but the same error occure.
What is the right command ?
And thanks for answering me !
Raivo
On 2022/11/10 15:42:34 Arnaud bourree wrote:
> Hi
>
> You install in local repository, you dont deploy to nexus/artefactory
> repository.
> There i
Hi
You install in local repository, you dont deploy to nexus/artefactory
repository.
There is no url parameter.
Arnaud
Le jeu. 10 nov. 2022, 15:58, Raivo Rebane a écrit :
> Hello
>
> My Maven deploy fails :
>
> mvn install:install-file -Durl=file://repo
> -Dfile=/usr/java/jdk1.8.0_261-amd64/lib
17 matches
Mail list logo