SDK, JDK, JRE,
Hi everyone,
I'm very very new to Java etc. I want to learn JSP/Servlets.
Now I see I need to install software, I see things as SDK, JDK, JRE what is this all? What do I need?
I tried to find the info but there is so much information I'm not sure what I'm looking at. So I thought if there is any expert here that can clearly explain what the difference is between SDK, JDK, JRE.
Thank you very much!!
Regards,
Steven.
JDK: When you download Java, you will get a couple of tools: the compiler, a tool to generate documentation, a tool to change security settings and a tool to run compiled Java programs (class files). All of these tools bundled together is called the Java Development Kit (JDK). If you want to create your own Java program, this is what you need. Later we will show you where you can get the JDK, and how you should use it.
SDK: Since the introduction of JDK version 1.2, a different name is used for the Java Development Kit: Java 2 Software Development Kit (SDK).
JRE: The Java Runtime Environment (JRE) is part of the JDK. It contains only those tools that are needed to run java programs. It does not contain the compiler. Therefore it is a lot smaller than the JDK. If you develop a Java program for someone else, you are allowed to give him the program and the JRE so he can run your program. Officially you are not allowed to distribute the JDK, but anyone can download it freely from internet. The JRE for Windows also contains the Java plugin.
from: http://www.win.tue.nl/~marko/java/
To get Java set up, follow the tutorial "First Cup of Java":
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/
Similar Messages
-
Difference between JDK , JRE J2EE
Hi
Would anybody just show the difference between JDK , JRE , J2EE , and J2RE
Thanks alotJDK - Java SDK from Sun
JRE - Java Runtime Environment
J2EE - Java 2 Enterprise Edition
Basically, JDK is J2SE, Java Standard Edition. You need this to develop and to compile standard Java software. JRE allows only execution without any special components. J2EE is extension to J2SE. It contains Business or Enterprise components like Java Beans. -
Memory problem with jdk/jre 1.1.8
My name is BERGMANN Yannick.
I'm working for IRM in Li?ge and we developped an application (user interface for an industrial measurement system) in Java (JDK/JRE version : 1.1.8).
We have a big memory problem with this application :
- This user interface is running on a WINDOWS NT PC with 128MB.
- This is the command to lanch our application :
C:\Program Files\JavaSoft\JRE\1.1\bin\jrew.exe" -ms32m -mx32m -cp "\Program Files\HMI\HMI.zip;\Velocis\Add_On\Jdbc\raima.jar;\Program Files\Swing-1.1.1\swingall.jar" be.irm.hmi.kernel.HMI -t15 -d"Velocis rdstcp" -newdb -mf1m -mr20
- When our application is running, everything seems to be OK in memory for it. The garbage collector seems to work properly and our application has always at least 5MB free memory (We use the java instruction "Runtime.getRuntime().freeMemory()" to know this).
- But when we look in the "Windows NT task manager" for the "jrew" application, the memory increases ALWAYS.
- After 5 days our application is completely frozen and blocked ...???
- here is a memory map of our Windows NT PC :
"jre.exe" "commit total" "commit limit" "commit peak" "physical total" "physical available" "physical file cache"
Monday 92264 109256 194944 109424 130484 19492 6216
Thuesday 106196 123072 194944 123348 130484 6072 5840
Wednesday 110836 132288 194944 132416 130484 4408 5140
Thursday 108200 144980 194944 145140 130484 4888 5148
Friday 109440 158319 194944 161334 130484 4911 4992
Monday 111600 209060 228548 209148 130484 5184 3484
Have you any idea of what is happening with "jrew" in memory ?
We have had this problem for six month and we are totaly out of idea.
If you can give us any idea, we'll appreciate a lot.
Thanks in advance,
BERGMANN Yannick
IRM SA - Software Engineer
Tel. (32)4/239.90.10
Tel. (32)4/239.90.74 (direct)
Fax (32)4/263.40.97
E-mail [email protected]We had a memory problem with a swing applet in our company. The major reason for this was that we added new components in a JTree and removed them later again, and the components we removed were never garbage collected. This was because with these components we added different listeners, and we didn't remove the listeners after we didn't need the components anymore. After we corrected this, the components where garbage collected.
Perhaps it's a similar problem you have, or I have no idea. Check that you remove actionlisteners, mouselisteners etc from components you want to be garbage collected.
You could also test your application with OptimizeIt to see what objects you create and how many you get of them over time: http://www.vmgear.com -
Error in writing to file '$ORACLE_HOME/jdk/jre/bin/java'
Hi,
I have installed Forms & Reports Services Standalone (10.1.2.0.2) on RHEL 5 and now I am applying the Oracle Application Server 10g Release 2, Patch Set 3 (10.1.2.3), but OUI gives the following error:
Error in writing to file '$ORACLE_HOME/jdk/jre/bin/java'.
[$ORACLE_HOME/jdk/jre/bin/java
(Text file busy)]
I can't seem to find anything about this error on metalink or via google. Can anyone help me solve this? Thanks.Ok, this time I stopped all processes first with opmnctl stopall and emctl stop iasconsole. I then started OUI again to install the patch. It seemed to go fine - i didnt get that java error this time, but another error almost at the end of the installation:
Error in invoking target 'proxy_install runm_install server_install cgi_install
cli_install conv_install qv_install' of makefile
'/opt/oracle/Forms10gR2/reports/lib/ins_reports.mk'
According to Metalink ID 564174.1 - "Any installation of Oracle Application Server 10g Release 2 (10.1.2.0.2) on OEL 5.x or RHEL 5.x in which Reports is getting installed will fail with reports relinking errors" and the solution is as follows:
# rpm -i xorg-x11-libs-compat-6.8.2-1.EL.33.0.1.i386.rpm
# mv /usr/lib/libXtst.so.6 /usr/lib/libXtst.so.6.ORG
# ln -s /usr/X11R6/lib/libXtst.so.6 /usr/lib/libXtst.so.6
I have already done these 3 steps before the base installation (just to avoid this error), yet I am getting this error even when the symbolic link already exists. Do you think I can just ignore this error and continue with the installation, or is there something else I need to check first? -
JDK/JRE Version support for Oracle Lite
Hi,
We have developed an application using jdk 1.4.x which also using Oracle9i Lite 5.0.2 release as a database. Application behaves normal except while closing it throws java exception (Exceptio Guard Page Exception) error.
Is it because of the JDK Version we are using? What is the JDK/JRE version level supported by Oracle Lite.
Thanks
KrishnaRight
I got the same problem too.
When my program and oracle 9i lite is running under JRE1.3.1, everything is ok.
However, when i migrate the jre to 1.4.x, the program must fail and report DLL exception after closing.
So trouble~! -
Iwcadmin error with JDK/JRE version
hi,
I encountered this problem when executing iwcadmin utility ./iwcadmin -V in SJM on Sun Solaris , an error prompt displays "
Java runtime at /opt/ca/sharedutils/JRE/1.4.2_09 is below minimum requirement of 1.5.0
Please make sure the Java runtime at standard location meets the
minimum requirement, or set JAVA_HOME to point to an installation that does.
here is the OS and other JDK / JRE path available in the system.
other jdk5 : /usr/jdk/jdk1.5.0_16/ or jre5 /usr/jdk/jdk1.5.0_16/jre
uname -srv
SunOS 5.10 Generic_137137-09
How can I make it use the jdk5/jre5 or at least temporarily during my user session?Not sure which shell you are using but ....
CSH: set JAVA_HOME=/usr/jdk/jdk1.5.0_16
KSH or BASH: export JAVA_HOME=/usr/jdk/jdk1.5.0_16
then just invoke "iwcadmin" -
Which JDK/JRE is the best for 8i?
After seeing so many people having problems with 8i I
would like to ask what version of JDK/JRE works best??
Thanks
Lynx
nullOh that! I forgot that there were problems with the 1.1.6 revs
and glibc2.1! Thanks for the info.
Have people been succesful with 1.1.7???
Keehan
Thorsten Heit (guest) wrote:
: Keehan (guest) wrote:
: : Just wondering peoples various experiences have been with
: : different versions of the JDKs/JREs? Why would you say that
: : 1.1.7 v 3 would be better other than the obvious fact that it
: is
: : a more current rev?? Thanks for your time and thoughts!
: The problem is that earlier versions of the JDK/JRE don't work
: on RH6 because RH6 uses the glibc-2.1 that isn't directly
: compatible to the glibc-2.0 :-(
null -
Oracle universal installer asking JDK/JRE location
hi,
i am trying to open the Oracle universal installer in Linux but it is asking to specify the JDK/JRE location.
it gives me a prompt to enter the above,
the prompt is,
Please specify JDK/JRE Location (e.g. /home/jre), <location>/bin/java should exist:
please help.
thanks,What do you expect to get from the installation of Oracle Fusion? Oracle Fusion Application is a collection of software, and each software has its own instructions to download/install.
http://www.oracle.com/us/products/applications/fusion/index.html
http://becomeappsdba.blogspot.com/2007/02/is-oracle-fusion-really-confusion.html
do i need to install fusion middleware seprately first before installing fusion apps?
i thought fusion apps would include everything including middleware, DB etc.Yes -- If you want to install Oracle Fusion, you have to install the Database first then Oracle Fusion Middleware.
Thanks,
Hussein -
Is it possible to retrieve list of available JDK/JRE in java(swing) application ?
Hi There,
Right, there is no prebuilt method available. But, if you want you can have a look at registry key
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
You will get all the required information.
Hope it helps
Ashish -
JDK/JRE release announcement list?
I've looked high and low, but cannot find anywhere that is a definitive e-mail release announcement distribution point for the JDK/JRE (announcements only, not a bunch of additional "newsletter" content). [email protected] doesn't have such a list, and I can't find something similar on SDN or via searching java.sun.com.
Am I simply overlooking something?Hi There,
Right, there is no prebuilt method available. But, if you want you can have a look at registry key
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment
You will get all the required information.
Hope it helps
Ashish -
What are these two things. I have installed java and it works but I don't know what I have installed. I am confused about wht SDK and JRE are.
Thanks,Hi
Well...SDK stands for Software Development Kit
and JRE stands for Java Runtime Environment.......
so the JRE is part of the SDK......
SDK contains for instance the java API, the compilers and the applet viewer
JRE contains the virtual machine needed to run java code
Enough info yet???? otherwise...look around at the SUN : ) -
Diffrence among JDK,JRE,JVM
Dear All,
Please tell me the diffrence among JDK,JRE,JVMhttp://www.jguru.com/faq/view.jsp?EID=46223
-
What's the difference between sdk & jdk?
What's the difference between sdk & jdk?Can an sdk compile any java file?
Oh OK.Are the setup procedures the same as in jdk?How do you use it with your java editor,once installed??Thanx again!
Aesh83 -
Difference between JDK/JRE
Guys,
I need to know the difference between JDK and JRE? When should one use JDK and when one should use JRE. What is the advantages/disadvantages of using one over other.
Cheers,Shutt up guys... one person is to know some thing about JDK/JRE, and you.....
Any way
Hi tnischal!
Your question was about JDK/JRE
JDK = Java Development Kit
JRE = Java Runtime Environment
JRE is a comolete Setup of J2sdk1.4.1(LatestVersion of JDK(1.4.1) with other requirements to use this version included JDK1.4.1,JavaWebStart,SunJVM,Java2PlatForm, and all other needs for it.
while JDK is only the Software Development Kit. Previous versions of JDK than V1.4.1 did not need the all Runtime Environment for JDK, You just copy the JDK Folder in your machine and use it
But you can't use JDK1.4.1(fully) without other requirements of use it.
Hope you got the difference now. -
What is the difference between jdk,jre,jvm?
hai friends
i am new to java,
can any body send the answer to this question
what is the difference between jdk, jre, jvm?You know, you can search the Internet using google:
http://www.google.com
Type in What is the JVM? You'll be amazed at the results!!
Maybe you are looking for
-
Cannot resolve symbol error even with class imported
Hi I'm trying to print out a java.version system property but keep getting a cannot resolve symbol error symbol: class getProperty location: class java.lang.System I've looked at the API and getProperty() is a method of lang.System Can anyone throw a
-
Attach Library in 6i release 2
Hi I have a system that contains 1000 forms. They attached PL/SQL library with Developer Forms 6.0 using relative path I mean: For example: if form A is in C:\Developer\forms\A.fmb if library B is in C:\Developer\plsql\B.plx Then in the attached libr
-
I have upgraded from Windows XP to Windows 7 and am no longer able to email photographs from Elements 10. I need a verification code and have requested this several times. I have looked in the spam but nothing has arrived.Thanks you.
-
Hi! I do need help, guys. Seriously. I have a brand new MacBook Air and love it. Sadly, I couldn't get it connected to the Internet. My network is like this: Telephone service provider ------- Modem ------- Dlink router ------- PC Th
-
Planning to Essbase Refresh using Appscheduler.exe
Hi, I am having trouble when i run a planning to essbase refresh manually. The error I get is: "Error 16; <windows_id> 04/27/09 16:35:09; AppScheduler; ScheduleApplication; 46: Unable to get Server Name - <Servername>Permission denied Application Nam