manju anandan

Greenhorn
+ Follow
since Apr 05, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by manju anandan

Sun delivers J2SE (Standard edition)in the form of a Software Development Kit (SDK) and an associated Java Runtime Environment (JRE).JRE can be downloaded separately.
SDK, the software development kit has the
1.APIs
2.Tools like Compiler,Debugger,JavaDOc etc
3.JRE
JRE provides the runtime environment to execute java application.Only with JRE istalled, one cannot develop java applications.
JRE has
1.JVM
2.Java Plug-in
3.Security,Locale support,Network info etc.
JVM is the one which loads the byte code (java source code is compiled to byte code) and interprets it to machine code.This machine code is executed.JVM is a part of JRE and hence these two can be used interchangeably
Java Plug-in is a software which directs applets or beans on web pages to use Sun's JRE in lieu of the default VM of the browser
JDK is just a short cut name for SDK
20 years ago
JVM consists of Garbage collector,interpreter,JIT, byte code loader, software for debugging, profiling,error reporting(Forms the runtime) etc.
20 years ago
What is the purpose System.gc() when itcannot force garbage collection.Java 2Std Edition API says "Calling the gc method suggests that the Java Virtual Machine expend effort toward recycling unused objects ".It suggests but doent force.Say the JVM starts garbage collection when this method is called, will it SLOW DOWN THE APPLICATION MEMORY? IF IT SLOWS DOWN THEN WHY SHOULD IT BE CALLED?
UNDER WHAT CONDITIONS SHOULD THIS METHOD BE CALLED.HOW DOES IT HELP THE PROGRAMMER?
20 years ago