• 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

Without JRE

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

Can java run on a pc that don�t have the JRE

Can I run a servlet in a apache server but with out java or dose apache server come with java
What I mean is I do not install java but I have the apache server can I run a servlet
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can java run on a pc that don�t have the JRE
No, although the answer may be 'not really'. Java byte code needs a 'virtual machine' to act as a bridge between the general Java code and the specific machine. Some machines can natively execute Java code, but chances are you don't have one

Can I run a servlet in a apache server but with out java or dose apache server come with java
What I mean is I do not install java but I have the apache server can I run a servlet


No and No. Apache does not run Servlets, it delegates the responsibility to an external servlet container. Tomcat is one example.
 
Sameera Abeysinghe
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a Lot,
now can you tell me how can i change my applet in to servlet. what are the things i need to change , add or delete

do apache server has a build in JRE

[ August 09, 2005: Message edited by: Sameera Abeysinghe ]
[ August 09, 2005: Message edited by: Sameera Abeysinghe ]
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, an applet is not a servlet. Client-side and client-server application have different designs. I'm not sure it is as simple as saying 'tell me the steps for turning A into B', there isn't a recipe.
 
Sameera Abeysinghe
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
do apache server has a build in JRE
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you mean can you build Apache using Java? The answer is no.
 
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic