Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I heard about it that i can write once and run everywhere using Java.
Is it true? Yes or no?
Posted

1 solution

Yes and no. In theory a well written Java program will run on any system that has a Java VM. In practice it may not always work.
 
Share this answer
 
Comments
Ziya1995 1-Jan-15 5:51am    
So, i can not write a pretty good app on Java to run it on any operation system in the world? It is not worth any time, right?
Richard MacCutchan 1-Jan-15 5:58am    
You can if you are careful to use only pure Java, and nothing that is specific to any particular operating system. But the chances of your app being adopted by every manufacturer of every product in the world is so small that it is not something that need concern you.
Ziya1995 1-Jan-15 6:39am    
In other words the app's quality will be very low, right?
Richard MacCutchan 1-Jan-15 6:53am    
Not at all. The quality of an application is measured by its usefulness and usability. You can create an application that will only run on one single platform which could be considered of the highest quality.
Ziya1995 1-Jan-15 6:57am    
No, you didn't get me, i mean the performance of the app written in pure Java to run on any operation system is very very low in compare to what is written for a single platform using its features.

Right?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900