Skip to content
Advertisement

Application Development for Windows and Linux [closed]

Is it possible to create programs in Java and run on both Linux and Windows? What i mean is. is it possible “write once and run everywhere” . If not possible , is it possible to convert program from one platform to another by making minimum modification (ie, windows to Linux and vice versa)? If that not possible, Is it possible to create programs in a particular style which enables the programmer to convert it into , windows platform or to Linux platform Even If this not possible is it possible to create new type of virtual machine system or something make it possible

even if none of the idea works , what is the biggest barrier? why it is not possible in a easy manner ?

Advertisement

Answer

Of course you can run java programs on windows an linux, and you can make cross platform programs in java as long as your operating system has the java runtime on it, if not… it won’t run. You don’t need to code different for windows and for linux in java, maybe just some minor adjustments in the program.You really didn’t know that?

Anyway, because of your questions i suppose you are a little kid (i hope i’m not wrong) and my advice to you is that you begin by studing the java basics because your question is too basic… and sincerely, change you attitude, it will be good for you.

Advertisement