0% found this document useful (0 votes)
7 views12 pages

Unit 1 Java

Uploaded by

Mridul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views12 pages

Unit 1 Java

Uploaded by

Mridul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

tndepeuct Patfoh

wakes, .3t Lbyteclass


TBM MLE
eytacloss
iuuy +2
TVM. javo a0d. dyel High
t. |Platfonum dependut. PlatfomM
potable Moac Pontable .(ess
slower FasteA
ibrasu class Tava Teupelale Staudacd
Bupponted.
Aiuchone vintual
ale Tareadinq
aud
Same
handling, Encoptional
Supportedl
uppont wot ovGloading
Do Opalao
iuuoutaci Quliitaue
pl Suppor uot "Do
Mltple Supports
Supported.
uot aueoivtesis supperhd. ase-foitens
callectto) ewn Nouual
hoibage Aulowatc Gheuesic
panudal,
oieuted. Ohisst oieutecd,.
age-Qutenpreked Language CompiludOhcct
Tava Ctt
Tava, Ovevieu
of
Uuit-1
Dta
Date

Page No

8.
you uttd to have TVM Sppoiug yous haue
touple Tava prgram you Ceed to
| lo
coupaible TVM fo e nos,peetive OS.
2.Chaoacteictec of Tavaq:
CiTan alkce uehng, cowpiug auo debug
casy.
fgaumug
cs tceate rousabe code.

) Tava cpplicaious aue cowpiltd to oyte code


TUM.
()u 1995 TaVa divelapeod by Taues

" Pltfom indepevoltututepoehed

" Arroitoctue Neutral


"Dyuaumie.
"Portabu
-Robust
Muihureade

Compilaiou Proce cs, AEmoeuton Porocss


Souce t
Couple Class Loode
8bits= loytetoodty tuo iLgn
Butecode/Buto
feso
Output
Data

Baie tmpoucuts of Taugi


TKE, TDK,TVM

3. TVM
albstract macline
Ki) TVM provicles uyue euvinouwictin ulicy
ayteeodc can bc cmceutod,

(iv) 3t uis _an inpleueutotion kuoun as TRE


(v)Ruutimcimstanco 2MevesHu uuite Taya
oieuevedt

to m Taya clas, An iuatance

At loade code.
Porfom VeuPicalton
Eneute He ode
Poovide mntie euinouweut.

-NVM a n c i t t e
,eLosysou aud.
TVM u tue comeof Hie fava
wake t possibl for Jaya based oPuare

Tava uacowbiuatou f boty coupiled aud


iuteerpaekod. ta anguage teeiq ue
Tawa code:iy fingt cO wpilad iuto byte code
gutral, a class le, wi_ dass.ie is Hacy
iuctespctod bH TVM.
Dete

Fage Na.

e came clac Al ca be emecuted o au


VOsLelon af TUM uuiug ou platfo
Covsiste o Hasue o'ictact coupouius
1) Aasg Loacdes
2)Runtwe weomy
2) Emeeutou "eugiue
lase oades
LoadiygLukiua luitialzaHo

Run tiwe Meom


Stack Pe TNative
Area Area Raqictoe MOuod

eonceutom euglue Natve


Metod KMetod
teprcto TIT
coupilesollecHoy huteta
19ChosrkoadesOwee'jaua Pilerit cowpitec
tdhreoweuteo iuto byte code
as a .class Plo.

Hue cla loaduiLoode ituto iewain

wethod.
Date

Page a

Leoding Linkivq tuitia'2atoy


19iHalinel

eçau
Pppliaou C.t Rcralue

Looding: Taking ttie byte code of o lacs or


iwtenfae with a pautteulas vaue,
Hae origiual lase
pitelacefoom tiat
3Pouilt iu L
(O) Bootstoap C-L! "ALso kuou

at is tie kpuclass of emtueioy


lasoodes
Loads Huce atandad Tava package
Uke Taun.Aaug,Tava.uty Taye.uH
Dnd e0 ou
oTuege packages asce pocseut iut
loao classeg Prrovm He k
(b) eontension CiL:
Cvatensiamsdioecho
Aeeicatou Cl:Tus cl as.load Loado
c)
classpath
"e can set classpat uile
iwching a psobla
class-lp ado.
Eo94ioeads+ine*
la
data wes o
ed. stacht Malwe
Ce)Matvewcatio
oack
t addocse
of Shone aistos (d)PC
cs Huac Createe
8
çwiliic stack ()
VM HUncac Areo:or
asL Staclk
t
al
: ikomatoi Areg: Meap (6)
ace aud wetuode
oed coutouetoe aud Picld
fr ancd data, wetiod
class Anca!
HAU MeBuod (0)
a ovelNel
weut tuie Ruy 24)
No. Page
Dote
Dabe

Paga a

bgleceda liug

Hie eutie bytecede aud ohauges it o


natve code,

Poocess oy wiic Javg progriam pasaforns

cowipile to bytecoda Huat cau bo


TUM.i
wuen ava
20we
lbo ueded.
Tae saebaga colleitor Pud
nd tuese uuueed

J.. Nino or ineiutál Gic: Ureachaloli olbi.


Dete

Puge hio

Sodbom Mode) why ie TVM SOuli

Te sand bom secusitr wodel u am ntrinse


part of Tava acicitacuuc

higjaa paogQM, pnotecte tue host


&uste waieous coce
prom a
ovde resticted utork.
tor vita sytow. esocO,
Deuuulooddiowole toclelapplit), ß uot
MesoecOs provided igidé cnbom
tecnt toe Reuote ede
Trstas
|Sandbom tAppl)
TVM
tuttas
Vauab resoLce
.

Nsideo.

6JRE .34 bi Hieiipuut aHou TVM and is

Ond"ottus iles Hhat vM Úe.


|Lbraies Prrovides ay einou
-weit toeeeeete
otyles
hasduae,
wlatorutesprctr
callcd
as us
tespntler siysaar<tha
its eaela
asystoe
aud caiqunoya trat
eulato: iudesprear
and
lreateNeuAla; t.
En);pitaeello f=hew file
dete) (b)
cateneiufio) (a)
.ava.iofile
smbdymg opeauds upou
atod beyaluss
to
fqug speci opcode be to
ion the
JVM.
ue tystuchion
fo set Hekyteeode
is Tava
LustucHon
Set:
IustoueHioy set
Couetaute (au be pusheo
opatoue Covetaut
tueu foro

tOwtaut poal
Opeeaton.
Brauc hotrueHoug Loupat
Gi) Cotoo) Plour
iutegeus for equalits
2 toy-eotdh
to upoDL
f ustauee ficld cay
iv)Ftetd Acees Vaue

catoy State weod cau bo


() uetod

()Obrect aloatoy
Ruy Hue polywonpitw
8. Copilu tue polimomplim

NOudd duotooding Maaodi'oveidig


Aolieved ayopeaß
ud polutee
"tuhesteuee wuobed
wwolved
JDK Pge

Softusacc
develepeut
Sof uae TVM
ndle uuicly peuovius Hie
kit to deuclee Rluovide Taro
hpplicato.
olsQilorasi psovides

depeudt "ratfor
depeud
dipaded
otai3 toolk coutain
foo develeug clas piles devclopet toctg
dikugging and o y i
4Suppotug
aee ot toluded.

Subset of Subsof JRE

Comes with
nstal .wteromerltoi
Dote

Page No.

Protadueal Mou eroedial


Cat odeakal

deelaug
Step by step
petf wwat as to

Sequeueof bevelapiaa futho


Tustiittoe odaedooHapiuc

data
Swal,

Lou

You might also like