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.

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, including the following:

  • java - the Java virtual machine
  • javac - a Java compiler
  • javadoc - generates HTML documentation from special comments in Java source files
  • javap - disassembles Java class files into their bytecode instructions
  • jar - generates Java Archive files, or JAR files, a collection of Java class files

It also comes with the standard Java API class library. Besides the above tools, there are a lot more.

160 questions
28
votes
1 answer

What is the difference between Java CPU and PSU Releases, eg JDK SE 8u101 and JDK SE 8u102

I'm installing JDK SE 8u101 on my mac for Android Studio. Is there any reason I should pick 8u102 vs. 8u101? Are there any noticeable differences in them? Looks like they were released at the same time.
22
votes
5 answers

Windows 8 & Java Development

I'm considering to upgrade my PC to Windows 8, but I have one concern though. I haven't yet found any "confirmation", that the JDK and Eclipse will work on Windows 8. Have anyone tried to develop/run Java-applications on Windows 8?
Christian Tang
21
votes
6 answers

Wrong java -version being reported

I am running Windows 7 Professional x64 and have the following Java versions installed: x64 C:\Program Files\Java jdk1.6.0_24 jdk1.7.0_04 jdk1.7.0_07 jre6 jre7 x86 C:\Program Files (x86)\Java jre1.6.0_07 jre6 jre7 in my environment…
Malachi
  • 343
21
votes
5 answers

What's the difference between JDK 8u91 and 8u92?

The Oracle website seems to be recommending version 8u91 when you click on "Java for your computer". But when you click "Java for Developers", it gives two options: 8u91 and 8u92. What's the difference? Generally I would assume the highest…
Elliott B
  • 1,347
  • 5
  • 17
  • 44
19
votes
2 answers

Where do I download Java development binaries (JDK) for Windows 7 64-bit?

I am trying to install a Java development environment on Windows 7 64-bit, but I am unable to find a suitable install. Is there one available?
Xetius
  • 1,221
18
votes
3 answers

Is it safe to delete Java folders from C:\Users\(Username)\AppData\LocalLow\Sun\Java

I am using a Windows 7 64-bit PC. I have many folders in C:\Users\(Username)\AppData\LocalLow\Sun\Java with names of older Java versions like: jdk1.7.0_21_x64 jre1.7.0_45 jre1.7.0_25 These folders contain .msi and .cab files. I have uninstalled…
user359846
14
votes
5 answers

How to uninstall Java SE from the command line

Oracle states that the Java SE installer is built using MSI, but the help page, rather unhelpfully doesn't list uninstall options. I need to do a command line uninstall, and I can't figure out or find relevant the options for 1.6.21 I've tried…
nick3216
  • 302
10
votes
3 answers

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, except we're getting slower performance. Our servers…
Brad Parks
  • 3,253
9
votes
2 answers

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-alpha04 before updating to 3.6C4** Why is Gradle…
The Badak
  • 193
8
votes
3 answers

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 jdk8 but it doesn't change value in path or java…
Shubham Raj
  • 83
  • 1
  • 1
  • 4
7
votes
1 answer

How to recover /usr/libexec/java_home executable on Mac OS X 10.8.5?

Today I accidentally delete the /usr/libexec/java_home executable on my Mac OS X 10.8.5 (Mountain Lion) while trying to install latest JDK. Then, I realized that homebrew (package manager) and some other apps needs that binary. Where can I find or…
edigu
  • 243
  • 2
  • 9
7
votes
2 answers

How can I make JDK 7 the default JDK in NetBeans?

I uninstalled JDK 1.6.26, then installed JDK 7 and changed my PATH to point to the new version. However when I now open NetBeans it shows me this error: Cannot locate java installation in specified jdkhome: C:\Program Files\Java\jdk1.6.0_25 Do…
7
votes
3 answers

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 opened because the developer cannot be verified
7
votes
2 answers

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 the OracleJdk that includes an updater?
tomsv
  • 413
5
votes
1 answer

jstack command not found on centos

I installed JDK by downloading the RPM from oracle and installed it using yum. But the jstack command is not recognized. I'm using CentOS 6.3 How can I make it work?
Arya
  • 507
1
2 3
10 11