Questions tagged [jdk]

Questions relating to the installing and use of the Java Development Kit (jdk)

Filter by
Sorted by
Tagged with
0
votes
2answers
56 views

how do I find openjdk-11 that I just installed?

I'm currently trying to install ghidra on my Ubuntu 20.04 machine. While installing, I get this: ****************************************************************** JDK 11+ (64-bit) could not be found ...
0
votes
1answer
24 views

Open JDK 14 for Ubuntu 18.04

I have read tons but can't find the answer to this. I want to install openjdk14 on ubuntu 18.04. I do not want oraclejdk14. I do not want openjdk11. Countless articles claim you can just apt install ...
0
votes
0answers
25 views

Cannot work with javac or entire system

I keep trying to run my java program with: javac HelloWorld.java But it returns an error (yes, I am in the folder the file is in): Command 'javac' not found, but can be installed with: sudo apt ...
-1
votes
0answers
10 views

JDK SDK folder cannot find

I installed JDK 16.0.1 on Ubuntu 20.04 and i can't find the SDK folder on my file manager. Does anybody know where the SDK folder for JDK is? I recently created my own one because i could not find the ...
0
votes
0answers
12 views

Installed Oracle JDK8u121 on Ubuntu 20.10 but cant set .Jar Files to open with Java

Running Ubuntu 20.10 x64. I installed Java 8 from this guide: https://www.javahelps.com/2015/03/install-oracle-jdk-in-ubuntu.html I have downloaded and extracted the Java JDK 8u121 x64 tar file from ...
0
votes
1answer
106 views

line 56: /bin /java: no such file or directory

I have this problem running zmprov on Ubuntu 16.04: /opt/zimbra/bin/zmjava: line 56:/bin/java: no such file or directory. I run the required commands but cannot fix the problem, here is some useful ...
0
votes
0answers
49 views

package sun.applet not in java.desktop

I am on Ubuntu 20.04. I have Iced Tea installed and I am using latest OracleJDK. Whenever I try to run any .jnlp file, it shows: package sun.applet not in java.desktop Also, I am not getting any Java ...
0
votes
0answers
12 views

Hive Application pointed to unsintalled java version

I have java 8 and 11 installed in my ubuntu system and I removed /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java and updated the java 8 entry in bashrc. export JAVA_HOME=/usr/lib/jvm/java-1.8.0-...
1
vote
1answer
29 views

Changing Java Path

Why do I see both jdk 1.8 and jdk 11 in my java home? How do I make it so jdk 11 is the only version that is used? tacchino@tacchino-MS-7B79:~$ echo $JAVA_HOME /app/lang/java/jdk1.8.0_64 tacchino@...
0
votes
1answer
66 views

How do I permanently set an Environment PATH Variable for any Application Program?

In the last four days, I installed both JDK and Android Studio to build my flutter app in Ubuntu 20.04. Afterwards, I did set the Environment Variables $PATH to both JDK and flutter using export PATH=&...
0
votes
0answers
43 views

Problem while installing eclipse on Ubuntu

Been trying to install the lastest version of Eclipse from the official website, but whenever I begin installing the IDE, an error occurs. I've already tried to uninstall completely all the java ...
0
votes
0answers
910 views

No plugin found for prefix 'archetype' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] - Netbeans

I was trying to make new Web Application project using Maven in Netbeans IDE 8.2 but the project creation keeps failing with error: -DarchetypeGroupId=org.codehaus.mojo.archetypes -...
1
vote
1answer
1k views

Unable to find tools.jar in JDK in Ubuntu

I have used the following command to install openjdk sudo apt install openjdk-11-jdk But there seems to be no lib/tools.jar present. I am sure that it is the jdk that I have downloaded and not the jre....
0
votes
1answer
107 views

Which OpenJDK Build does Ubuntu use?

Which OpenJDK 11 Build does Ubuntu install by default? My understanding is that beginning by OpenJDK 11, Oracle doesn't support OpenJDK long term. That is why that other builds like AdoptOpenJDK ...
0
votes
1answer
336 views

Cannot Install OpenJDK on Ubuntu 18.04

I tried several ways to install openjdk and here is what I get when I do: java -version openjdk version "11.0.4" 2019-07-16 OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-...
0
votes
0answers
73 views

Java Version Problem

Ubuntu version: 16.04 I was using the Java 11 last times and also I have java 11 on my computer. Somehow reason some program doesnt work with java 11 so I decide the remove it but. It doesnt remove I ...
2
votes
1answer
666 views

Changing Default JDK On Ubuntu 20.10

I'm having trouble changing the default version of Java on Ubuntu 20.10. I want to change the default version of Java JDK from Graal to OpenJDK 13. I start by checking the default version: $ java -...
0
votes
0answers
25 views

How can I update Openjdk 13 to 14, Ubuntu 20.04 [duplicate]

I need to update Java 13 to Java 14 and how can I do that in Ubuntu. I have tried to install 14 like: ~$ sudo tee /etc/profile.d/jdk14.sh <<EOF > export JAVA_HOME=/opt/jdk-14 > export PATH=...
0
votes
0answers
46 views

downloaded intellij from ubuntu software it is working fine but when I type java -version on terminal the command java is not recognied pops up

My intellij program works fine and runs programs as well but when I tried to check versions from terminal the terminal did not recognize "java" in "java -version" command. Also ...
3
votes
0answers
187 views

can't see new alternative java after installing jdk 11

I downloaded .deb file for JDK11 from https://www.oracle.com/java/technologies/javase-jdk11-downloads.html. After installation (ubuntu 18.04) when I run update-alternatives --config java, I don't see ...
1
vote
0answers
53 views

Error trying to install JDK 14, would not let me uninstall or reinstall, deleted the whole jvm folder

downloaded and ran deb file for latest jdk, pc crashed midway. restart and try again, says file not supported. ran java -version, says I have jdk 11. ran sudo apt install default-jdk, says "The ...
0
votes
1answer
607 views

running jvmtop profile & the JAVA_HOME environment variable

Note: It seems jvmtop is simply broken with Java 11. I would also accept alternative Java process profiling options for Ubuntu 20.04 (terminal only) & Java 11, if instructions for installation and ...
4
votes
1answer
670 views

How to install java 8.0.232 Ubuntu 18.0.4

I need to install the 8.0.232 openjdk version. I am using sdkman and the result of sdk list java is: Java.net | | 15.ea.25 | open | | 15.ea.25-open | ...
0
votes
0answers
1k views

Error occurred during initialization of boot layer java.lang.module.FindException: Module java.transaction not found

I am a biologist and new to linux. I am trying to install cytoscape_3.7.1 from thislink. I downloaded the tar file, extracted it and tried /cytoscape.sh. It gave this error Error occurred during ...
1
vote
1answer
263 views

Apache Netbeans 11.3 not running unless I use terminal and set jdkhome

I had Apache NetBeans 11.1 with JDK 11 running fine. Then NetBeans upgraded to 11.3, and for some reason it didn't see JDK, so I downloaded JDK 14 and added it to NetBeans Platforms. All working fine....
1
vote
1answer
485 views

How to set the project sources JDK version in Netbeans?

From the console javac builds with JDK 14 fine. Using sdkman to install JDK 14 as: thufir@dur:~$ thufir@dur:~$ which java /home/thufir/.sdkman/candidates/java/current/bin/java thufir@dur:~$ thufir@...
0
votes
1answer
1k views

[ Solved ]: Cannot find version 14 of OpenJDK for Ubuntu 20.04

As of today (May 6th, 2020), the problem described below is now obsolate, because OpenJDK-14 has finally appeared in Ubuntu 20.04 repository. I've installed Ubuntu 20.04 Focal Fossa and was trying to ...
3
votes
2answers
2k views

Oracle JDK 11 Install and Setting to Default (NOT openJDK)

I have installed openJDK but want to default to regular JDK 11 (not OpenJDK). Steps I have taken: 1)java -version openjdk version "11.0.7" 2020-04-14 OpenJDK Runtime Environment (build 11.0.7+10-...
0
votes
1answer
566 views

How to install Java (not OpenJava) on Ubuntu 19.10

Please help! I have downloaded the .deb version of Java SE JDK from this site: https://www.oracle.com/java/technologies/javase-jdk11-downloads.html This .deb file is saved in my Downloads folder. ...
1
vote
1answer
250 views

How to install Oracle JDK 14 on ubuntu 18.04 and make it be used by java applications?

there is answer for old versions here: How can I install Sun/Oracle's proprietary Java JDK 6/7/8 or JRE? but there is a .deb file here: https://www.oracle.com/java/technologies/javase-jdk14-...
1
vote
1answer
74 views

Please help with this specific fatal error upon trying to run a third party .jar file

I would like to run the open source program Zettelkasten; it would be great for my work and I hope very much you can help me to get it running!! Thanks in advance!!! The program is this: http://...
0
votes
1answer
2k views

Need to install JDK 7.0 in Ubuntu 18.04

I was trying to install Jdk 1.7 using sudo add-apt-repository ppa:openjdk-r/ppa sudo apt update sudo apt install openjdk-7-jdk But getting the below error Reading package lists... Done Building ...
2
votes
1answer
1k views

How do I accept Oracle's license agreement while installing JDK? [duplicate]

I am trying to install Java on Ubuntu 18.04. by running: sudo apt install oracle-java14-installer But when I reach the part where I have to accept the license agreement there is link leading to the ...
1
vote
1answer
397 views

How to link a c++ program to jvm (java virtual machine)?

I am trying to follow this tutorial which creates a JVM from a c++ program. The program compiles but when it runs it fails with error while loading shared libraries: libjvm.so: cannot open shared ...
0
votes
0answers
900 views

Ubuntu 18.04 Java Command Not Found Despite Being Installed

I initially had default-jdk and default-jre installed on Ubuntu 18.04. Attempted to host a Minecraft Server for a friend, but was given the error found here I followed the commentor's advice to ...
2
votes
1answer
786 views

How to run Scilab 5.5.2 on Ubuntu 16.04 LTS with all updates installed?

I have just ended clean installation of the Ubuntu 16.04 LTS. I installed Scilab here from the official repository as simple as sudo apt-get install scilab. Then I tried to launch it from the GUI, ...
0
votes
0answers
670 views

installing jdk 1.7 [duplicate]

I have a need to remove jdk 1.8 and instead install jdk 1.7. Does Ubuntu 18.04 support RPM? Here are the choices I have, which one do I donwload and install? Download File Architecture Who Can ...
0
votes
1answer
899 views

Error: The specified folder does not contain a Java platform

I am using Netbeans 11 and JDK 11 on Ubuntu 16.4. Why am I getting this error in the platform manager? I also get "Broken Platform JDK 11 (Default)" in my project Libraries.
1
vote
1answer
1k views

oracle jdk 13 installed but not working

I have installed Oracle JDK 13 using the .deb file given on their official website . But when I run the java command, it is showing: Command 'java' not found, but can be installed with: sudo apt ...
0
votes
1answer
185 views

How to install the JDK on Ubuntu Linux

I am trying to install the Java Development Kit (JDK) on Ubuntu Linux distribution, but I am unable to install it. What are the steps to install it on Ubuntu?
0
votes
1answer
2k views

ant install error: BUILD FAILED java returned exit code 1

I'm trying to install DSpace 6.3 on Ubuntu 18.04 LTS. When I'm installing ant I get: BUILD FAILED error... When I enter ant-fresh install on the terminal, it gives me this error: BUILD FAILED /...
1
vote
2answers
237 views

Unusable dropdown menus in jmeter 5.2.1 on Ubuntu 19.04

Just installed jmeter 5.2.1 on Ubuntu desktop 19.04 and dropdown menus are showing only when I hold mouse button over them. When I release it it closes. So I am unable to access any menu option with ...
0
votes
0answers
34 views

Ubuntu doesn't see Oracle JDK 8 however it is in the system

I have Ubuntu 15.10 (GNU/Linux 4.2.0-42-generic x86_64) on my server and trying to upgrade it to '16.04.6 LTS'. After running the command: sudo apt-get dist-upgrade -f I've got the next error: ...
0
votes
1answer
460 views

How do i open jar files created by netbeans in ubuntu?

I'm trying to execute a jar file developed in Apache NetBeans 11.2 in Ubuntu 19.10 by double clicking it or launching via terminal (java -jar filename.jar) but it doesn't launch - nothing happens. It ...
1
vote
1answer
1k views

Ubuntu oracle jdk issues when trying to install disutils for Cython

I am trying to install disutils to use Cython which requires python3-pip according to this: https://superuser.com/questions/1319047/cant-install-virtual-interpreter-in-pycharm-in-linux So when I try ...
0
votes
1answer
39 views

Work on a Java Project in Ubuntu

I am a beginner so I apologize if you're gonna read a silly question. I want to work on a Java Project. It's a project available on GitHub: https://github.com/particleincell/Starfish. The problem ...
0
votes
0answers
119 views

How to reinstall Java completely?

I tried to install Java 11 in Ubuntu 18.04, and the first time the installation process crashed. Then I tried to install Java again, but it gave an error like below. sudo mkdir -p /var/cache/oracle-...
0
votes
1answer
157 views

Setting up IntelliJ in Ubuntu

I wasn't sure to post here or in the StackOverflow community but here goes... I have Ubuntu 18.04.3 LTS installed on my laptop. I'm trying to set up IntelliJ at the moment. I installed my jdk by ...
0
votes
1answer
2k views

dockerfile - openjdk-8-jdk have unmet dependencies openjdk-8-jre & openjdk-8-jdk-headless

Below is the docker file: ENV CA_CERTIFICATES_JAVA_VERSION 20140324 RUN set -x \ && apt-get update \ && apt-get install -y \ openjdk-8-jdk="$JAVA_DEBIAN_VERSION" \ ...
0
votes
0answers
66 views

Uninstall JDK 12 on Ubuntu 19.04

I am new to Ubuntu and have installed JDK 12 from this Linux Hint guide. However, I realise I need an earlier version of JDK for the program I want to run. How do I uninstall JDK 12?

1
2 3 4 5
11