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.
58
questions with no upvoted or accepted answers
3
votes
1
answer
1k
views
Cannot install JDK on Windows 8
I am struggling to install Oracle's JDK7 on my Windows 8.1.
I got the jdk-7u51-windows-x64.exe file from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html as I should,...
3
votes
0
answers
2k
views
Errors when installing jdk 1.7 in linux
When I am installing jdk 1.7 in Oracle Linux by using the following
rpm -ivh jdk-7u9-linux-i586.rpm
However I am getting the following errors, how can I resolve these errors and install jdk 1.7?
...
3
votes
0
answers
1k
views
How to install Java 7 on Solaris 9?
Oracle states the following regarding Java 7:
This version of the JDK is supported on the Oracle Solaris 10 Update 9
or later OS, Oracle Solaris 11 Express OS, and Oracle Solaris 11 OS
...
2
votes
2
answers
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 ...
2
votes
1
answer
13k
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/...
2
votes
0
answers
542
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 ...
2
votes
0
answers
139
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 ...
2
votes
1
answer
209
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 ...
1
vote
0
answers
102
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 ...
1
vote
0
answers
968
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://...
1
vote
0
answers
23
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://...
1
vote
1
answer
853
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 ...
1
vote
2
answers
5k
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 ...
1
vote
2
answers
3k
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
0
answers
84
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 ...
1
vote
1
answer
568
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 ...
1
vote
0
answers
637
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
2
answers
3k
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
1
answer
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 ...
1
vote
0
answers
309
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 ...
1
vote
0
answers
1k
views
MATLAB not loading- java NoClassDefFoundError
The installation itself was giving an error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: data starting at 0 is in unknown format
but when I deselected Aeromodeling toolbox ...
1
vote
0
answers
152
views
Run Java applications with JDK on OS X
Apple in the latest releases of OS X removed Java from default installation so for my needs I installed JDK from Oracle's website.
~ java -version ...
1
vote
0
answers
130
views
How can I get back Java Preferences after uninstalling JDK 7 on Mac
When I installed Oracle's JDK 7 on Mac (OSX 10.8), Java Preferences disappeared.
Now I removed JDK 7, and reinstalled Apple's JDK 6, but still, I don't have Java Preferences in Applications/Utilities ...
1
vote
0
answers
141
views
Make application launcher search for apps in a particular folder?
Everytime I want to run an application with Application Launcher (Alt+F2) in my Ubuntu, I have to make a link to that app and put it in /usr/bin folder, Application Launcher won't search in the folder ...
1
vote
0
answers
454
views
Java swing components are doing strange things
There is a strange occurrence with Java swing components (buttons, text, etc in GUIs) have lately been going haywire for no reason I see. Here's the three things that I've noticed happening:
If I ...
0
votes
0
answers
80
views
Doesn't exists Java JRE 17?
I need the java JRE v17 but I cannot find it. Looking into https://www.java.com I can find only Java JRE v8 only.
Looking in https://www.oracle.com/it/java I can find JDK 17 but not its JRE.
What I'm ...
0
votes
0
answers
324
views
Double click on jar file dosen't work (turn .jar to .exe)
I am trying to turn my java program into an .exe.
With the help of IntelliJ IDEA I created a .jar file and I'm able to run it from my os cmd with java -jar and it works great.
When I double click the ....
0
votes
0
answers
492
views
Could not start the game server
I tried to run the game as explained here...
https://www.minecraft.net/en-us/download/server
But got this error:
# java -Xmx1024M -Xms1024M -jar server.jar nogui
Error: LinkageError occurred while ...
0
votes
1
answer
2k
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'
...
0
votes
1
answer
156
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 ...
0
votes
0
answers
429
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
1
answer
796
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
1
answer
460
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....
0
votes
1
answer
938
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
1
answer
1k
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/...
0
votes
1
answer
1k
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
0
answers
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
1
answer
266
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 ...
0
votes
0
answers
169
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
0
answers
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):
...
0
votes
0
answers
2k
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 ...
0
votes
0
answers
4k
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
1
answer
3k
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
0
answers
100
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
1
answer
1k
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
0
answers
1k
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
0
answers
187
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 ...
0
votes
1
answer
972
views
Java SE Development Kit 7 Update 71 failed
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 ...
0
votes
1
answer
177
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\...
0
votes
1
answer
322
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....