All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
3 answers
1k views

How can I install Java 8 on Debian 11 (Bullseye)?

This answer explains why it was removed. I'm not interested in the reason, instead, I need to install it. This VM is solely dedicated to my Java app, so I'm not really interested in using a container. ...
0 votes
1 answer
568 views

Unable to locate an executable at "/Library/Java/JavaVirtualMachines

Whenever I try to run any apt command on my Mac I get Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk/Contents/Home/bin/apt" (-1) error. My .bash_profile ...
1 vote
1 answer
246 views

How can I tell if java was installed by default on ubuntu 20.4?

I don't recall installing java on my Ubuntu 20.4 system, so I'm asking is there a way to know if it came pre-installed on the OS distribution. I usually, only expect the JRE to be installed not the ...
-1 votes
1 answer
35 views

Java Error when trying to install snapd

I recently tried to install snapd on my Debian 10 VPS, when I encountered this error: Setting up jdk1.8 (1.8.0271-1) ... Unpacking JAR files... tools.jar... Error: Could not open input file: /...
1 vote
1 answer
3k views

Installing Oracle JDK 1.7 -- 404 error

I'm trying to install Hadoop 2.7.3. on Elementary OS (which ~ Ubuntu, I believe) following the instructions in the BUILDING.txt that came with the Hadoop files. The file indicates that I need to ...
0 votes
1 answer
11k views

Cannot install default-jre - package 'default-jre' has no installation candidate

If I type java -version I get Command 'java' not found, but can be installed with: sudo apt install default-jre sudo apt install openjdk-11-jre-headless sudo apt install openjdk-8-jre-headless (...
1 vote
2 answers
5k views

How to uninstall java on Linux Mint 12

Today, I downloaded the latest java jre which is a .bin file By mistake, I installed it on my desktop by running ./jre. I want to remove this installation, move the .bin file to somewhere else and ...
0 votes
1 answer
866 views

Upgrade from openjdk-7 to openjdk-8 on debian

I have the following Java-related packages installed on my Debian 8 machine # sudo dpkg -l | grep -i java ii ca-certificates-java 20140324 all Common CA ...
-1 votes
2 answers
276 views

Problem with package libactivation-java on debian-based Linux

I have been trying to figure out how to fix a broken dependency problem that wont allow me to upgrade or install anything else until the issue is resolve. I have been trying to uninstall and removing ...
5 votes
1 answer
16k views

Ubuntu: how do I install specific java update with apt-get?

I would like to install a specific update of JVM on my Ubuntu. Is that possible to do with apt-get? I am looking for version 1.8.0_151 and as of now if I run apt-get install -y oracle-java8-installer ...
4 votes
4 answers
919 views

How to make apt recognize an installed tar package?

I've installed Oracle Java. I want to be able to remove OpenJDK, but when trying to do so apt wants to install another version of Java. How can I configure apt so that it knows I already have a ...
1 vote
1 answer
176 views

Compiled (?) java packages on Debian

I notice looking for the jinput library on Debian (I believe the "j" here implies this is a java specific library, and not a simple wrapper), that there are two packages that might apply: libjinput-...
1 vote
0 answers
946 views

Java Process hangs with .exec and ssh

EDIT: I believe the issue is that the ssh connection is creating background connections that are still open (cf. https://superuser.com/a/617670). I would run ssh with the -f flag, but I need to be ...
1 vote
2 answers
1k views

Installing OpenJDK 7 (JRE) but only policytools found in ./jre/bin

I'm trying to install Java 7 onto my Ubuntu machine through apt-get. I'm issuing the to install using apt-get: sudo apt-get openjdk-7-jre apt-get claims a successful install, but I cannot appear to ...
1 vote
0 answers
450 views

Aptitude installing jre

I am trying to install jre on my debian 7 kali box, but I keep getting these faulty errors. I tried installing it through aptitude and it fails at the end. The result is: dpkg: error processing ...
2 votes
2 answers
8k views

apt-get install - where does it go?

Just a basic question on this utility... I did sudo apt-get install libhtmlparser-java And I would like to see the source I just downloaded. On Linux (Ubuntu) where ought I look for this?