Questions tagged [jdk]

The Java Development Kit (JDK) is a set of utilities that allow one to create software systems for the Java platform. It consists of several tools and libraries.

Filter by
Sorted by
Tagged with
0
votes
0answers
69 views

Trying to download NetBeans and getting critical error, how to get around this?

I currently have JDK 14.0.1 installed (confirmed in the command terminal with: java -version), from the website (https://www.oracle.com/java/technologies/javase-jdk14-downloads.html) and have ...
0
votes
1answer
130 views

JDK 11 windows installation Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'

After installation of JDK 11 and setting of the path in environment variable In a command prompt > java -version returns: Error: opening registry key 'Software\JavaSoft\Java Runtime Environment' ...
2
votes
3answers
303 views

Upgrading to macOS 10.15.4 causes “jdk-11.0.2.jdk” developer cannot be verified error

I recently upgraded my laptop to macOS 10.15.4 and now Java will not run from the command line (or anywhere else from what I can tell) I just see this error message: “jdk-11.0.2.jdk” cannot be ...
0
votes
1answer
99 views

How do I uninstall Java7 from macOs

After April 2015, Oracle will no longer post updates of Java SE 7 to its public download sites. I am inclined to remove Java 1.7 and the JDK permanently from my Mac, if only I knew how to accomplish ...
0
votes
1answer
80 views

installed jenkins on windows ec2 instance

I have installed JDK 8 and Jenkins on Windows EC2 instance I don't see any errors in the logs, but when I go to http://localhost:8080/ , I am getting a page cannot be displayed error Starting C:\...
0
votes
0answers
90 views

tomcat server won't start in xampp

hey everybody the problem is tomcat in xampp refuse to start i have jdk 13 and it keep showing me the error : Tomcat Started/Stopped with errors, return code: 1 Make sure you have Java JDK or JRE ...
0
votes
1answer
37 views

JVM Failed to start while installing java

I installed java, and then realized that it was the wrong version, so I tried reinstall Java, but mid installation it said "JVM Failed to start". I tried to install JDK 1.8.0_221. Any help would be ...
1
vote
0answers
186 views

Unable to locate plugin type for IfFileName

When i try to install sonarqube on windows 10, elasticsearch give me this error: wrapper | --> Wrapper Started as Console wrapper | Launching a JVM... jvm 1 | Wrapper (Version 3.2.3) http://...
0
votes
0answers
86 views

Java jar crashes when it tries to load a window, no error message

Whenever I run a Java application that has a user interface, it crashes as soon as the window opens. The window is blank white with no content and shown for about 100 milliseconds. There are no error ...
0
votes
0answers
19 views

java -version does not work

I install Oracle java 1.8.0_101 manually on Debian 10 for hadoop uses, I have found this tutorial : https://www.digitalocean.com/community/tutorials/how-to-manually-install-oracle-java-on-a-debian-or-...
0
votes
0answers
28 views

How to install jdk 11 silently on Macos in production electron app?

I'm trying to install jdk 11.0.2 silently as a bash command on macos devices for my electron app. Unfortunately, using brew does not work as that would require me to install brew on someone's machine ...
0
votes
0answers
15 views

android studio wont open

I have updated my Java and since then I cannot open Android Studio anymore, before having updated my Java I had removed previous versions because it was advised me to do so, I think this might have ...
0
votes
1answer
117 views

Change Registry Value for Specific Application Lifecycle Only

Is it possible to override the value of an arbitrary Windows registry key for a specific application lifecycle? My hope is that a temporary registry value can be set with the command line, so that I ...
0
votes
0answers
886 views

Windows 10 netbeans 8.2 install ( java SE Development kit (JDK) was not found on this computer )

I've been trying all day to install netbeans to my computer. I have downloaded and installed java SE (JDK) and it keeps saying that it is not on the computer. I keep getting this error: C:\WINDOWS\...
0
votes
0answers
392 views

While setting up the Hadoop 3.1.2, Nodemanager, resourcemanager and datanode keep on shutting down

I have jdk12.0.2 and jre1.8.0_221. java.io.IOException: All specified directories have failed to load. at org.apache.hadoop.hdfs.server.datanode.DataStorage.recoverTransitionRead(DataStorage....
2
votes
2answers
1k views

Cant resolve PATH issue in Cordova

Hi i'm trying to build an app in Cordova yet i have hit a road block. Can someone please help me with pointing everything to the right PATH. I run the following commands no problem. cordova create ...
0
votes
2answers
4k views

Unable to download Oracle JDK 8 using Wget command

I have been trying to download "jdk-8u211-linux-x64.tar.gz" from https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html? with the below command. The file gets downloads ...
0
votes
0answers
596 views

Caused by: java.nio.file.InvalidPathException: Trailing char < > at index 10: res/raw/?

I am facing this issue in android app bundle. I have created the android app bundle from android studio 3.4.2 successfully and now I want to build apks from that bundle using bundletool so later I can ...
0
votes
0answers
128 views

Updating OSGi, but org.eclipse.osgi cannot be found

who can lend their eyes and perhaps a thought or two: Having quite a fun time updating much older versions of Jetty & OSGi for our web application. # The P2 installer complains about not ...
1
vote
1answer
73 views

Why don't I see my “Hello World” code on Netbeans?

I am new to Java, but how come I do not see my code on Netbeans? public class HelloWorld { public static void main(String[] args){ System.out.println("Hello World!"); } }
0
votes
1answer
291 views

How can I update JRE from JDK1.8.0_212 to 12.0.1?

I have already tried over Preferences-Installed JRE and I get information from Eclipse Target is not a JDK Root. Java executable was not found I'm working with Eclipse 4.12.0 on the MacOS Mojave....
1
vote
0answers
14 views

Can I move unsupported utilities—like JDK8—into homebrew?

Maybe I'm clutching at straws and/or misunderstanding the whole Homebrew idea, but: I need JDK8 in homebrew, which isn't available anymore to Homebrew due to some licensing issues [e.g., https://...
0
votes
1answer
661 views

Windows 10 shows wrong Java version

On newly installed windows 10 64bit, I did install first, Oracle JDK 12, then installed Oracle JDK 8 update 211, and finally installed Oracle JDK 11. So now in the C:\Program Files\Java\ there exits ...
9
votes
2answers
2k views

Android Studio 3.6 canary 4 - Gradle throwing DefaultProjectSyncIssues exception

I updated Android Studio 3.6 Canary 3 to 3.6 Canary 4 few hours ago, and just moments ago I tried to open a project, but it didn't even configure when I opened the project. I already had Gradle 3.6.0-...
0
votes
0answers
787 views

Could not retrieve jansi 1.11

I downloaded intelliJ and the Scala plug in and created a new Scala SBT project. I am getting the following errors: Getting org.fusesource.jansi jansi 1.11 (this may take some time)... unresolved ...
0
votes
1answer
263 views

Using Oracle JDK with Nix package manager

Can somebody point me to the correct steps to install Oracle JDK with Nix package manager? I tried the following so far: https://nixos.org/nixos/packages.html#jdk - oracle is not there nix-env -i ...
0
votes
0answers
10 views

JDK installer doesn't show up even after erasing the old one completely

Good morning/evening you all I have uninstalled JDK and trying to reinstall it (I'm sure that I've installed the right version) but the installer just doesn't show up (I right-clicked Run as ...
0
votes
0answers
116 views

Jasperreport font problemes on linux server

I have a java web application on a tomcat server that uses jasperreport to do state. On microsoft windows and ubuntu 16.04 desktop, works fine. On the other hand, on ubuntu server, I have an exception ...
0
votes
1answer
383 views

SQL Developer Can't locate Java on Mac OS

I have downloaded Oracle SQL Developer and when I attempt to run it i get the following message: These are the java settings on my computer: java -version: java version "12.0.1" 2019-04-16 "/Library/...
2
votes
2answers
3k views

Java version issue “Could not determine java version from '12.0.1'”

I am trying to code a minecraft mod, but that is not the problem. I have to extract a folder using the gradlew command: gradlew setupDecompWorkspace The problem: Every time I try to perform this ...
0
votes
1answer
541 views

weblogic server installation issue

I got my weblogic installation file here: https://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html I was able to open my Admin command prompt (Win key+R, type cmd and ...
0
votes
1answer
853 views

JavaFX Application (JDK and JRE 8) Issue Greenfoot Ubuntu 18.04

I recently installed JRE 8 and JDK 8 to use Greenfoot in Ubuntu 18.04. I know the majority of my Java install works (I can write code in atom and run it with scripts). However, when I try to launch ...
0
votes
0answers
21 views

Issues running excutable on Docker Windows image

I'm trying to install java JDK through an executable but it cannot run thru the command line. I would like to figured out how to install this JDK in to my windows Docker container. I'm using this ...
0
votes
0answers
32 views

Installation of Java and IDEs

I installed Java & eclipse IDE recently on Windows 7 and opened the eclipse and later uni stalled both. By the time I installed Java back successful and while trying to install eclipse the system ...
3
votes
1answer
620 views

What is the minimal installation possible in order to run a .jar Java file?

I wish to run a small utility ("Nightly Updater", NU) for a game called Simutrans. NU comes in the form of a .jar file and the only system requirement for NU is Java 9. I have Java 8 installed in my ...
6
votes
2answers
1k views

Automatic updates to free OpenJDK on Windows?

How do I install or setup a free JDK such as OpenJDK on Windows 10 in such a way that it will automatically hint about or install security updates to the JDK? Is there some distribution except for ...
1
vote
0answers
497 views

IntelliJ doesn't see JDK in Linux Mint

I installed IntelliJ 2019.1 on Linux Mint, but it doesn't recognize the JDK. I'm used to it automatically detecting it. I have tried: Manually adding the JDK.  I go to Project Structure and try to ...
2
votes
1answer
7k views

Cordova, Requirements check failed for JDK 8 ('1.8.*')! Detected version: 11.0.2 on Mac OS

I'm trying to run simple project with cordova on MacOS Mojave 10.14.4: screenshot of error I tried to change the environment variable JAVA_HOME in several ways: export JAVA_HOME="`/usr/libexec/...
1
vote
2answers
3k views

What's the fitting Java Runtime for files compiled by JDK 12.0.1?

I have just updated my JDK to version 12.0.1. Compiling works like a charm, but I cannot run the files anymore. However, I couldn't find a fitting JRE (like JRE 12 or so). As it seems, there is no ...
2
votes
0answers
245 views

gradlew command fails in Android Studio terminal

I'm trying to run gradlew in an Android Studio terminal to setup SonarQube however I get error: ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files\Java\jdk-11 .0.2\bin. Please set the ...
0
votes
0answers
2k views

Tomcat started / stopped with error, return code 1

" Make sure you have java JDK or JRE installed and the required ports are free Check the ""/xampp/tomcat/logs"folder for more information " Tell me in detail plz.
0
votes
2answers
890 views

How to change java jdk version?

I want to install the new 11.0.02 java jdk. I tried to use this link: first source and afterwards this: second source Now, using cmd, I run these two commands: java -version ==> the older version ...
1
vote
1answer
618 views

Invoking wget from java (runtime.exec) hangs and limits the download to a specific file size (while same with curl does not)

Issue details I am trying to invoke wget from java to download a file but I keep hitting a weird issue where the file size will be capped. For example, when issuing "wget https://speed.hetzner.de/...
1
vote
0answers
50 views

Java application not picking up app.properties on Widows 10

there is an application that needs certification to work fine, in Linux, there is no problem but I want to run this on a windows machine. I have Installed Java on my windows 10 system. then I ...
0
votes
2answers
1k views

Can't start Android Studio

So I've been having some problems lately with Android Studio (Gradle not syncing, can't target JDK, etc..). So I completely uninstalled and reinstalled both Android Studio and JDK. But now when I try ...
2
votes
3answers
10k views

Changing JAVA_HOME in cmd temporarily doesn't change PATH temporarily in windows

I hava defined JAVA_HOME to jdk11 in users' environment variable and PATH contains %JAVA_HOME%/bin in it. Now I want to switch to jdk8 temporarily in command-prompt (cmd) by changing JAVA_HOME to ...
0
votes
1answer
3k views

How to change the color of NetBeans cursor?

I recently tried the Darcula LAF theme for NetBeans 8.2 and uninstalled it. Everything seems fine except the fact that the cursor in the NetBeans has now tured to white, which makes it invisible/...
5
votes
3answers
6k views

Are there performance differences between OpenJDK and Oracle?

Oracle has recently decided to start charging for commercial use of their JVM. Our team has started to switch over to using OpenJDK instead, and are finding everything seems to be working fine, ...
2
votes
1answer
3k views

Fedora 28's “JDK” is missing the compiler, javac; How do I properly install it?

I installed a fresh download of Fedora Server 28 and it didn't come with Java. Fine. I ran yum list, and found some packages to install and installed all the most suitable looking JDK packages. ...
0
votes
1answer
49 views

How do I get a standalone (no install necessary) JDK 8 for Java coding in IDE on Mac?

I am using a public computer and I want to do some Java coding on it. I was able to download IntelliJ and I was able to copy it to my desktop and run it, but I was not able to install the JDK due to ...