• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why two jres?

 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

When one installes j2sdk on Win two jres are installed:
one in C:\j2sdk1.4.2_02\jre and one in C:\Program Files\Java\j2re1.4.2_02.

I am just wondering why it is happening like that, why should I need 2 jres for?

Thanks,
Cristian
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You get two configurations for the price of one. Which is free, so it's a pretty good deal. The one under JSDK is part of the developer kit. If you just write code and run it in the JSDK you probably don't need the other.

But you might want to run tests that simulate a customer who only has the bare JRE - the minimal setup for a non-developer to run programs. By mucking about with path & classpath you can launch programs either way.

That's my guess, anyhow. Anybody buy it?
reply
    Bookmark Topic Watch Topic
  • New Topic