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.

learn more… | top users | synonyms

1
vote
1answer
11 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? /...
0
votes
0answers
43 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
100 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
238 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 ...
17
votes
4answers
16k 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
87 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 ...
0
votes
0answers
13 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
57 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
59 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 ...
0
votes
0answers
61 views

FireFox doesn't recognize correct Java RE

I have Win7 with FireFox 41.0.2 with a very old profile and 7 different Java instances. I can't simply delete old Java instances or the whole FireFox profile, and shouldn't be needed to. FireFox ...
2
votes
1answer
144 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
125 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
2k 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
90 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 ...
2
votes
1answer
716 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
81 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
26 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
700 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
233 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
99 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
256 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....
0
votes
0answers
97 views

JRE 7 VS JDK 7 (The jdk seems to have priority over the jre)

So I installed the JRE 7 for Minecraft and the JDK 7 for programming and when I'm not programming I want to play some craft but it seem's that having both the JDK and JRE conflicts and my Minecraft ...
1
vote
1answer
340 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
191 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 ...
9
votes
2answers
12k 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 ...
2
votes
2answers
12k views

64 Bit Windows 8.1 Failure to reinstall Java JDK and JRE

Attempting to update to jre-7u67 from 65 did not appear to work. On reattempting, installation failed with a “Access is denied” message. JDK was still there but I followed recommendations to remove ...
0
votes
0answers
142 views

Java/JDK filesystem organization on OSX (Mavericks)

If you install the JDK via the Oracle DMG, you get content put under /Library/Java/JavaVirtualMachines/jdk1.7.0_xx/Content/Home/bin as well as /System/Library/Frameworks/JavaVM.framework/Versions/...
0
votes
1answer
650 views

Java version not recognized when JAVA_HOME defined for a particular USERACCOUNT

I have been struck with problem on my development box. I have JRE6 on my system and NO ADMIN RIGHTS. Used this command to add user variables rundll32 sysdm.cpl,EditEnvironmentVariables I have ...
1
vote
2answers
629 views

Install 64-bit JDK versions with Ninite

I'm attempting to build a Ninite installer/updater for my own use and I've found it fantastic. However, as part of the profile, I would like to include the installation of multiple versions of the 64-...
3
votes
1answer
878 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,...
1
vote
3answers
12k views

Error: Could not find or load main class(Java)

I am using java in ubuntu machine. I can run java program from my eclipse. But I have some work that that I have to perform from command prompt. I could compile java program using javac HelloWorld....
0
votes
1answer
203 views

How to Restore Java on Snow Leopard?

I tried to install Java 7 on my Macbook running Snow Leopard following the instruction detailed here: http://stackoverflow.com/questions/13536667/how-to-install-java-jdk-7-on-snow-leopard/18788474#...
0
votes
2answers
3k views

OS X - Eclipse - WindowBuilder -> “Incompatible Java versions”

No matter what I do, Eclipse keeps saying that "Eclipse is running under 1.6, but this Java project has a 1.7 Java compliance level, so WindowBuilder will not be able to load classes from this project....
0
votes
0answers
118 views

Installing jdk 1.7.0 java -version not working

I have installed java jdk, following the steps as described here but the problem is when i do which jav it gives me the output /usr/bin/java but when i do java -version it says bash: /usr/...
0
votes
0answers
425 views

Where to find a zipped/tarred JDK 6

Ok, I concede. I have been looking in vain for a zipped and tarred copy of any later version of Oracle's JDK 6 for Solaris SPARC (32-bit), but all I can find is the shell scrip that "installs" it. ...
1
vote
1answer
56 views

How to update Oracle JDK on Debian

I am planning to install the oracle JDK7 on my Debian Wheezy machine. To do so I am using java-package to install the jdk as a .deb package under Debian, as described here. My question is: Can ...
1
vote
2answers
112 views

How to set up environmental variable in Ubuntu?

I have never used Ubuntu before. How do I go about setting an environmental variable that points to JDK? I installed it on my Desktop. I typed in "EXPORT JAVA_HOME=~/Desktop/jdk" in the command prompt ...
0
votes
0answers
58 views

Got a laptop from someone with JDK 1.7 installed, but freezing in terminal [closed]

When I type which java in a terminal, I get /usr/local/tools/i386_Darwin/jdk1.7.0_21/bin/java and on typing echo $JAVA_HOME, I get /usr/local/tools/i386_Darwin/jdk1.7.0_21 If I try java -version ...
0
votes
1answer
168 views

why update-alternatives --config java shows nothing?

I install oracle java JDK.rmp.bin on fedora. And installing by ". /jdk.rmp.bin", JDK is installed under /usr/java/jdk folder. I could compile java files using command "javac" and "java". I could also ...
0
votes
0answers
451 views

Eclipse Juno can't run any Java project

I use Eclipse Juno - Eclipse IDE for C/C++ Developers , and I can't run any Java project , mean even there is no "Run" option . For example when I right click on the Main class I just see (no "Run"...
-1
votes
1answer
144 views

JDK 1.6 for OSX

I am trying to use the Java game library Slick2d. However it seems like it's bugged using Java 1.7. I've tried to find it but was unsuccessful. Is it possible to install the 1.6 JDK on Mountain Lion?...
0
votes
0answers
858 views

How to configure Chromium's Java plugin so it uses an existing JDK in the machine

This exact same question was asked here, but the OP was asking in regard to a Windows system. I am running Linux Mint 14 "Nadia" - KDE (64-bit). The answer @Kalyan Akella provided to that question ...
1
vote
0answers
749 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
2answers
13k views

Upgrade to java 1.7 in eclipse on mac

I'm sort of a beginner with eclipse but I want to update the libraries or build path or whatever to java 1.7 from java 1.6 and I can't figure it out. I'm a computer science student at the university ...
0
votes
3answers
958 views

Ubuntu 10.10 -bash: java: command not found

I just bought fresh VPS with Ubuntu 10.10. I following this guide http://l2jserver.com/wiki/Setup_Server_-_Ubuntu for creating Lineage2 server, but this doesn't matter. I try to use command java -...
1
vote
1answer
192 views

Cannot install JavaFX SDK despite having current JDK

I want to install the JavaFX SDK and it keeps telling that it requires the current JDK to be installed, which I definitely have. Why doesn't the installation recognize my JDK? How can I fix this so I ...
0
votes
1answer
574 views

How to install oracle jdk7 on debian

I downloaded the binary of tar.gz format from oralce website. I extracted it to /usr/bin/jdk7. How to "install" it and make it the default jdk and jre?
1
vote
2answers
736 views

Installing JDK to remote server

I have been trying to install JDK to my online (remote) server. I have never made such installation so kindly help what is an appropriate way to do it. My doamin's hosting is linux. There are ...
-2
votes
1answer
216 views

install rpm packages with rpm

I tried to install java 1.7 with rpm but got this error: #rpm -i jdk-7-linux-x64.rpm. package jdk-2000:1.7.0-fcs.x86_64 is already installed If the package really was installed, then how come ...
1
vote
1answer
5k views

Jdk1.7.0_10 with eclipse Juno

I downloaded Eclipse IDE for Java Developers for Windows 64 Bit from - eclipse download , and also jdk-7u9-windows-i586.exe from oracle downloads . Then I installed the JDK in C:\Program Files (x86)...