• Post Reply Bookmark Topic Watch Topic
  • New Topic

by what we make java application plateform indepandent  RSS feed

 
sachins joshi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to know can i make a java application that it run on the plate form where java not installed
 
Campbell Ritchie
Marshal
Posts: 56530
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can run a Java application on any computer with a JRE (Java Runtime Environment) installed (if you have the JDK, then the JRE will be installed together with it).
You can run a Java application on some computers and mobile devices equipped with types of ARM chips with a dedicated Java processor built in.

Otherwise. No.

You can't run a Linux application on a Windows computer without installing some sort of interface, so why should you expect to run a Java program on a non-Java enabled computer?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This seems to mix two different questions:
1) how to write a Java program in a platform-independent way, and
2) how to create in installer that can install a Java program on a machine where Java itself is not installed.

as to #1, Java itself is largely platform-independent. An interesting question would be how to make a pure-Java application behave more like a native application on each OS where it is run. This article talks about how to do that in Swing applications.

as to #2, there are several -mostly commercial- packages that create installers which will download and install Java if it is not there already. InstallAnywhere is the one mentioned most often.
[ June 21, 2006: Message edited by: Ulf Dittmer ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!