- Do you use "JDK" is a common term to describe the JRE + 'standard' tools?
- Do you expect that you can get a JDK from any vendor, such as IBM, BEA, Sun, Apple?
-
Two Questions About the Term "JDK" (26 messages)
- Posted by: Geir Magnusson Jr
- Posted on: October 25 2006 09:50 EDT
As a Java programmer, I'm used to thinking that there are two kinds of distributions of Java SE. First there is the JRE (Java Runtime Environment), which is the bare-minimum platform distribution of the virtual machine and class library (for the most part), and second, there's the JDK (Java Development Kit) a riff on the age-old standard term-of-art "SDK", where the JDK is a JRE plus common tools. I asked this question in my blog, but since no one reads it, I didn't get too many answers. :) So I'd like to ask the TSS community the same two simple questions:Threaded Messages (26)
- Re: Two Questions About the Term "JDK" by Maris Orbidans on October 25 2006 10:46 EDT
- Yes/No by Dmitry Gusev on October 26 2006 06:11 EDT
-
Re: Yes/No by Steve Zara on October 26 2006 08:18 EDT
-
Re: Yes/No by Geir Magnusson Jr on October 26 2006 08:03 EDT
- Re: Yes/No by Steve Zara on October 27 2006 04:40 EDT
- Tools are different, too by Thomas M??der on October 27 2006 03:54 EDT
- Re: Yes/No by James Watson on October 27 2006 09:55 EDT
-
Re: Yes/No by Geir Magnusson Jr on October 26 2006 08:03 EDT
-
Re: Yes/No by Steve Zara on October 26 2006 08:18 EDT
- How about HDK, Geir? by George Korosy on October 26 2006 18:42 EDT
- Re: How about HDK, Geir? by Geir Magnusson Jr on October 26 2006 08:05 EDT
- Yes/No by Dmitry Gusev on October 26 2006 06:11 EDT
- Re: Two Questions About the Term "JDK" by Stefan Schubert on October 25 2006 12:30 EDT
- Re: Two Questions About the Term "JDK" by Steve Zara on October 25 2006 12:38 EDT
- Re: Two Questions About the Term "JDK" by Dave Sims on October 25 2006 12:44 EDT
- yes to both, with a comment by Denis Robert on October 25 2006 12:48 EDT
- Oh I forgot by Denis Robert on October 25 2006 12:48 EDT
- Re: Two Questions About the Term "JDK" by Attila Szegedi on October 25 2006 12:57 EDT
- Re: Two Questions About the Term "JDK" by Geir Magnusson Jr on October 25 2006 13:01 EDT
-
Re: Two Questions About the Term "JDK" by James Watson on October 25 2006 01:54 EDT
-
Re: Two Questions About the Term "JDK" by Geir Magnusson Jr on October 25 2006 02:53 EDT
-
Re: Two Questions About the Term "JDK" by James Watson on October 25 2006 05:47 EDT
- Re: Two Questions About the Term "JDK" by arjan tijms on October 25 2006 06:03 EDT
-
Re: Two Questions About the Term "JDK" by Geir Magnusson Jr on October 25 2006 06:03 EDT
- Re: Two Questions About the Term "JDK" by James Watson on October 26 2006 11:37 EDT
-
Re: Two Questions About the Term "JDK" by James Watson on October 25 2006 05:47 EDT
-
Re: Two Questions About the Term "JDK" by Geir Magnusson Jr on October 25 2006 02:53 EDT
-
Re: Two Questions About the Term "JDK" by James Watson on October 25 2006 01:54 EDT
- Re: Two Questions About the Term "JDK" by Geir Magnusson Jr on October 25 2006 13:01 EDT
- Re: Two Questions About the Term "JDK" by Arne Vajh??j on October 25 2006 21:02 EDT
- Re: Two Questions About the Term "JDK" by Kit Davies on October 26 2006 05:11 EDT
- terms by club stork on February 01 2013 01:47 EST
- term by matt coleman on February 04 2013 01:12 EST
-
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: Maris Orbidans
- Posted on: October 25 2006 10:46 EDT
- in response to Geir Magnusson Jr
1 - yes 2 - yes -
Yes/No[ Go to top ]
- Posted by: Dmitry Gusev
- Posted on: October 26 2006 06:11 EDT
- in response to Maris Orbidans
Yes. But to be more precise, JDK is JRE + JavaC/JavaP for me (I don't use other tools (directly, say, from console), but I guess my IDE use them) No. Why should I think of other verdors if there is Sun? The JDK is free of charge, thats enought to me. I don't meet any other reasons except the price/availability/stability. Sun can give me that. Why would I (a regular developer) use IBM's or BEA's JDKs? -
Re: Yes/No[ Go to top ]
- Posted by: Steve Zara
- Posted on: October 26 2006 08:18 EDT
- in response to Dmitry Gusev
Why would I (a regular developer) use IBM's or BEA's JDKs?
Different JVMs have different properties. I don't know if this is still the case, but IBM's VMs used to have much better performance than Sun's in some cases, so when I was looking at numeric work, I would use IBM's product. -
Re: Yes/No[ Go to top ]
- Posted by: Geir Magnusson Jr
- Posted on: October 26 2006 20:03 EDT
- in response to Steve Zara
Why only numeric? Don't you want your other stuff to be fast too? :)Why would I (a regular developer) use IBM's or BEA's JDKs?
Different JVMs have different properties. I don't know if this is still the case, but IBM's VMs used to have much better performance than Sun's in some cases, so when I was looking at numeric work, I would use IBM's product. -
Re: Yes/No[ Go to top ]
- Posted by: Steve Zara
- Posted on: October 27 2006 04:40 EDT
- in response to Geir Magnusson Jr
Well, at the time (years ago) IBM's JDK lagged behind Sun's. I wanted 1.4.x features, but IBM was at 1.3..Why would I (a regular developer) use IBM's or BEA's JDKs?
Different JVMs have different properties. I don't know if this is still the case, but IBM's VMs used to have much better performance than Sun's in some cases, so when I was looking at numeric work, I would use IBM's product.
Why only numeric? Don't you want your other stuff to be fast too? :) -
Tools are different, too[ Go to top ]
- Posted by: Thomas M??der
- Posted on: October 27 2006 03:54 EDT
- in response to Steve Zara
Don't forget that the IBM VM is based on J9, so in principle, you get all kinds of fancy stuff like JXE files (a kind of prelinked jars which can just be mem-mapped, allowing way faster class load), ahead of time compilation (AOT), hot code replacement beyond what Sun does, etc.etc... -
Re: Yes/No[ Go to top ]
- Posted by: James Watson
- Posted on: October 27 2006 09:55 EDT
- in response to Steve Zara
The section you quoted is asking about a JDK and you respond about the JVM. It doesn't have anything to do with the question.Why would I (a regular developer) use IBM's or BEA's JDKs?
Different JVMs have different properties. I don't know if this is still the case, but IBM's VMs used to have much better performance than Sun's in some cases, so when I was looking at numeric work, I would use IBM's product. -
How about HDK, Geir?[ Go to top ]
- Posted by: George Korosy
- Posted on: October 26 2006 18:42 EDT
- in response to Maris Orbidans
In addition to noted JDK vendors, I am looking forward the running Apache Symphony runtime + developer kit. How's that progressing? George -
Re: How about HDK, Geir?[ Go to top ]
- Posted by: Geir Magnusson Jr
- Posted on: October 26 2006 20:05 EDT
- in response to George Korosy
George :In addition to noted JDK vendors, I am looking forward the running Apache Symphony runtime + developer kit. How's that progressing?
"Harmony"... Apache Harmony :) It's going well. We do have something called an "HDK", but that's actually a development kit for working in Harmony itself, as it makes it easy to just checkout one module in the classlibrary and work with that. Stay tuned :) geir
George -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: Stefan Schubert
- Posted on: October 25 2006 12:30 EDT
- in response to Geir Magnusson Jr
Yes and No. -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: Steve Zara
- Posted on: October 25 2006 12:38 EDT
- in response to Geir Magnusson Jr
Yes, and yes. (2) is very important for me. -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: Dave Sims
- Posted on: October 25 2006 12:44 EDT
- in response to Geir Magnusson Jr
1. Yes. 2. No, I don't expect it. I only expect to get a JDK from Sun. That being said, it's a nice bonus if I can get a JDK for my Mac. -
yes to both, with a comment[ Go to top ]
- Posted by: Denis Robert
- Posted on: October 25 2006 12:48 EDT
- in response to Geir Magnusson Jr
You can get a JDK from a few vendors; currently only those licensed by Sun. Once the JDK is completely opensourced next year, you should be able to get a fully open JDK as well (as long as Sun doesn't overcharge for the TCK...) The vendors I know of who have a licensed JDK, in addition to Sun, are IBM and BEA. -
Oh I forgot[ Go to top ]
- Posted by: Denis Robert
- Posted on: October 25 2006 12:48 EDT
- in response to Denis Robert
Apple. -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: Attila Szegedi
- Posted on: October 25 2006 12:57 EDT
- in response to Geir Magnusson Jr
1. Probably. I often use the expressions "Sun JRE" and "IBM JRE" since it's the current reality in the world that there's more than one widespread JRE. However, I typically only use Sun JDK for development, so I don't feel the need to qualify it with vendor name. OTOH, if other vendors would ship a JDK equivalent -- complete with rt.jar compiled with debug info + source of classes + java compiler -- I'd expect it should be allowed to be called "IBM JDK" or "FooBar JDK". 2. While I don't really expect it, I'd definitely say vendors should be allowed to create a full JDK. The question of course is what goal would a vendor possibly have with its own JDK? Please don't say "compiling for proprietary extensions in their own JRE" :-) -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: Geir Magnusson Jr
- Posted on: October 25 2006 13:01 EDT
- in response to Attila Szegedi
1. Probably. I often use the expressions "Sun JRE" and "IBM JRE" since it's the current reality in the world that there's more than one widespread JRE. However, I typically only use Sun JDK for development, so I don't feel the need to qualify it with vendor name. OTOH, if other vendors would ship a JDK equivalent -- complete with rt.jar compiled with debug info + source of classes + java compiler -- I'd expect it should be allowed to be called "IBM JDK" or "FooBar JDK".
Completeness - Get the JDK from the vendor that you get your JRE, so you can compile and test on the same JRE that you deploy to in production.
2. While I don't really expect it, I'd definitely say vendors should be allowed to create a full JDK. The question of course is what goal would a vendor possibly have with its own JDK? Please don't say "compiling for proprietary extensions in their own JRE" :-) -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: James Watson
- Posted on: October 25 2006 13:54 EDT
- in response to Geir Magnusson Jr
Get the JDK from the vendor that you get your JRE, so you can compile and test on the same JRE that you deploy to in production.
If you don't have a JDK from the vendor, you would not be compiling with it, production or otherwise. Why wouldn't you be able to test on a JRE? -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: Geir Magnusson Jr
- Posted on: October 25 2006 14:53 EDT
- in response to James Watson
Sorry - I wasn't clear. What I meant was that if you are developing software, and suppose your production JRE is JRockit, you'd probably like to have a JRockit-based JDK on the machine you develop on...Get the JDK from the vendor that you get your JRE, so you can compile and test on the same JRE that you deploy to in production.
If you don't have a JDK from the vendor, you would not be compiling with it, production or otherwise.
Why wouldn't you be able to test on a JRE? -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: James Watson
- Posted on: October 25 2006 17:47 EDT
- in response to Geir Magnusson Jr
Is it going to compile the code differently? It seems to me the important thing is that your testing be against the JRockit JRE. I guess I agree with your basic premise, though. In most cases I would prefer to have the JDK at least approved by the vendor even though it goes against the Java ethos.Get the JDK from the vendor that you get your JRE, so you can compile and test on the same JRE that you deploy to in production.
If you don't have a JDK from the vendor, you would not be compiling with it, production or otherwise.
Why wouldn't you be able to test on a JRE?
Sorry - I wasn't clear. What I meant was that if you are developing software, and suppose your production JRE is JRockit, you'd probably like to have a JRockit-based JDK on the machine you develop on... -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: arjan tijms
- Posted on: October 25 2006 18:03 EDT
- in response to James Watson
Is it going to compile the code differently?
Actually, Java compilers don't perform a lot of work at all. The optimize switches have been deprecated for ages (are a no-op in all current java compilers) and optimizations are left to the JIT compiler, which means the runtime environment. So, there is not really a lot of room for Java compilers to do things really differently. -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: Geir Magnusson Jr
- Posted on: October 25 2006 18:03 EDT
- in response to James Watson
Well, people choose JDKs for all sorts of reasons, such as performance, stability under their workloads, fancy GC, whatever. I'm familiar with people choosing a VM and sticking with it. Of course, you can get the JDK from Sun, and your JRE of choice, and install both. Seems like a PITA though. geirGet the JDK from the vendor that you get your JRE, so you can compile and test on the same JRE that you deploy to in production.
If you don't have a JDK from the vendor, you would not be compiling with it, production or otherwise.
Why wouldn't you be able to test on a JRE?
Sorry - I wasn't clear. What I meant was that if you are developing software, and suppose your production JRE is JRockit, you'd probably like to have a JRockit-based JDK on the machine you develop on...
Is it going to compile the code differently? It seems to me the important thing is that your testing be against the JRockit JRE. I guess I agree with your basic premise, though. In most cases I would prefer to have the JDK at least approved by the vendor even though it goes against the Java ethos. -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: James Watson
- Posted on: October 26 2006 11:37 EDT
- in response to Geir Magnusson Jr
Well, people choose JDKs for all sorts of reasons, such as performance, stability under their workloads, fancy GC, whatever. I'm familiar with people choosing a VM and sticking with it.
This is where you are losing me. The VM is associated with the JRE, not the JDK. GC is defined by the JRE. The compiler and associated tools are what your JDK defines.Of course, you can get the JDK from Sun, and your JRE of choice, and install both.
I can't imagine there are a significant number of Java developers that don't have at least one Sun JDK installed. I usually have 6 or so JDKs on a given machine.
Seems like a PITA though. -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: Arne Vajh??j
- Posted on: October 25 2006 21:02 EDT
- in response to Geir Magnusson Jr
yes yes -
Re: Two Questions About the Term "JDK"[ Go to top ]
- Posted by: Kit Davies
- Posted on: October 26 2006 05:11 EDT
- in response to Geir Magnusson Jr
Interesting. Why do you ask (if I may be so bold)? -
terms[ Go to top ]
- Posted by: club stork
- Posted on: February 01 2013 01:47 EST
- in response to Geir Magnusson Jr
so many terms so little time
-
term[ Go to top ]
- Posted by: matt coleman
- Posted on: February 04 2013 01:12 EST
- in response to Geir Magnusson Jr
i do use the term to describe JRE + tools