Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Beginning Java and the fly likes platform independency Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "platform independency" Watch "platform independency" New topic
Author

platform independency

Tomendra Singh
Ranch Hand

Joined: Jun 28, 2008
Posts: 47
if i want to run the .class file on linux or other operating system what i have to do for that,does any need of jre or jdk to run .class file.


Strength Is Life,Weakness Is Death- Swamy Vivekanand.
SCJP 5.0(87%)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42289
    
  64
.class files are platform independent, so you can compile them on one platform, and then transfer them elsewhere for running. Of course, you will need to have a JRE installed.


Ping & DNS - my free Android networking tools app
Tomendra Singh
Ranch Hand

Joined: Jun 28, 2008
Posts: 47
thank you ulf.
 
 
subject: platform independency