Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

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.
 
A day job? In an office? My worst nightmare! Comfort me tiny ad!
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic