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
1answer
90 views

How to install Java 8 on Kali Nethunter

Guys I need to install jdk 8 for my programs to work better, many programs do not support the version higher than Java 8 so I want to install Java 8 to run better, I tried to install via apt-get, but ...
0
votes
2answers
71 views

Problems launching java programs in Windows Command Line after Java Update 281

After updating Java 8 (update 281) yesterday (2021-02-15) I could no longer use the Single-File Launch in the Windows Command Line. Prior to this I had no problems using this feature but now I get the ...
0
votes
0answers
26 views

Does JDK include Maven?

I can't remember when I installed Maven; in fact I'm really not sure I ever did, but it's installed on my computer. Is it included in the JDK? Thanks in advance
1
vote
0answers
19 views

Cannot compile jetbrains intelij idea community edition on alpine linux

Amazon JDK has an Alpine Linux version, and I downloaded JetBrains's IntelliJ community source code. The ant build stuck at Failed to complete gradle setupJdks setupKotlinPlugin and the ...
4
votes
3answers
56 views

On Fedora, why do I have to install a devel package to get javac?

From what I've heard 'JDK' stands for Java Development Kit, and on Debian based systems you install default-jdk to get a running javac. However on Fedora (at least the recent ones) installing java-...
1
vote
1answer
580 views

How to use vscode-java v0.65.0 with older java jdk<11 (64bit) or with any compatible jdk at all (32bit)?

32bit and 64bit This question is tailored for those who do some research on how to use an older java than java 11 (e.g., Java 8) on vscode-java, thus for those who do not run into the error of "...
0
votes
1answer
797 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' ...
3
votes
3answers
1k 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
113 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
92 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
1answer
59 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
455 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
155 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
1answer
166 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 ...
2
votes
2answers
3k 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
6k 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 ...
1
vote
1answer
110 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
339 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
18 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
2k 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
1k 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
393 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
1answer
762 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
4k 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
938 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
956 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 ...
3
votes
1answer
1k 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
3k 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
538 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
11k 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
4k 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
375 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
3k 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
1k 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
1k 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
57 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
2k 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 ...
3
votes
3answers
24k 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
4k 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/...
8
votes
3answers
9k 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
69 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 ...
2
votes
1answer
1k views

Run artifact (.jar) in Eclipse after Maven build success

I'm working on a Maven project, and after resolving many configuration problems, finally I am able to build the project successfully in Eclipse. After selecting maven install and seeing build success, ...
0
votes
1answer
42 views

Cannot use command promt [duplicate]

Mt command prompt will not run any default windows commands because I changed my PATH to jdk (Java Development Kit). Is there a way to fix this without changing the PATH back? If there isn't what ...
1
vote
1answer
350 views

Where is JAVA_HOME expanded to JAVA_HOME/jre?

We have a Tomcat 8 running on Debian 8/jessie. When starting the tomcat using service tomcat8 start we can see INFO: Java Home: /usr/lib/jvm/java-7-openjdk-amd64/jre In /etc/default/tomcat8 we ...
0
votes
0answers
160 views

Matlab R2016a on Ubuntu 14.04 and JDK 1.7; Needed? Alternatives?

I have already successfully installed Matlab 2016a on Ubuntu 14.04. As the installer finished wrapping up, it notified me that I was missing some necessary compilers. I noticed that I had forgotten to ...
0
votes
0answers
2k views

Cannot uninstall java on Mac

I want to downgrade from java 9 to java 8 on my mac (MacOSX High Sierra (Version 10.13.2)) I find the same instructions regarding how to do this everywere everywhere (including on the java site): ...
1
vote
1answer
52k views

Netbeans 8.2 won't install due not finding jdk?

I tried to install netbeans 8.2 on Windows 7 Home 64bit. First I installed JDK9 with JRE9, and I set up the environment variable, PATH and JAVA_HOME with the JDK Folder. But when I try to start the ...
2
votes
2answers
103 views

Windows 10 unexpectedly restarting

I encountered a very strange problem after installing Java JDK 8. Whenever I create a new Java project in Eclipse Luna, my computer unexpectedly restarts without any warning or anything else. I'm ...