Questions tagged [jdk]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
16 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....
0
votes
0answers
34 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
0answers
13 views

oracle-java12-installer unable to locate package [duplicate]

i cant able to install this oracle-java12-installer , as always it showing the same unable to locate. sudo add-apt-repository ppa:webupd8team/java first i write this code , then sudo apt-get update, ...
0
votes
0answers
26 views

update-alternatives error alternative path doesn't exist

I have seen many questions and answers regarding this problem, but I haven't make it out. When I tried to install another jdk whose version is 1.7.0_71 and use the command like update-alternatives --...
0
votes
0answers
17 views

Do i need all these JDK related folders?

im trying to free space from my disk and i was looking to find where my java jdk and jre are located. I found that are located in that path: /usr/lib/jvm/ . Inside here i found my jdk files ,the jre ...
0
votes
1answer
131 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
126 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
87 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
49 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
39 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
63 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 ...
1
vote
0answers
153 views

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

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
59 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
146 views

Installing java jdk 12 on ubuntu 19.10

I have used added repository : sudo add-apt-repository ppa:linuxuprising/java as shown on https://linuxhint.com/install_jdk12_ubuntu_1904/ The next step says to run sudo apt install oracle-java12-...
0
votes
0answers
272 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
361 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
141 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
235 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.
0
votes
1answer
561 views

oracle jdk 13 installed but not working

I have installed oracle jdk 13 using .deb file given on their official website https://www.oracle.com/technetwork/java/javase/downloads/jdk13-downloads-5672538.html But when I running command ...
0
votes
1answer
133 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
351 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 /...
0
votes
0answers
110 views

How to install java 1.5 jdk in Ubuntu 18.04.3 LTS [duplicate]

I java JDK 1.5 on my Ubuntu 18.04.3 LTS. I am followed this installation instructions. They all are using "java5.tar.gz" file which is not available on official website of java. Only .bin, .sh, .tar....
1
vote
2answers
125 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
30 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
0answers
258 views

Upgrade JDK 1.8.0_231 on ubuntu 16.04 LTS

We would like to update Oracle JDK 8 (existing version is 1.8.0_201-b09) to 1.8.0_231 which includes security fixes and it is recommended by Oracle to use that version. Currently, we are using ...
0
votes
1answer
291 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
858 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
34 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
82 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
0answers
137 views

Meeting.jnlp Files Not launching

I've followed several tutorials for installing JDK and IcedTea so that I can run a .jnlp file. I type this in the terminal cd Downloads(enter) javaws meeting.jnlp(enter) Then, IcedTea opens, and ...
0
votes
1answer
94 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
811 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
39 views

Unable to apt-install JDK 8, Oracle distribution [duplicate]

I am trying to install oracle-java8 on ubuntu18.04. I followed several tutorial but I keep getting: E: Package 'oracle-java8-installer' has no installation candidate Here is how I get to that ...
0
votes
0answers
63 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?
3
votes
1answer
3k views

How to set JAVA path to JDK 8

Was trying to contribute to some open-source project. And I tried finding the answer online, tried Wikipedia how to set it. None works. This is getting irritating. I need to commit my work. As I run ...
4
votes
2answers
3k views

Can I create a symlink to a Windows executable in the Windows Subsystem for Linux (WSL) PATH?

I have Android Studio and JDK 8 installed on Windows, but the JDK cli isn't available on my WSL. When I type java or javac, the command isn't found. I followed the suggestion here and now I can reach ...
0
votes
1answer
636 views

JavaFX is missing in Oracle JDK

I have installed Oracle JDK 12 from ppa.launchpad.net/linuxuprising but when I create Java FX project in Intellij Idea it says Java FX is not configured in selected JDK. Seems the JDK doesn't include ...
0
votes
1answer
2k views

Cannot deploy JavaFX app (Can't build artifact - fx:deploy is not available in this JDK)

I wanted to deploy my first JavaFX JDK 11 application using IntelliJ. I proceeded as follows: File -> Project structure -> Artifacts -> MyApp.jar -> OK Then: Build -> Build artifacts -> Build ...
5
votes
1answer
3k views

Can't using Netbeans 10.0 after installing from repository on Ubuntu 18.04

After installing JDK 11, I installed Netbeans from the repository. After all the processes, I finally installed successfully but when I created a simple program or opened the sample programs in this ...
0
votes
1answer
83 views

Repository error received during an upgrade [duplicate]

E: Repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu bionic InRelease' changed its 'Label' value from 'Oracle Java (JDK) 8 Installer PPA' to 'Oracle Java (JDK) 8 Installer PPA (DISCONTINUED)...
0
votes
0answers
200 views

When trying to open Etrade I get the error “JAR resources in JNLP file are not signed by same certificate” using JDK 8u221

I've been scouring the net for an answer and the majority of the results require resigning the JAR files. The thing is I have no idea where they are located or even if I have any. The error states ...
0
votes
0answers
830 views

Can't Change Java Versions alternatives on Linux

I already read many similar posts online, but can't seem to arrive at a solution. I want to be able to switch between java versions. Thanks in advance! OS: Ubuntu 16.04.6 LTS x86_64 I already ...
1
vote
1answer
224 views

Open a .jar with JDK 12 in Ubuntu 18

I have applications that require the JDK-12 of Java. I used to run my applications in the OpenJDK Java 8 Runtime (those were SWIFT applications, so all I had to do, was double click on them). But now, ...
0
votes
0answers
27 views

Setting homepath for tomcat in ubuntu

I have a tomcat tomcat service in Ubuntu, where i want to start and shutdown my services, which i achieve by using to scripts which is in my ~/tomcat/bin folder startup.sh and shutdown.sh when i try ...
1
vote
2answers
590 views

Removing jdk 11 to jdk 8 [duplicate]

I have an ubuntu VM, where i by accident installed jdk 11, but i wanted to install jdk 8, and then set the enviroment variable like this. #in the .bashrc file if want to add the following lines ...
0
votes
0answers
106 views

Setup JDK in IntelliJ

I have installed Java and IntelliJ on my Ubuntu system. I have installed Java into /opt/java version xy/. When I go in there, I see the javac files and so on. But when I want to setup the jdk in ...
0
votes
1answer
130 views

updating java by setting home path variable

I have a system, where i try to set the java version from 1.7 to 1.8. First i downloaded the jdk, then set the JAVA_HOME global variable. export JAVA_HOME=/usr/java/jdk.1.8.0_60 than validate ...
0
votes
1answer
357 views

How is the best way, for that Jmeter find the JDK o Java

I have jdk installed, in /usr/lib/jvm/jdk1.8.0_212/ I wanna run Jmeter, but this find java in ./jmeter: 128: [: Illegal number: ./jmeter: 192: ./jmeter: /usr/bin/java/bin/java: not found ENV - ...
0
votes
0answers
63 views

Is everything OK with my Java setup?

I am not using Java so often, but I need it now. I wanted to check my installation echo $JAVA_HOME /usr Then file `which java javac` /usr/bin/java: symbolic link to /etc/alternatives/java /usr/bin/...
0
votes
2answers
330 views

Javax not found after install JDK 11

After I have installed Oracle Java 11 in my Ubuntu XMind stoped working. With original Java version it was working fine. I'm getting error: !SESSION 2019-06-30 13:55:02.941 ---------------------------...

1
2 3 4 5
11