Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2005

Tip: Looking for answers? Try searching our database.

Some REALLY basic questions about versions

Thread view: 
Michael Hesse - 24 Jul 2005 17:02 GMT
Hi,

New to Java.  What is the difference between an SDK and a JDK?  I see that
there is SDK 1.4 and JDK 5.0.  Should I use one over the other?

What is the difference between Java Studio Creator and Net Beans?  Any
recommendations?

Thanks,

Michael
Alan Krueger - 24 Jul 2005 17:24 GMT
> New to Java.  What is the difference between an SDK and a JDK?  I see that
> there is SDK 1.4 and JDK 5.0.  Should I use one over the other?

The JDK (Java Development Kit) contains development tools, including the
bytecode compiler.  The JRE (Java Runtime Environment) contains just the
runtime.  JDK became the Java 2 SDK in v1.2, but has (apparently) again
become JDK.
Monique Y. Mudama - 24 Jul 2005 19:00 GMT
> Hi,
>
> New to Java.  What is the difference between an SDK and a JDK?  I
> see that there is SDK 1.4 and JDK 5.0.  Should I use one over the
> other?

SDK vs. JDK is just a naming convention; no difference.  5.0 is I
believe really 1.5.  1.5 adds some interesting new language features, but
it really depends on what you can expect your users to have installed.
You won't be at any real disadvantage if you use 1.4 right now, and
your users will be more likely to have 1.4 than 1.5.

> What is the difference between Java Studio Creator and Net Beans?
> Any recommendations?

No idea.

Signature

monique

Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html

Thomas Weidenfeller - 25 Jul 2005 09:38 GMT
> New to Java.

Beginner's questions are best handled in comp.lang.java.help

> What is the difference between an SDK and a JDK?  I see that
> there is SDK 1.4 and JDK 5.0.  

Sun employs a bunch of bored people who have nothing better to do than
to rename and renumber products. These people have a fixation on
renaming and renumbering Java - after doing the same with other Sun
products like the Solaris OS and the C/C++ compiler for years.

E.g. once the Java SDK (Software Development Kit) was called JDK (Java
Development Kit). Than some of this bored guys at Sun renamed the JDK to
something like "Java 2 SDK". Later, still bored, they once again renamed
it back to JDK (with Java 1.5/5.0).

The same happens with the numbering. Suddenly Java 1.2 was called "Java
2". But of course Java 1.3 was called "Java 2 SE 1.3" (or something
along the line). With Java 1.5 they did it again. Java 1.5 is suddenly
called Java 5.0.

Enough? Well, still not for the bored guys at Sun. How would one now
expect the next major version of Java to be called? "Java 6.0", right?
Wrong! That one will be "Java 6". Sun will drop the minor number. Of
course, this will open up a new can of worms, because how are they now
going to identify maintenance releases? I would expect atrocities like
"Java 6 SE Build 1.6.3_b24" in the future.

> Should I use one over the other?

I would suggest you start with Java 1.5, alias Java 5.0. Unless you have
a good reason to start with the older 1.4 JDK/SDK. Such a good reason
might e.g. be that your textbook (you do have a textbook, don't you?)
doesn't cover the new Java 1.5 features (e.g. generics).

If you follow a 1.4 textbook but you use Java 1.5. you will get a bunch
of warnings from the compiler because one is supposed to do some things
differently in 1.5.

> What is the difference between Java Studio Creator and Net Beans?

NetBeans is Sun's free IDE, which is a classic IDE (supports the usual
things on expects from an IDE).

Java Studio Creator is a commercial Sun product, which is centered
around visual "programming". One is supposed to drag and drop stuff to
somehow assemble an applications. Some years ago one would have called
that a RAID tool.

JSC is unsuitable if you want to learn the programming language.

> Any
> recommendations?

Use non of these. Consider using the command line tools that come with
the JDK/SDK, so you get an idea of how things really work.

If you are more interested in object-oriented programming than Java,
consider the BlueJ IDE http://www.bluej.org That IDE is particularly
made for students.

/Thomas

Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/

Michael Hesse - 25 Jul 2005 16:12 GMT
Thanks for the very thorough answer.  I am pretty sure I am less confused.
;-)

And yes, I am working with a 1.4 book and using the command lines tools for
now.

Michael

>> New to Java.
>
[quoted text clipped - 58 lines]
>
> /Thomas
Chris Smith - 26 Jul 2005 02:19 GMT
> If you follow a 1.4 textbook but you use Java 1.5. you will get a bunch
> of warnings from the compiler because one is supposed to do some things
> differently in 1.5.

It's worth noting that if you do anything non-trivial, you are in fact
bound to get warnings anyway from 1.5 code.  Java 1.5 has unfortunately
made it practically impossible to write most realistic applications
without getting compiler warnings.  For those of us who are used to
treating warnings with great respect, this is nothing but infuriating.  
I've had to disable the type safety warnings from Eclipse to avoid this
horrid situation.

Signature

www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

Thomas Weidenfeller - 26 Jul 2005 07:59 GMT
> It's worth noting that if you do anything non-trivial, you are in fact
> bound to get warnings anyway from 1.5 code.  Java 1.5 has unfortunately
> made it practically impossible to write most realistic applications
> without getting compiler warnings.

Tells a lot about the real-world experience of the JCP committee which
did the 1.5 spec., doesn't it?

/Thomas

Signature

The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.