Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Java is a platform independent. But, Why do the apps written in java run only on android?

  1. #1
    Junior Member
    Join Date
    Apr 2021
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Java is a platform independent. But, Why do the apps written in java run only on android?

    I remember studying in core java that I read that one of the features of java is that it is platform-independent.

    Reference: https://www.interviewbit.com/blog/features-of-java/

    Now I am researching on android development, android apps are developed using core java. Then why is it that those apps are not supported in Windowsphone or ios?

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: Java is a platform independent. But, Why do the apps written in java run only on android?

    Then why is it that those apps are not supported in Windowsphone or ios?
    The apk files have Android dependencies.
    I don't know that there is a JVM that runs on an Android device. A JVM is required to run java programs.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Why is Java a platform independent language?
    By ambee21 in forum Java Theory & Questions
    Replies: 2
    Last Post: April 13th, 2024, 04:02 AM
  2. Why Java is platform independent?
    By Akshita Sharma in forum The Cafe
    Replies: 0
    Last Post: April 18th, 2020, 01:17 PM
  3. Replies: 0
    Last Post: April 10th, 2014, 03:03 PM
  4. Java platform independent? Looks like a myth.
    By ask in forum Java Theory & Questions
    Replies: 16
    Last Post: August 11th, 2012, 05:58 PM
  5. Why java is platform independent(Video)
    By jessie143143 in forum The Cafe
    Replies: 5
    Last Post: April 28th, 2012, 01:59 AM

Tags for this Thread