Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes JDK and SDK, what's the difference Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "JDK and SDK, what Watch "JDK and SDK, what New topic
Author

JDK and SDK, what's the difference

Yan Bai
Ranch Hand

Joined: Jul 21, 2002
Posts: 125
Hi, I know this question is not about the certificate exam, but I still hope you could help me out.
I am trying to install Oracle JDeveloper on my machine, and it requires a JDK be installed first, I have sdk1.4.0 installed already, should I download another JDK?
Thanks a lot!


SCJP 1.4
Peter Tran
Greenhorn

Joined: Oct 17, 2002
Posts: 25
Hello Jan Bai,
I don't think you need to download another JDK if you already have 1.4.0.
However you will need to set the variable SetJavaHome in the file <jdev_install>\jdev\bin\jdev.conf to the location of your JDK installation. Use an editor that recognizes UNIX end-of-line characters, such as WordPad. When you save the file, WordPad will warn you that it is about to save the file in text-only format. You can ignore this warning.
For example, in a Windows environment, if the location of your JDK 1.3.1_02 is in a directory called jdk1.3 on your D drive, your entry in jdev.conf would look like:
SetJavaHome d:\jdk1.3

Peter


SCJP 1.4, SCSA 8.0, CCNA<br />IBM Certified Specialist AIX<br />Microsoft MCSD
Yan Bai
Ranch Hand

Joined: Jul 21, 2002
Posts: 125
Peter, Thanks.
Oracle provides alink to download JDK1.3.1_02, but this webpage doesn't have JDK version higher than 1.2.1, while SDK has the very new release.
Is JDK functioning as a graphic develop environment? Is it only one component of SDK - but it seems not, since I couldn't find anything about it in the java directory.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
JDK stands for Java Development Kit.
SDK stands for Software Development Kit.
Sun used to call the software development kit that it provided for Java programming "The JDK". Since, 1.3 or 1.2, Sun wants everybody to call it "The Java SDK".


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JDK and SDK, what's the difference
 
Similar Threads
Compile and deploy Applets
Help - new to Java and can't get my compiler to work
Problem with Java 5 Update 1
Query on JDK installer?
rotating custom button, what paint method to ovveride