+ 12

Can I use java programme in various operating systems?

Can I use java developed software in android, ios and symbian operating system.? Please help me.

20th Dec 2016, 7:20 AM
Sandeep Thakur
Sandeep Thakur - avatar
15 Antworten
+ 5
i think it works only on java oriented operating system. Am I right.
20th Dec 2016, 7:21 AM
Sandeep Thakur
Sandeep Thakur - avatar
+ 13
There is no such thing as a Java oriented operating system. Java compiles to Java Bytecode, which runs on the JVM (Java Virtual Machine). So Java will run on any OS that has the JVM installed. Android is different, however, it has its own version of the JVM, called the Dalvik Virtual Machine
20th Dec 2016, 7:51 AM
Gabe Rust
Gabe Rust - avatar
+ 3
Java has what's known as the Java Virtual Machine. When Java code compiles, it is turned into what's called byte code. The Virtual Machine reads this code. The virtual machine can be installed on many different operating systems. The virtual machine also converts the byte code into something the operating system can read and run, which is a major strong point of Java. The same code you wrote on a Windows machine can be compiled and run on a Mac, a Linux machine, or any other operating system for which a Java Virtual Machine exists.
22nd Dec 2016, 1:50 AM
Ashton Durrant
Ashton Durrant - avatar
+ 3
I'd further add to Igor Sobot's post: whenever somebody is talking about Oracle JDK or OpenJDK consider these two as separate things. OpenJDK was developed as fork from (or as an implementation of) Java SE (Standard Edition) and the goal was to make it conform with the GPL license. The important thing to remember is that these two JDKs are not always interchangeable! This is due to trying to keep OpenJDK FOSS compliant (Free and Open Source Software) and its development also usually lags behind Oracle JDK. In a Linux based OS OpenJDK can usually be installed easily from the distributions software repository, with Microsoft and iOS you would be using Oracle JDK instead.
22nd Dec 2016, 9:40 AM
Erno Isokangas
Erno Isokangas - avatar
+ 2
Gabe is right. Java compiles to bytecode which runs everywhere with virtual machine which runs it. the program is platform independent. it runs on almost all operating systms
20th Dec 2016, 11:56 AM
Sandeep Chatterjee
+ 2
I would add to Gabe's answer. To be able to use JVM you need JRE ( Java Runtime Environment ) or JDK ( Java Development Kit) which include JRE. There are many implementations and the most coomon is Oracle JDK and Open JDK. For example, I have CentOS Linux, i would go to Oracle website and search for Java Linux x86 (http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html)
20th Dec 2016, 12:24 PM
Majstor_Gile
Majstor_Gile - avatar
+ 2
Yes. I've personally run it on Windows, Ubuntu(Linux) and Mac. Runs fine. So yeah, you can practically run it on any OS
21st Dec 2016, 2:57 PM
Caffeinated Gamer YT
Caffeinated Gamer YT - avatar
+ 2
Java is Platform independet.This says it all.It can run on any operating system because it compiles to bytecode which then runs on a Virtual machine.
21st Dec 2016, 8:46 PM
Wendo J.
Wendo J. - avatar
+ 2
Yes you can
22nd Dec 2016, 1:56 PM
Gēoffrey Eng Åtkinson
Gēoffrey Eng Åtkinson - avatar
+ 1
yes java is platform independent, only thing u need is java virtual machine(jvm) to run it,u can developed android apps in java , to make ios apps u need to learn objective c or swift.
21st Dec 2016, 6:35 PM
Amit Kala
Amit Kala - avatar
+ 1
it's an open source language . still java compiler compiles the code into java bytecode which can be executed by JVM Java Virtual Machine . So any os with JVM installed you can run the java program
22nd Dec 2016, 3:44 PM
rahul chauhan
rahul chauhan - avatar
+ 1
java not depending on operating system but on JVM java virtual machine . and you can instaling JVM on windows and lunix and mac . so yeeees java is multiplatform.
22nd Dec 2016, 10:31 PM
Ali Abd Alftah Fadul Mohammed
Ali Abd Alftah Fadul Mohammed - avatar
0
It's an open source language.I think u got it.
21st Dec 2016, 8:10 PM
saad bin islam
saad bin islam - avatar
0
yes u can use java program in any os
22nd Dec 2016, 12:33 PM
Palash Varshney
Palash Varshney - avatar
0
android app can run on android studio by google on any operating system like windows ,linux etc
22nd Dec 2016, 4:38 PM
abdullah shahid
abdullah shahid - avatar