Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
14 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 ...
1
vote
2answers
34 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
139 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/...
1
vote
1answer
455 views

Are there performance differences between OpenJDK and Oracle?

Oracle has recently decided to start charging for commercial use of their JVM. The company I work for has started to switch over to using OpenJDK instead, and are finding everything seems to be ...
1
vote
1answer
264 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
27 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 ...
1
vote
1answer
79 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
30 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
52 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
82 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
169 views

JDK crashing when running DBeaver SQL editor

I recently installed DBeaver Community Edition v5.0 on my CentOS 7 desktop. But whenever I start the application, it closes after a few seconds and the automatic bug reporting tool opens saying that ...
0
votes
0answers
992 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): ...
0
votes
1answer
25k 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
86 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 ...
0
votes
1answer
31 views

No Updates for JDK9

I have JDK 8 (Oracle)installed in my system. On frequent bases oracle release JDK8 updates which is show in my Windows OS . Now Java 9 Has released But I am not getting updates for that. Do I have to ...
0
votes
0answers
995 views

How can I launch keytool.exe through a batch script?

For various reasons, I want to make a batch script that can launch keytool.exe from either JRE or JDK. I thought this would be rather simple, but it has proven to be rather difficult. Here are some of ...
1
vote
0answers
3k views

Set SDK and JDK in Unity this get an error message

I try already half day in Unity to get to run an AR App with Vuforia. The app should be for an ODG R-7 glasses (on Android basis). If I click on "Build and Run", then I will be prompted to specify a ...
0
votes
0answers
395 views

Java installations are not working for me

So I have been having some troubles with Java. It turned out I had the 32 bit version installed of jdk, not sure why. I uninstalled it to install the 64 bit version instead. However I can't get the ...
1
vote
2answers
3k views

Not valid JDK Java Home on Weblogic's installer

I'm trying to install Weblogic using the Quick Installer. According to the README file I shoudl first set my JAVA_HOME system variable. QUICKSTART Setup JAVA_HOME for the target platform. ...
3
votes
1answer
329 views

Windows 10 JDK doesn't run

My problem is I can’t install any version of JDK on my computer. My new computer has windows 10 64bit(It’s current version is 1611). I downloaded the setup files however; after I double clicked the ...
0
votes
1answer
1k views

Unable to install JDK 8 in Windows 7 64 bit machine

I have tried multiple times now to install jdk 8 in my windows 7 64-bit machine but have failed. I have downloaded the 8u111 setup file named "jdk-8u111-windows-x64.exe" and 8u112 setup file named "...
0
votes
0answers
89 views

jdk8 executable not launching on windows 10 x64 no errors

I have downloaded the jdk8 installer executable for windows x64 from The following link (oracle): http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html The file that ...
0
votes
0answers
143 views

JDK version mismatch on OSX

I've been developing in Java on OSX without issue for a couple of issues. Yesterday, I started getting weird compiler crashes (NPEs deep in javac). I installed JDK 1.8.0_101, but javac is reporting ...
0
votes
0answers
100 views

Stopping MS Windows 10 from uninstalling Java's JDK

My laptop runs MS Windows 10 Home OS. I've got JDK (Java Development Kit) at version 7, that I use for software development. The current available version of Java SE (Standard Edition) is version 8, ...
0
votes
0answers
129 views

Downgrading from java se 8 to java se 7?

I built a web application in JAVA SE 8 using tomcat 8 but my hosting provider uses java se 7 and tomcat 7 on their web server. That's why I am getting error while deploying it. Please tell what i ...
27
votes
1answer
33k views

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 ...
0
votes
0answers
124 views

Java JDK 8 installer doesn't pop up after UAC

I've been trying to install Java JDK 8 for like 3 days, but after clicking yes to the UAC, no installer or anything pops up. I've tried downloading older versions, tried fixing any registry errors, ...
2
votes
1answer
405 views

Is it possible to create a WAR file using the Java JRE?

Using the Java JDK you can use the jar command to create a war file: jar -cvf /tmp/mywar.war * There is a way to work with .jar files with the Java JRE but can you create jar or war files with it? /...
3
votes
2answers
8k views

JDK 8 installation does not progress on Windows 10

I downloaded jre-8u91-windows-x64.tar.gz jdk-8u91-windows-x64.exe from Oracle web site this Oracle web site. When I open it (by clicking double) installation windows open, then I click Next and ...
1
vote
1answer
7k views

Error: Could not find or load main class with OpenJDK and Oracle Java on CentOS 7

On CentOS 7.2 Linux I have successfully downloaded and installed Oracle Java with: # rpm -Uvh jdk-8u91-linux-x64.rpm Also there is already OpenJDK installed: # rpm -qa | grep -i jdk java-1.8.0-...
0
votes
1answer
3k views

Unable to Install JDK 1.8 64-bit on Windows 10

I have installed Windows 10 64 bit on my system, Now when i am trying to install JDK 1.8 64-bit, its giving me following error message. These are my system configurations I have successfully ...
21
votes
5answers
24k views

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 ...
1
vote
2answers
1k views

Groovy console won't load on Windows 7 x64

I've never worked with Groovy before. I installed the executable and the latest JDK from the Java website. I set my system ENV variables JAVA_HOME to C:\Program Files\Java\jdk1.8.0_77 and ...
1
vote
0answers
98 views

Java JRE or JDK silent Update

Is there a way to Auto Update JRE or JDK if an update is available? Background periodically JRE or JDK says an update is available, I would like to do this check using Task Scheduler on system boot ...
0
votes
1answer
204 views

JDK as an archive for Windows

My company makes use of the latest version of Oracle JRE (1.8.0u66), though I use the JDK instead of only the JRE. The client I'm dispatched to requires the latest version of Oracle JDK 6 (1.6.0u45) ...
1
vote
2answers
138 views

How to set a command without defining path everytime?

I have a command which is: ./keytool But I always have to go to this folder to use it: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-2.b17.el7_1.x86_64/jre/bin How can I just use the following command ...
2
votes
1answer
2k views

Changing the system path variable is not saving the new path

I have just installed JDK (Windows 8 x64), when I run java in a cmd window all is fine, but when I run javac it gives an error message. I have found that when I use echo %PATH% it shows the path as ...
0
votes
1answer
555 views

Java SE Development Kit install interrupted

I want to install Xamarin in Windows 8.1. it requires to install Java Development Kit 1.6 or above 32-bit. when I try to install JDK, I get this error message" I'm using Windows 8.1 x64. How can I ...
1
vote
1answer
3k views

JDK 8u31 Not Installing on Windows 10 Preview

I'm trying out the Windows 10 Preview on my computer, and I tried to install Java and the JDK. Java installed fine from Java.com, but intalling the JDK from the JDK8 Download Page gave me the ...
1
vote
2answers
128 views

Changing terminal Java version - not all options shown

I'm trying to change the JDK that the linux terminal is using to run jar files from 1.6 to 1.7. I'm trying to do this by using the command update-alternatives --config java which is giving me the ...
5
votes
1answer
2k views

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 ...
2
votes
1answer
112 views

Should I trust download.oracle.com if my certificate does not match?

I've been getting this every time I try to download a JDK 8 update to my MacBook. First, I go here: http://www.oracle.com/technetwork/java/javase/downloads/index.html I click the download location ...
0
votes
1answer
56 views

How can I isolate a JPNLP (web deploy) Java version from other, legacy versions on the computer?

I have a JNLP that runs the following shortcut when installing: C:\Program Files (x86)\Java\jre1.8.0_25\bin\javaws.exe" -localfile C:\Users\akelly\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\42\...
1
vote
1answer
1k views

Switching JRE version

I have JDK 1.8.0_05 64 bit, 1.6.0_45 64 bit and 1.6.0_39 32 bit versions installed on a same machine. I am using this machine for Android app development and it was working fine with Native Android ...
0
votes
1answer
746 views

How to uninstall Java version 1.4

I would like to asks a question about how to uninstall my old version of java(1.4.2_06) if it is not shown in add/remove in control panel? I'm using windows xp. I already uninstalled all my java that ...
0
votes
1answer
234 views

Chrome doesn't recognize that I already have Java installed

I've installed the latest JDK which also installs the JRE (1.8.0.25) The paths all seem to be set fine and Eclipse runs just fine. But my browsers do not recognize that Java is installed and want me ...
0
votes
1answer
298 views

Debian, shell and jdk 8

I'm trying to download jdk on debian 7 using wget command wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u25-b17/jdk-8u25-linux-x64.tar....
1
vote
1answer
530 views

Two versions of java installed in two locations on my mac, which is right?

I am having trouble with java install locations. I am using a mac running 10.9.2 and i have two versions of java installed jdk 1.7.0 & jdk 1.6.0 but both installs are in different locations. jdk ...
1
vote
0answers
290 views

Slow Windows Application Startup

I have Windows 8 Pro/i5 3320M laptop with 8GB memory. Java based applications such as Eclipse, Phpstorm takes about 15-30 mins to load. (i assume issue is with java apps, others work fine). I tried ...
13
votes
2answers
25k views

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 ...