Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Without JRE

 
Sameera Abeysinghe
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • 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
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
  • 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
  • Quote
  • Report post to moderator
Do you mean can you build Apache using Java? The answer is no.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic