• 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

by what we make java application plateform indepandent

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Marshal
Posts: 79153
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic