Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get java executable via Conda?

I need java 1.7, in a Conda environment. I installed OpenJDK Java 1.7 like this:

conda install -c anaconda java-1.7.0-openjdk-cos6-x86_64

So far so good. But, I do not have any java executable, and could not find it...

How can I execute JAR files then ?

like image 455
mguijarr Avatar asked Apr 05 '26 17:04

mguijarr


1 Answers

If you want to take advantage of a direct integration of the java-executable in your environment, then use this:

conda install -c conda-forge openjdk.

This installs the Zulu OpenJDK, which is an open source build of the Java JDK.

Conda-Link: Click me

like image 175
Oliver Küchler Avatar answered Apr 08 '26 06:04

Oliver Küchler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!