Skip to main content

All Questions

Tagged with
14 votes
3 answers
56k 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. ...
cocomac's user avatar
  • 545
0 votes
2 answers
3k 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 ...
Parmveer Singh's user avatar
1 vote
1 answer
929 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 ...
PatS's user avatar
  • 624
-1 votes
1 answer
85 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: /...
Lukas Mai's user avatar
0 votes
1 answer
22k 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 (...
user367063's user avatar
0 votes
1 answer
1k 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 ...
pkaramol's user avatar
  • 3,069
-1 votes
2 answers
314 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 ...
P. Griffin's user avatar
5 votes
1 answer
17k 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 ...
Ihor M.'s user avatar
  • 153
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 ...
patrick's user avatar
  • 1,022
1 vote
1 answer
211 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-...
goldilocks's user avatar
  • 89.4k
1 vote
0 answers
1k 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 ...
tjb1982's user avatar
  • 193
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 ...
Hopeful Llama's user avatar
1 vote
0 answers
457 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 ...
Debian4Ever's user avatar
5 votes
4 answers
1k 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 ...
user avatar
2 votes
2 answers
10k 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?
djechlin's user avatar
  • 153

15 30 50 per page