Diffrence among JDK,JRE,JVM
Dear All,
Please tell me the diffrence among JDK,JRE,JVM
http://www.jguru.com/faq/view.jsp?EID=46223
Similar Messages
-
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!! -
What is the difference between JRE,JVM and JDK?
plz reply me to the following question
(1)what is JRE,JVM and JDK?The JRE is a java distribution for running java programs. It does not contain the development tools needed to compile and debug java programs.
The JDK is a java distribution for both running and developing java programs. In includes the deveopment tools.
The JVM is part of both the JDK and the JRE. It is the 'engine' that executes java bytecodes, performs garbage collection and does just-in-time compilation.
HTH -
What is the diffrence between JDK and Java 2 Runtime Environment Edition ?
The JDK includes development tools such as the javac compiler that allow you to make class files. The JRE includes just the JVM and class libraries that allow you to only run class files.
-
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 -
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/ -
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. -
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.
Maybe you are looking for
-
I found this post on another forum and was interested to know if anyone on here has similar issues, I am thinking of buying this combo "I previously owned the "first generation" of unibody MacBook Pro when it was released back in 2008. I purchased 24
-
Embedded OC4J not starting, not accessible
Hello Oracle folks, I have JDeveloper 9.0.5.2 (1618) and had a Struts project. Trying to lauch it in the embedded OC4J does not work anymore (for my colleagues it works). I tried any combination of re-installs and re-imports of the project from CVS.
-
INST-07525 specified domain cannot be used to configure a BIAPPS system
Hello, I am trying to configure BI APPS 11.1.1.7.1 and i faced a issue in ODI restart step for which i had to cancel the installation. when i am trying to run the installer once again it throws me a error "INST-07525 specified domain cannot be used t
-
I m using iphone 4 in sharjah-UAE. I have a problem in my facetime. i create ID for facetime. I verify it even otherperson can call me but when i receive the call of Facetime then it just show conecting... and after few time it said that u r not avai
-
I know this should be simple, and its probably staring me in the face, but for the life of me, I can't get what I want. I want to be able to set a filter on to a clip(s) that allows me to do a split screen between 2 clips of video, and in the split i